Send Binary Transaction

Key Improvements Include:

  1. No Base64 Encoding/Decoding Overhead

  2. No Packet Splitting due to reduced data size

  3. Reduced Transmission time

Key points

  • Create Transaction in raw binary format

  • Header is optional

  • Mandatory to add api-key and method in URI params

  • Right now only sendTransaction and getHealth methods are supported

  • Send request on endpoint /irisb

URI Params

Param
Type
Description

api-key

String

Mandatory, To set api key for authentication

method

String

Mandatory, To set method

mev-protect

Boolean

Optional, To set mev protect, default is false

Methods

Method
REST Method
Description

sendTransaction

POST

To send binary transaction

getHealth

POST

To keep connection alive

Example Request

Rust :

Expected Response

Note:

For Binary Transaction, a successful request returns status 200 OK with an empty body. Please note that unlike JSON RPC, no signature is included in the response.

Status Code
Description

200

Request is successful

400

Request might have some issues

Last updated