요금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>"
}'