Skip to main content

Class: AptosUserTransaction

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

Class: AptosUserTransaction

@moralisweb3/common-aptos-utils.AptosUserTransaction

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosUserTransaction

Parameters

NameType
inputAptosUserTransactionInput | AptosUserTransaction

Returns

AptosUserTransaction


fromJSON

Static fromJSON(json): AptosUserTransaction

Parameters

NameType
jsonAptosUserTransactionJSON

Returns

AptosUserTransaction


isInput

Static isInput(input): input is AptosUserTransactionInput

Parameters

NameType
inputany

Returns

input is AptosUserTransactionInput


isJSON

Static isJSON(json): json is AptosUserTransactionJSON

Parameters

NameType
jsonany

Returns

json is AptosUserTransactionJSON


toJSON

toJSON(): AptosUserTransactionJSON

Returns

AptosUserTransactionJSON

Properties

accumulatorRootHash

Readonly accumulatorRootHash: string


changes

Readonly changes: AptosUserTransactionChangesItemValue[]


eventRootHash

Readonly eventRootHash: string


events

Readonly events: AptosTransactionEvent[]

Description

Events generated by the transaction


expirationTimestampSecs

Readonly expirationTimestampSecs: string

Description

A string containing a 64-bit unsigned integer.


gasUnitPrice

Readonly gasUnitPrice: string

Description

A string containing a 64-bit unsigned integer.


gasUsed

Readonly gasUsed: string

Description

A string containing a 64-bit unsigned integer.


hash

Readonly hash: string


maxGasAmount

Readonly maxGasAmount: string

Description

A string containing a 64-bit unsigned integer.


payload

Readonly payload: AptosUserTransactionPayloadValue


sender

Readonly sender: AptosAddress

Description

A hex encoded 32 byte Aptos account address.


sequenceNumber

Readonly sequenceNumber: string

Description

A string containing a 64-bit unsigned integer.


signature

Readonly signature: AptosUserTransactionSignatureValue


stateChangeHash

Readonly stateChangeHash: string


stateCheckpointHash

Readonly stateCheckpointHash: string


success

Readonly success: boolean

Description

Whether the transaction was successful


timestamp

Readonly timestamp: string

Description

A string containing a 64-bit unsigned integer.


type

Readonly type: string

Description

user_transaction


version

Readonly version: string

Description

A string containing a 64-bit unsigned integer.


vmStatus

Readonly vmStatus: string

Description

The VM status of the transaction, can tell useful information in a failure