Send Binary Transaction
Key Improvements Include:
No Base64 Encoding/Decoding Overhead
No Packet Splitting due to reduced data size
Reduced Transmission time
Key points
Create Transaction in raw binary format
Header is optional
Mandatory to add
api-keyandmethodin URI paramsRight now only
sendTransactionandgetHealthmethods are supportedSend request on endpoint
/irisb
URI Params
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
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.
200
Request is successful
400
Request might have some issues
Last updated