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
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