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
network Protocol
Network protocol of the blockchain (BTC, ETH)
testnet
Indicates if the asset is deployed on testnet or to mainnet
has Fee
Indicates if the asset has a fee
type
Type of the asset (BASE_ASSET, ERC20, ERC721, ERC1155)
base Asset
Base asset of the asset
eth Network
Ethereum network (mainnet, ropsten, rinkeby, kovan)
ech Contract Address
ECH contract address
issuer Address
Issuer address, In case of Stellar or Ripple, the address of the issuer of the token
blockchain Symbol
Symbol of the blockchain
deprecated
Indicates if the asset is deprecated
coin Type
Coin type
blockchain
The blockchain native asset id which the token is deployed on
blockchain Display Name
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)