Skip to main content

Class: AptosHistoricalCoinBalanceDto

moralis-monorepo / @moralisweb3/common-aptos-utils / AptosHistoricalCoinBalanceDto

Class: AptosHistoricalCoinBalanceDto

@moralisweb3/common-aptos-utils.AptosHistoricalCoinBalanceDto

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosHistoricalCoinBalanceDto

Parameters

NameType
inputAptosHistoricalCoinBalanceDtoInput | AptosHistoricalCoinBalanceDto

Returns

AptosHistoricalCoinBalanceDto


fromJSON

Static fromJSON(json): AptosHistoricalCoinBalanceDto

Parameters

NameType
jsonAptosHistoricalCoinBalanceDtoJSON

Returns

AptosHistoricalCoinBalanceDto


toJSON

toJSON(): AptosHistoricalCoinBalanceDtoJSON

Returns

AptosHistoricalCoinBalanceDtoJSON

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


ownerAddress

Readonly ownerAddress: AptosAddress

Description

The address of the owner of the coin


transactionTimestamp

Readonly transactionTimestamp: string

Description

The timestamp of the updated balance


transactionVersion

Readonly transactionVersion: string

Description

The version of the transaction where the balacne was updated