API Reference
Blink's integration is designed to be as simple as possible, it only requires switching over to Blink's RPC node endpoint.
Robinhood Chain is built on Arbitrum technology, so this endpoint mirrors the APIs found by Arbitrum node providers.
You can find your custom endpoint on your custom dashboard.
Integration Steps
Acquire custom RPC endpoint on our dashboard
Switch out existing RPC endpoint for the custom Blink endpoint:
https://robinhood.blinklabs.xyz/v1/{$API_KEY}Track recoveries via Blink's dashboard
Example request
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0xf869018203e882520894f17f52151ebef6c7334fad080c5704d77216b732881bc16d674ec80000801ba02da1c48b670996dcb1f447ef9ef00b33033c48a4fe938f420bec3e56bfd24071a062e0aa78a81bf0290afbc3a9d8e9a068e6d74caa66c5e0fa8a46deaae96b0833",
],
}Example response
eth_sendRawTransactionSync
Blink supports eth_sendRawTransactionSync (EIP-7966). It submits the transaction exactly like eth_sendRawTransaction, with the same MEV protection and recovery. It then waits for the transaction to be included and returns the receipt in the same call, so there is no need to poll eth_getTransactionReceipt.
Example request
Example response
The result is the transaction receipt, in the same format as eth_getTransactionReceipt.
Timeout response
If there is no receipt within 1 second, the call returns error code 4 with the transaction hash in data. The transaction may still be included: poll eth_getTransactionReceipt with that hash.
Other errors, such as nonce too low or insufficient funds, are returned as for eth_sendRawTransaction.
For full documentation of the available endpoints, we suggest referring to the Chainstack documentation for Arbitrum, which Robinhood Chain mirrors: https://docs.chainstack.com/reference/arbitrum-getting-started
Last updated