TRON
wallet/broadcasthex25 额度
Broadcasts a signed transaction given as hex.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| transaction | string | Signed, protobuf-encoded transaction as a hex string. |
返回值
类型
Object
Object with result (true when the node accepted the call; it does not confirm inclusion in a block), txid, code and message (error code such as CONTRACT_VALIDATE_ERROR and details) and transaction (decoded transaction as a JSON string). On failure an Error string.
代码示例
curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/broadcasthex' \
-X POST \
-H 'content-type: application/json' \
-d '{
"transaction": "<signed transaction hex>"
}'