Skip to main content

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

NameType
inputAptosCurrentCoinBalanceDtoInput | AptosCurrentCoinBalanceDto

Returns

AptosCurrentCoinBalanceDto


fromJSON

Static fromJSON(json): AptosCurrentCoinBalanceDto

Parameters

NameType
jsonAptosCurrentCoinBalanceDtoJSON

Returns

AptosCurrentCoinBalanceDto


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