Asset

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)

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