sendTransaction

This method serves as a proxy to the Solana sendTransaction RPC method. It forwards the received transaction as a regular Solana transaction via the Solana RPC method and submits it as a bundle. Jito sponsors the bundling and provides a minimum tip for the bundle. However, please note that this minimum tip might not be sufficient to get the bundle through the auction, especially during high-demand periods. If you set the query parameter bundleOnly=true, the transaction will only be sent out as a bundle and not as a regular transaction via RPC.

Please follow the guidelines outlined in the Solana RPC documentation.

This method always sets skip_preflight=true, regardless of the client's value. This means the transaction will not be simulated in the RPC before being sent to the leader. However, the bundle path will go through the auction and normal simulations.

Request

ParameterTypeDescription

params

string

REQUIRED First Transaction Signature embedded in the transaction, as base-58 encoded string

Request Example

curl https://mainnet.block-engine.jito.wtf/api/v1/transactions -X POST -H "Content-Type: application/json" -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "sendTransaction",
    "params": [
      "4hXTCkRzt9WyecNzV1XPgCDfGAZzQKNxLXgynz5QDuWWPSAZBZSHptvWRL3BjCvzUXRdKvHL2b7yGrRQcWyaqsaBCncVG7BFggS8w9snUts67BSh3EqKpXLUm5UMHfD7ZBe9GhARjbNQMLJ1QD3Spr6oMTBU6EhdB4RD8CP2xUxr2u3d6fos36PD98XS6oX8TQjLpsMwncs5DAMiD4nNnR8NBfyghGCWvCVifVwvA8B8TJxE1aiyiv2L429BCWfyzAme5sZW8rDb14NeCQHhZbtNqfXhcp2tAnaAT"
    ]
  }
'

Response

FieldTypeDescription

result

string

The result will be the same as described in the Solana RPC documentation. If sending as a bundle was successful, you can get the bundle_id for further querying from the custom header in the response x-bundle-id.

Response Example

{
  "jsonrpc": "2.0",
  "result": "2id3YC2jK9G5Wo2phDx4gJVAew8DcY5NAojnVuao8rkxwPYPe8cSwE5GzhEgJA2y8fVjDEo6iR6ykBvDxrTQrtpb",
  "id": 1
}

Last updated