Class: AptosBlockMetadataTransaction
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosBlockMetadataTransaction
Class: AptosBlockMetadataTransaction
@moralisweb3/common-aptos-utils.AptosBlockMetadataTransaction
Table of contents
Methods
Properties
- accumulatorRootHash
- changes
- epoch
- eventRootHash
- events
- failedProposerIndices
- gasUsed
- hash
- id
- previousBlockVotesBitvec
- proposer
- round
- stateChangeHash
- stateCheckpointHash
- success
- timestamp
- type
- version
- vmStatus
Methods
create
▸ Static create(input): AptosBlockMetadataTransaction
Parameters
| Name | Type |
|---|---|
input | AptosBlockMetadataTransactionInput | AptosBlockMetadataTransaction |
Returns
fromJSON
▸ Static fromJSON(json): AptosBlockMetadataTransaction
Parameters
| Name | Type |
|---|---|
json | AptosBlockMetadataTransactionJSON |
Returns
isInput
▸ Static isInput(input): input is AptosBlockMetadataTransactionInput
Parameters
| Name | Type |
|---|---|
input | any |
Returns
input is AptosBlockMetadataTransactionInput
isJSON
▸ Static isJSON(json): json is AptosBlockMetadataTransactionJSON
Parameters
| Name | Type |
|---|---|
json | any |
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