Class: AptosCurrentCoinBalanceDto
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosCurrentCoinBalanceDto
Class: AptosCurrentCoinBalanceDto
@moralisweb3/common-aptos-utils.AptosCurrentCoinBalanceDto
Table of contents
Methods
Properties
Methods
create
▸ Static create(input): AptosCurrentCoinBalanceDto
Parameters
| Name | Type |
|---|---|
input | AptosCurrentCoinBalanceDtoInput | AptosCurrentCoinBalanceDto |
Returns
fromJSON
▸ Static fromJSON(json): AptosCurrentCoinBalanceDto
Parameters
| Name | Type |
|---|---|
json | AptosCurrentCoinBalanceDtoJSON |
Returns
toJSON
▸ toJSON(): AptosCurrentCoinBalanceDtoJSON
Returns
AptosCurrentCoinBalanceDtoJSON
Properties
amount
• Readonly amount: AptosNative
Description
The amount being transfered
coinType
• Readonly coinType: string
Description
The definition of the coin structure (identifier)
coinTypeHash
• Readonly coinTypeHash: string
Description
The hash of the coin_type (identifier) and a known fixed length
lastTransactionTimestamp
• Readonly lastTransactionTimestamp: string
Description
The timestamp of the last update to the balance
lastTransactionVersion
• Readonly lastTransactionVersion: string
Description
The version of the transaction where the balance was last s
ownerAddress
• Readonly ownerAddress: AptosAddress
Description
The address of the owner of the coin