Ethereum RPC eth_sendRawTransaction
介紹集成BlockRazor Ethereum RPC的eth_sendRawTransaction的方法
eth_sendRawTransaction 兼容原生的JSON-RPC方法,無需進行額外修改。
如需修改交易披露、返利地址和revert保護等參數,可前往控制台配置專屬RPC。
端點
端點類型
URL
通用RPC
https://eth.blockrazor.xyz
項目默認RPC
https://eth.blockrazor.xyz/<rpc_id>
項目自定義RPC
https://<custom_domain>.eth.blockrazor.xyz
請求參數
參數
必選
格式
示例
備註
-
是
bytes
"0xd46e……445675"
raw tx
請求示例
curl -X POST -H "Content-Type: application/json" --data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0xd46e……445675"
]
}' https://bsc.blockrazor.xyz返回示例
正常
異常
JSON-RPC方法
RPC支持以太坊節點原生的JSON-RPC方法,可參考https://ethereum.org/zh/developers/docs/apis/json-rpc/#json-rpc-methods
最後更新於
這有幫助嗎?