Submit a Transaction
Use this endpoint to send a single transaction faster than the p2p network using the BDN.
REQUEST
Method: blxr_tx
Parameters
transaction
Raw transactions bytes without 0x prefix.
Mandatory. Learn more about constructing the transaction here.
blockchain_network
Blockchain network name.
Optional. Default: Mainnet
Available options are: Mainnet for ETH Mainnet, BSC-Mainnet for BSC Mainnet
*Use with Cloud-API when working with BSC.
node_validation
Transaction is sent to the blockchain node for validation, and the Gateway returns any error message received in response.
Available only with Gateway API
Optional
Default: False
backrunme_reward_address
String; valid ETH address which defines the address with which backrun rewards should be shared
Optional; this param is only for BSC
Cloud-API
WebSocket endpoint for sending transactions:
wss://api.blxrbdn.com/wsAll users sending transactions via WebSocket should use this endpoint.HTTP/HTTPS POST endpoints:
HTTPS:
https://api.blxrbdn.comHTTP:
http://api.blxrbdn.com
See Cloud-API IPs to work directly with IP addresses:
WebSocket:
wss://<IP>/wsHTTP/HTTPS:
http://<IP>orhttps://<IP>
Examples
Gateway-API:
Gateway WebSocket endpoint:
ws://127.0.0.1:28333/wsWe assume the WebSocket port
28333.Please check Authorization Headers examples to reconstruct the header.
Examples
RESPONSE
Result Fields
tx_hash
Transaction hash
Examples
Example - gRPC
NOTES
All Users
Sending Transactions to the Cloud-API or Gateway-API requires you to register an account on the bloXroute portal. During the registration process, a certificate, private key, and secret hash will be generated for your account. The certificate and key will be used to authenticate your account.
The bloXroute best practice is for users to send transactions to both the Gateway-API and to their blockchain node. You should send transactions in parallel to the Gateway and to your blockchain node as a backup.
Users should not send transactions to the transactions streams WebSocket endpoint
wss://<REGION>.<NETWORK>.blxrbdn.com/ws(e.g.wss://virginia.eth.blxrbdn.com/ws) which is for streaming only and doesn't support sending transactions.
Rate Limit
Plan
Request Rate Limit
Ultra
200 transactions every 5 second
Enterprise-Elite
100 transactions every 5 second
Enterprise
50 transactions every 5 second
Professional
10 transaction every 5 seconds
Introductory
10 transaction every 5 seconds
Last updated