AssetRef

sealed class AssetRef

Reference to an on-chain asset.

Native is the chain's native fee token (ETH, ALGO, ADA, BTC, MATIC, …). Token is a fungible token on that chain (ERC-20 contract on EVM, ASA on Algorand, …). OperatorCredit is a synthetic asset that represents off-chain credit with a third-party operator (e.g. an Orb node operator that pays the actual on-chain fee on the domain's behalf and bills off-chain).

Inheritors

Types

Link copied to clipboard
object Native : AssetRef
Link copied to clipboard
data class OperatorCredit(val operatorId: String) : AssetRef
Link copied to clipboard
data class Token(val symbol: String, val contract: String) : AssetRef