Class: AptosBlock
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosBlock
Class: AptosBlock
@moralisweb3/common-aptos-utils.AptosBlock
Table of contents
Methods
Properties
Methods
create
▸ Static
create(input
): AptosBlock
Parameters
Name | Type |
---|---|
input | AptosBlockInput | AptosBlock |
Returns
fromJSON
▸ Static
fromJSON(json
): AptosBlock
Parameters
Name | Type |
---|---|
json | AptosBlockJSON |
Returns
toJSON
▸ toJSON(): AptosBlockJSON
Returns
Properties
blockHash
• Readonly
blockHash: string
blockHeight
• Readonly
blockHeight: string
Description
A string containing a 64-bit unsigned integer.
blockTimestamp
• Readonly
blockTimestamp: string
Description
A string containing a 64-bit unsigned integer.
firstVersion
• Readonly
firstVersion: string
Description
A string containing a 64-bit unsigned integer.
lastVersion
• Readonly
lastVersion: string
Description
A string containing a 64-bit unsigned integer.
transactions
• Optional
Readonly
transactions: AptosBlockTransactionsItemValue
[]
Description
List of transactions