v1

latestOpenAPI 3.1.02026-08-04751,1671.3 MB
Batch Transactions

Create Batch Transaction

Create a batch of transactions. <br> Batch transactions are currently supported only on Solana.

post/api/v1/batch-transactions

Headers

x-signaturestring

Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. x_signature is valid for 120 seconds.

Example:SGVsbG8=

Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. x_signature is valid for 120 seconds.

x-timestampinteger

Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks.

Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks.

x-idempotence-idstring uuid

Optional idempotence ID of a transaction.

Optional idempotence ID of a transaction.

Request body

OR

Example request

{
  "details": {
    "fee": {
      "priority_fee": "1000000000000000000",
      "unit_price": "1000000000000000000"
    },
    "transactions": [
      {
        "instructions": [
          {
            "data": "SGVsbG8="
          }
        ],
        "accounts": [
          {
            "address": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
            "ephemeral_key": "lnNyP8kFPEaVpvUo/SIlhdZlzhPU8r7yT/h0gG5ajzQ="
          }
        ],
        "address_table_lookups": [
          {
            "account_key": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
          }
        ],
        "signatures": [
          {
            "data": "SGVsbG8="
          }
        ],
        "recent_blockhash": "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZAMdL4VZHirAn"
      }
    ]
  }
}

Response

Successful Response

batch_idstring uuid required

ID of the batch of transactions.