Skip to main content

Class: AptosBlockMetadataTransaction

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

Class: AptosBlockMetadataTransaction

@moralisweb3/common-aptos-utils.AptosBlockMetadataTransaction

Table of contents

Methods

Properties

Methods

create

Static create(input): AptosBlockMetadataTransaction

Parameters

NameType
inputAptosBlockMetadataTransactionInput | AptosBlockMetadataTransaction

Returns

AptosBlockMetadataTransaction


fromJSON

Static fromJSON(json): AptosBlockMetadataTransaction

Parameters

NameType
jsonAptosBlockMetadataTransactionJSON

Returns

AptosBlockMetadataTransaction


isInput

Static isInput(input): input is AptosBlockMetadataTransactionInput

Parameters

NameType
inputany

Returns

input is AptosBlockMetadataTransactionInput


isJSON

Static isJSON(json): json is AptosBlockMetadataTransactionJSON

Parameters

NameType
jsonany

Returns

json is AptosBlockMetadataTransactionJSON


toJSON

toJSON(): AptosBlockMetadataTransactionJSON

Returns

AptosBlockMetadataTransactionJSON

Properties

accumulatorRootHash

Readonly accumulatorRootHash: string


changes

Readonly changes: AptosBlockMetadataTransactionChangesItemValue[]


epoch

Readonly epoch: string

Description

A string containing a 64-bit unsigned integer.


eventRootHash

Readonly eventRootHash: string


events

Readonly events: AptosTransactionEvent[]

Description

he events emitted at the block creation


failedProposerIndices

Readonly failedProposerIndices: string[]

Description

The indices of the proposers who failed to propose


gasUsed

Readonly gasUsed: string

Description

A string containing a 64-bit unsigned integer.


hash

Readonly hash: string


id

Readonly id: string


previousBlockVotesBitvec

Readonly previousBlockVotesBitvec: string[]

Description

Previous block votes


proposer

Readonly proposer: AptosAddress

Description

A hex encoded 32 byte Aptos account address.S


round

Readonly round: string

Description

A string containing a 64-bit unsigned integer.


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


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