Submit Transaction

POST /api/v2/submit

Description

Submits a transaction to NextBlock

Request

  • URL: /api/v2/submit

  • Method: Post

  • Headers:

    • Content-Type: application/json

    • Authorization: <token>

Request Body

{
  "transaction": {
    "content": "base-64-encoded-tx"
  },
  "frontRunningProtection": true // protects a transaction from MEV
}

Response

Success (200 OK)

{
  "signature": "tx-signature",
  "uuid": "jito-bundle-uuid"
}

Error (400 Bad Request)

{
  "code": 2,
  "message": "fee too low; transaction contains low tip",
  "details": []
}

Last updated