GetTransactionInfoById

POST: http://172.104.51.182:16667/wallet/gettransactioninfobyid

Query the transaction fee, block height by transaction id

BODY PARAMS

{

Value string

}

Note:

  • value is transaction hash, i.e. transaction id.

Example:

curl --request POST --url https://api.shasta.trongrid.io/wallet/gettransactioninfobyid --header 'Accept: application/json' --header 'Content-Type: application/json' --data ' { "value":"bed9626b9a7a9632750bd40776f2fd2ffcbc627ed145a65577d8de416666a86b" }

Input:

{

"value":"bed9626b9a7a9632750bd40776f2fd2ffcbc627ed145a65577d8de416666a86b"

}

Response:

{

"id": "bed9626b9a7a9632750bd40776f2fd2ffcbc627ed145a65577d8de416666a86b", "blockNumber": 4555680, "blockTimeStamp": 1639400052000, "contractResult": [ "" ], "receipt": { "net_usage": 268 }

}

Last updated