Robinhood Transactions
The robinhood_tx method allows users to submit transactions to Robinhood Chain through bloXroute’s low-latency Cloud API. Transactions are automatically eligible for BackRunMe, allowing users to receive a share of any backrunning revenue generated from their order flow. The method returns the transaction hash.
Submission Endpoint
Method:
robinhood_txCloud API host:
api.blxrbdn.comSupported protocols:
HTTPS, WSS
Parameters
transaction
Raw signed transaction bytes without 0x prefix.
[Required] Learn more about constructing the transaction here.
backrunme_reward_address
Wallet address String to receive BackRunMe rewards to
[Optional] Transactions are automatically enrolled in Backrunning services, from which rewards are shared with the specified backrunme_reward_address.
node_validation
Boolean - enables synchronous submission for transaction validation with blockchain node.
[Optional, default: false] When it is true, transaction is sent to blockchain node (sequencer) for validation and Cloud-API returns an error message (e.g. "invalid sender" or "nonce too low") in case the raw transaction byte fails validation check.
Examples
wscat -c wss://api.blxrbdn.com/ws --header "Authorization: <YOUR-AUTHORIZATION-HEADER>"
> {"jsonrpc": "2.0", "id": 1, "method": "robinhood_tx", "params":
{"transaction": "f86b0184...e0b58219"}}
< ...curl -X POST https://api.blxrbdn.com \
-H "Authorization: <YOUR-AUTHORIZATION-HEADER>" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "robinhood_tx",
"params": {
"transaction": "f86b0184...e0b58219"
}
}'Response
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"txHash": "0xc2b971baeae021d8932922e409f7d6d230ba0546bbf3b1d2723e2d6d5741ef9e"
}
}Last updated