The tx hash of AssetMintTransaction or AssetTransferTransaction.
The index of output in the transaction.
The specific block number to get the asset from
Asset, if asset exists, Else, returns null.
Gets asset scheme of given hash of AssetMintTransaction.
The tx hash of AssetMintTransaction.
The shard id of Asset Scheme.
The world id of Asset Scheme.
AssetScheme, if asset scheme exists. Else, returns null.
Gets asset scheme of asset type
The type of Asset.
AssetScheme, if asset scheme exists. Else, returns null.
Gets balance of an account of given address, recorded in the block of given blockNumber. If blockNumber is not given, then returns balance recorded in the most recent block.
An account address
The specific block number to get account's balance at given address.
Balance of account at specified block.
Gets number of the latest block.
Number of the latest block.
Gets block hash of given blockNumber.
The block number of which to get the block hash of.
BlockHash, if block exists. Else, returns null.
Gets the network ID of the node.
A network ID, e.g. "tc".
Gets nonce of an account of given address, recorded in the block of given blockNumber. If blockNumber is not given, then returns nonce recorded in the most recent block.
An account address
The specific block number to get account's nonce at given address.
Nonce of account at specified block.
Gets SignedParcel of given hash. Else returns null.
SignedParcel's hash
SignedParcel, or null when SignedParcel was not found.
Gets invoices of given parcel.
The parcel hash of which to get the corresponding parcel of.
Indicating milliseconds to wait the parcel to be confirmed.
List of invoice, or null when no such parcel exists.
Gets pending parcels.
List of SignedParcel, with each parcel has null for blockNumber/blockHash/parcelIndex.
Gets the regular key of an account of given address, recorded in the block of given blockNumber. If blockNumber is not given, then returns the regular key in the most recent block.
An account address
The specific block number to get account's regular key at given address.
The regular key of account at specified block.
Gets a transaction of given hash.
The transaction hash of which to get the corresponding transaction of.
A transaction, or null when transaction of given hash not exists.
Gets invoice of a transaction of given hash.
The transaction hash of which to get the corresponding transaction of.
Indicating milliseconds to wait the transaction to be confirmed.
Invoice, or null when transaction of given hash not exists.
Checks whether an asset is spent or not.
The tx hash of AssetMintTransaction or AssetTransferTransaction.
The index of output in the transaction.
The shard id of an Asset.
The specific block number to get the asset from.
True, if the asset is spent. False, if the asset is not spent. Null, if no such asset exists.
Sends SignedParcel to CodeChain's network.
SignedParcel
SignedParcel's hash.
Generated using TypeDoc
Gets asset of given transaction hash and index.