Class: AptosUserTransaction
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosUserTransaction
Class: AptosUserTransaction
@moralisweb3/common-aptos-utils.AptosUserTransaction
Table of contents
Methods
Properties
- accumulatorRootHash
- changes
- eventRootHash
- events
- expirationTimestampSecs
- gasUnitPrice
- gasUsed
- hash
- maxGasAmount
- payload
- sender
- sequenceNumber
- signature
- stateChangeHash
- stateCheckpointHash
- success
- timestamp
- type
- version
- vmStatus
Methods
create
▸ Static
create(input
): AptosUserTransaction
Parameters
Name | Type |
---|---|
input | AptosUserTransactionInput | AptosUserTransaction |
Returns
fromJSON
▸ Static
fromJSON(json
): AptosUserTransaction
Parameters
Name | Type |
---|---|
json | AptosUserTransactionJSON |
Returns
isInput
▸ Static
isInput(input
): input is AptosUserTransactionInput
Parameters
Name | Type |
---|---|
input | any |
Returns
input is AptosUserTransactionInput
isJSON
▸ Static
isJSON(json
): json is AptosUserTransactionJSON
Parameters
Name | Type |
---|---|
json | any |
Returns
json is AptosUserTransactionJSON
toJSON
▸ toJSON(): AptosUserTransactionJSON
Returns
Properties
accumulatorRootHash
• Readonly
accumulatorRootHash: string
changes
• Readonly
changes: AptosUserTransactionChangesItemValue
[]
eventRootHash
• Readonly
eventRootHash: string
events
• Readonly
events: AptosTransactionEvent
[]
Description
Events generated by the transaction
expirationTimestampSecs
• Readonly
expirationTimestampSecs: string
Description
A string containing a 64-bit unsigned integer.
gasUnitPrice
• Readonly
gasUnitPrice: string
Description
A string containing a 64-bit unsigned integer.
gasUsed
• Readonly
gasUsed: string
Description
A string containing a 64-bit unsigned integer.
hash
• Readonly
hash: string
maxGasAmount
• Readonly
maxGasAmount: string
Description
A string containing a 64-bit unsigned integer.
payload
• Readonly
payload: AptosUserTransactionPayloadValue
sender
• Readonly
sender: AptosAddress
Description
A hex encoded 32 byte Aptos account address.
sequenceNumber
• Readonly
sequenceNumber: string
Description
A string containing a 64-bit unsigned integer.
signature
• Readonly
signature: AptosUserTransactionSignatureValue
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
Description
user_transaction
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