Asset

data class Asset(val id: String? = null, val symbol: String? = null, val name: String? = null, val decimals: Int? = null, val networkProtocol: String? = null, val testnet: Boolean? = null, val hasFee: Boolean? = null, val type: String? = null, val baseAsset: String? = null, val ethNetwork: String? = null, val echContractAddress: String? = null, val issuerAddress: String? = null, val blockchainSymbol: String? = null, val deprecated: Boolean? = null, val coinType: Int? = null, val blockchain: String? = null, val blockchainDisplayName: String? = null, val algorithm: Algorithm? = null)

Created by Fireblocks Ltd. on 7/10/2024

Parameters

id

Unique identifier of the asset

symbol

Symbol of the asset

name

Name of the asset

decimals

Number of decimals of the asset

networkProtocol

Network protocol of the blockchain (BTC, ETH)

testnet

Indicates if the asset is deployed on testnet or to mainnet

hasFee

Indicates if the asset has a fee

type

Type of the asset (BASE_ASSET, ERC20, ERC721, ERC1155)

baseAsset

Base asset of the asset

ethNetwork

Ethereum network (mainnet, ropsten, rinkeby, kovan)

echContractAddress

ECH contract address

issuerAddress

Issuer address, In case of Stellar or Ripple, the address of the issuer of the token

blockchainSymbol

Symbol of the blockchain

deprecated

Indicates if the asset is deprecated

coinType

Coin type

blockchain

The blockchain native asset id which the token is deployed on

blockchainDisplayName

The blockchain display name

algorithm

Algorithm

Constructors

Link copied to clipboard
constructor(id: String? = null, symbol: String? = null, name: String? = null, decimals: Int? = null, networkProtocol: String? = null, testnet: Boolean? = null, hasFee: Boolean? = null, type: String? = null, baseAsset: String? = null, ethNetwork: String? = null, echContractAddress: String? = null, issuerAddress: String? = null, blockchainSymbol: String? = null, deprecated: Boolean? = null, coinType: Int? = null, blockchain: String? = null, blockchainDisplayName: String? = null, algorithm: Algorithm? = null)

Properties

Link copied to clipboard
val algorithm: Algorithm? = null
Link copied to clipboard
val baseAsset: String? = null
Link copied to clipboard
val blockchain: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val coinType: Int? = null
Link copied to clipboard
val decimals: Int? = null
Link copied to clipboard
val deprecated: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val ethNetwork: String? = null
Link copied to clipboard
val hasFee: Boolean? = null
Link copied to clipboard
val id: String? = null
Link copied to clipboard
val issuerAddress: String? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val networkProtocol: String? = null
Link copied to clipboard
val symbol: String? = null
Link copied to clipboard
val testnet: Boolean? = null
Link copied to clipboard
val type: String? = null