Skip to main content

/v1/transactions/batch REST API Endpoint

Allows users to submit a batch of transactions to the FullNode DevNet platform, providing transaction details in the request body and receiving information about any transaction failures encountered during the batch.

Updated on
Oct 04, 2023

Body Parameters

sender
string
REQUIRED

The account from which the transaction was sent

sequence_number
string
REQUIRED

The sequence of a transaction sent by the specific sender

max_gas_amount
string
REQUIRED

The maximum amount of gas allocated for the execution of a transaction

gas_unit_price
string
REQUIRED

The cost per unit of gas, determining the transaction fee paid by the sender for each unit of computational resource consumed

expiration_timestamp_secs
string
REQUIRED

The timestamp indicating the expiration period of a transaction, specifying the time until which the transaction can be included in a block

payload
object
REQUIRED

The data that is being carried by a transaction. It contains the following fields:

type
string

The type of payload indicating the purpose of the data contained

function
string

The function associated with the payload

type_arguments
array

An array specifying the types of arguments provided to the function

arguments
array

An array containing the actual arguments passed to the function

signature
object
REQUIRED

An array with the following fields:

type
string

The type of signature used to verify the authenticity of the function

public_key
string

The public key associated with the account that generated the signature, used for verifying the signature's validity

signature
string

The actual signature generated using the private key corresponding to the public key provided

Returns

transaction_failures

An array that contains information about any transaction failures within the batch:

error

It describes the error encountered during the transaction failure:

message

The error message associated with the failure

error_code

An error code indicating the type of failure, such as account_not_found

vm_error_code

The virtual machine error code associated with the failure

transaction_index

The index of the failed transaction within the batch

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free