本接口方法名為eth_sendBackBundle ,用於接收塊尾bundle,允許bundle內所有交易的gas price為0 gwei。目前該接口僅支持Virginia端點,建議將服務部署於附近。
eth_sendBackBundle
https://virginia.builder.blockrazor.io
txs
是
array[hex]
["0x…4b"]
經過簽名的raw transaction,仅允许一笔
blockNumber
uint64
106210501
該bundle期望被包含的目标区块
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: <YOUR_TOKEN>" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "eth_sendBackBundle", "params": [ { "txs": ["0x...4b"], "blockNumber": 106210501 } ] }' \ https://virginia.builder.blockrazor.io
正常
異常
最後更新於 18 天前
這有幫助嗎?
{ "jsonrpc":"2.0", "id":"1", "result":null }
{ "jsonrpc": "2.0", "id": 1, "error": { "code": -32000, "message": "bundle missing blockNumber" } }