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

Method: POST /walletsolidity/gettransactionbyid

dropdown

Method REST /walletsolidity/gettransactionbyid example for Tron (TRX)

POST /walletsolidity/gettransactionbyid

Method not allowed

Get solidity transaction by it's ID

Parameters

value - string

transaction ID.

Request

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


Response

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