You can read
here
on how to generate and submit transactions to the Aptos blockchain, and verify these submitted transactions.
Body Parameters
- senderstringREQUIRED
The account from which the transaction was sent
- sequence_numberstringREQUIRED
The sequence of a transaction sent by the specific sender
- max_gas_amountstringREQUIRED
The maximum amount of gas allocated for the execution of a transaction
- gas_unit_pricestringREQUIRED
The cost per unit of gas, determining the transaction fee paid by the sender for each unit of computational resource consumed
- expiration_timestamp_secsstringREQUIRED
The timestamp indicating the expiration period of a transaction, specifying the time until which the transaction can be included in a block
- payloadobjectREQUIRED
The data that is being carried by a transaction. It contains the following fields:
- typestring
The type of payload indicating the purpose of the data contained
- functionstring
The function associated with the payload
- type_argumentsarray
An array specifying the types of arguments provided to the function
- argumentsarray
An array containing the actual arguments passed to the function
- signatureobjectREQUIRED
An array with the following fields:
- typestring
The type of signature used to verify the authenticity of the function
- public_keystring
The public key associated with the account that generated the signature, used for verifying the signature's validity
- signaturestring
The actual signature generated using the private key corresponding to the public key provided
Returns
- hash
The hash of the transaction
- sender
The account from which the transaction was sent
- sequence_number
The sequence of a transaction sent by the specific sender
- max_gas_amount
The maximum amount of gas allocated for the execution of a transaction
- gas_unit_price
The cost per unit of gas, determining the transaction fee paid by the sender for each unit of computational resource consumed
- expiration_timestamp_secs
The timestamp indicating the expiration period of a transaction, specifying the time until which the transaction can be included in a block
- payload
The data that is being carried by a transaction. It contains the following fields:
- type
The type of payload indicating the purpose of the data contained
- function
The function associated with the payload
- type_arguments
An array specifying the types of arguments provided to the function
- arguments
An array containing the actual arguments passed to the function
- signature
An array with the following fields:
- type
The type of signature used to verify the authenticity of the function
- public_key
The public key associated with the account that generated the signature, used for verifying the signature's validity
- signature
The actual signature generated using the private key corresponding to the public key provided