Submit a Transaction

Use this endpoint to send a single transaction faster than the p2p network using the BDN.

REQUEST

Method: blxr_tx

Parameters

Parameter
Description
Instructions & Notes

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/ws All users sending transactions via WebSocket should use this endpoint.

  • HTTP/HTTPS POST endpoints:

    • HTTPS: https://api.blxrbdn.com

    • HTTP: http://api.blxrbdn.com

  • See Cloud-API IPs to work directly with IP addresses:

    • WebSocket: wss://<IP>/ws

    • HTTP/HTTPS: http://<IP> or https://<IP>

For latency-sensitive orderflow, WebSocket is recommended and can provide latency improvement over HTTP/HTTPS. If you prefer to short-lived connections, use HTTP over HTTPS for improved latency.

Examples

Gateway-API:

  • Gateway WebSocket endpoint: ws://127.0.0.1:28333/ws

  • We assume the WebSocket port 28333.

  • Please check Authorization Headers examples to reconstruct the header.

Examples

RESPONSE

Result Fields

Result Field
Description

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