Class: AptosGenesisTransaction
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosGenesisTransaction
Class: AptosGenesisTransaction
@moralisweb3/common-aptos-utils.AptosGenesisTransaction
Table of contents
Methods
Properties
- accumulatorRootHash
- changes
- eventRootHash
- events
- gasUsed
- hash
- payload
- stateChangeHash
- stateCheckpointHash
- success
- type
- version
- vmStatus
Methods
create
▸ Static
create(input
): AptosGenesisTransaction
Parameters
Name | Type |
---|---|
input | AptosGenesisTransactionInput | AptosGenesisTransaction |
Returns
fromJSON
▸ Static
fromJSON(json
): AptosGenesisTransaction
Parameters
Name | Type |
---|---|
json | AptosGenesisTransactionJSON |
Returns
isInput
▸ Static
isInput(input
): input is AptosGenesisTransactionInput
Parameters
Name | Type |
---|---|
input | any |
Returns
input is AptosGenesisTransactionInput
isJSON
▸ Static
isJSON(json
): json is AptosGenesisTransactionJSON
Parameters
Name | Type |
---|---|
json | any |
Returns
json is AptosGenesisTransactionJSON
toJSON
▸ toJSON(): AptosGenesisTransactionJSON
Returns
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