/v1/transactions/batch REST API Endpoint
Body Parameters
sender
string
REQUIRED
Loading...
sequence_number
string
REQUIRED
Loading...
max_gas_amount
string
REQUIRED
Loading...
gas_unit_price
string
REQUIRED
Loading...
expiration_timestamp_secs
string
REQUIRED
Loading...
payload
object
REQUIRED
Loading...
type
string
Loading...
function
string
Loading...
type_arguments
array
Loading...
arguments
array
Loading...
signature
object
REQUIRED
Loading...
type
string
Loading...
public_key
string
Loading...
signature
string
Loading...
Returns
transaction_failures
Loading...
error
Loading...
message
Loading...
error_code
Loading...
vm_error_code
Loading...
transaction_index
Loading...
Request
1curl --request POST \2--url https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/batch \3--header 'Accept: application/json, application/x-bcs' \4--header 'Content-Type: application/json' \5--data '[6{7"sender": "SENDER_ADDRESS",8"sequence_number": "SEQUENCE_NUMBER",9"max_gas_amount": "MAX_GAS_AMOUNT",10"gas_unit_price": "GAS_UNIT_PRICE",11"expiration_timestamp_secs": "EXPIRATION_TIMESTAMP_SECS",12"payload": {13"type": "PAYLOAD_TYPE",14"function": "FUNCTION",15"type_arguments": [16"string"17],18"arguments": [19null20]21},22"signature": {23"type": "SIGNATURE_TYPE",24"public_key": "PUBLIC_KEY",25"signature": "SIGNATURE"26}27}28]'
1curl --request POST \2--url https://docs-demo.aptos-mainnet.quiknode.pro/v1/transactions/batch \3--header 'Accept: application/json, application/x-bcs' \4--header 'Content-Type: application/json' \5--data '[6{7"sender": "SENDER_ADDRESS",8"sequence_number": "SEQUENCE_NUMBER",9"max_gas_amount": "MAX_GAS_AMOUNT",10"gas_unit_price": "GAS_UNIT_PRICE",11"expiration_timestamp_secs": "EXPIRATION_TIMESTAMP_SECS",12"payload": {13"type": "PAYLOAD_TYPE",14"function": "FUNCTION",15"type_arguments": [16"string"17],18"arguments": [19null20]21},22"signature": {23"type": "SIGNATURE_TYPE",24"public_key": "PUBLIC_KEY",25"signature": "SIGNATURE"26}27}28]'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free