📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: POST /wallet/broadcasttransaction

dropdown

Method REST /wallet/broadcasttransaction example for Tron (TRX)

POST /wallet/broadcasttransaction

Method not allowed

Broadcast the signed transaction

Parameters

txID - string

visible - boolean

raw_data - json object

raw_data_hex - string

signature - array of string

Request

curl --location --request POST 'https://trx.getblock.io/wallet/broadcasttransaction' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}