⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins

Method: POST /walletsolidity/gettransactionbyid

dropdown

# /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"
}