Submit Transaction

POST /api/v2/submit

Description

Submits a single signed transaction to NextBlock.

Request

  • URL: /api/v2/submit

  • Method: POST

  • Headers:

    • Content-Type: application/json

    • Authorization: <token>

Request Body

{
  "transaction": {
    "content": "base64-encoded-signed-transaction"
  },
  "skipPreFlight": true,
  "frontRunningProtection": false,
  "disableRetries": false,
  "revertOnFail": false,
  "snipeTransaction": false
}

Notes

  • transaction.content must be the base64-encoded bytes of a fully signed Solana transaction.

  • The optional flags above are available on the HTTP and gRPC submission paths.

  • If you use QUIC Transaction Submission, these flags are not available. QUIC accepts only the raw signed transaction bytes.

Response

Success (200 OK)

Error (400 Bad Request)

Last updated