ドキュメント
料金GitHubダッシュボード

TRON

wallet/broadcasthex25クレジット

Broadcasts a signed transaction given as hex.

ネットワーク: tron

パラメータ

名前型説明
transactionstringSigned, 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>"
}'