Skip to main content

Class: AptosCoinTransferDto

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

Class: AptosCoinTransferDto

@moralisweb3/common-aptos-utils.AptosCoinTransferDto

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosCoinTransferDto

Parameters

NameType
inputAptosCoinTransferDtoInput | AptosCoinTransferDto

Returns

AptosCoinTransferDto


fromJSON

Static fromJSON(json): AptosCoinTransferDto

Parameters

NameType
jsonAptosCoinTransferDtoJSON

Returns

AptosCoinTransferDto


toJSON

toJSON(): AptosCoinTransferDtoJSON

Returns

AptosCoinTransferDtoJSON

Properties

activityType

Readonly activityType: string

Description

The definition of the coin activity


amount

Readonly amount: AptosNative

Description

The amount being transfered


blockHeight

Readonly blockHeight: string

Description

The blockheight that the transfer was included in


coinType

Readonly coinType: string

Description

The definition of the coin structure (identifier)


entryFunctionIdStr

Readonly entryFunctionIdStr: string

Description

The function that was called to transfer the coin


eventAccountAddress

Readonly eventAccountAddress: string

Description

The address of the event account


eventCreationNumber

Readonly eventCreationNumber: string

Description

The event creation number


eventSequenceNumber

Readonly eventSequenceNumber: string

Description

The sequence number of the event


isGasFee

Readonly isGasFee: boolean

Description

If the transfer was a gas fee or not


isTransactionSuccess

Readonly isTransactionSuccess: boolean

Description

If the transfer was successful or not


ownerAddress

Readonly ownerAddress: AptosAddress

Description

The address of the owner of the coin


transactionTimestamp

Readonly transactionTimestamp: string

Description

The timestamp of the transaction of when the coin was transfered


transactionVersion

Readonly transactionVersion: string

Description

The version of the transaction where the coin was transfered