For the complete documentation index, see llms.txt. This page is also available as Markdown.

Robinhood Chain eth_sendBatch

介紹BlockRazor Robinhood Chain RPC eth_sendBatch的集成方法

Robinhood Chain eth_sendBatch 暫不對用戶開放,如需對接請聯繫我們

Send Batch 是BlockRazor 為 Robinhood Chain 提供的交易批量發送接口,用户可通过该方法將已簽名的原始交易批量低延迟發送到鏈上,目前支持HTTPS协议。

Batch的交易容量上限為10筆,交易每隔5ms依序發送至Robinhood官方排序器。需要注意的是,Batch不具備原子性,不保證最終上鍊順序和請求預期一致。

請求參數

参数
必选
格式
示例
描述

-

String[]

["0x…9c","0x…6a"]

經過簽名的raw transaction列表

請求示例

curl https://robinhood.blockrazor.io \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <auth-token>' \
  --data '{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_sendBatch",
  "params": ["0x…9c","0x…6a"]
}'

返回示例

{
 "jsonrpc":"2.0",
 "id":"1",
 "result":"0xa06b……f7e8ec"  // batch哈希
}

最後更新於

這有幫助嗎?