Skip to main content

Class: AptosGenesisTransaction

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

Class: AptosGenesisTransaction

@moralisweb3/common-aptos-utils.AptosGenesisTransaction

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosGenesisTransaction

Parameters

NameType
inputAptosGenesisTransactionInput | AptosGenesisTransaction

Returns

AptosGenesisTransaction


fromJSON

Static fromJSON(json): AptosGenesisTransaction

Parameters

NameType
jsonAptosGenesisTransactionJSON

Returns

AptosGenesisTransaction


isInput

Static isInput(input): input is AptosGenesisTransactionInput

Parameters

NameType
inputany

Returns

input is AptosGenesisTransactionInput


isJSON

Static isJSON(json): json is AptosGenesisTransactionJSON

Parameters

NameType
jsonany

Returns

json is AptosGenesisTransactionJSON


toJSON

toJSON(): AptosGenesisTransactionJSON

Returns

AptosGenesisTransactionJSON

Properties

accumulatorRootHash

Readonly accumulatorRootHash: string


changes

Readonly changes: AptosGenesisTransactionChangesItemValue[]


eventRootHash

Readonly eventRootHash: string


events

Readonly events: AptosTransactionEvent[]

Description

Events generated by the transaction


gasUsed

Readonly gasUsed: string

Description

A string containing a 64-bit unsigned integer.


hash

Readonly hash: string


payload

Readonly payload: AptosWriteSetPayload

Description

A writeset payload, used only for genesis


stateChangeHash

Readonly stateChangeHash: string


stateCheckpointHash

Readonly stateCheckpointHash: string


success

Readonly success: boolean

Description

Whether the transaction was successful


type

Readonly type: string


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