curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettransactionbyid \
--header 'Content-Type: application/json' \
--data '
{
"value": "d5ec749ecc2a615399d6573b3550650b4e6606d9ff0d123cd5bdc0bc6a33b0a2",
"visible": false
}
'{
"ret": [
{
"contractRet": "<string>",
"fee": 123
}
],
"signature": [
"<string>"
],
"txID": "<string>",
"net_usage": 123,
"raw_data_hex": "<string>",
"net_fee": 123,
"energy_usage": 123,
"blockNumber": 123,
"block_timestamp": 123,
"contract_result": [
"<string>"
]
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/gettransactionbyid \
--header 'Content-Type: application/json' \
--data '
{
"value": "d5ec749ecc2a615399d6573b3550650b4e6606d9ff0d123cd5bdc0bc6a33b0a2",
"visible": false
}
'{
"ret": [
{
"contractRet": "<string>",
"fee": 123
}
],
"signature": [
"<string>"
],
"txID": "<string>",
"net_usage": 123,
"raw_data_hex": "<string>",
"net_fee": 123,
"energy_usage": 123,
"blockNumber": 123,
"block_timestamp": 123,
"contract_result": [
"<string>"
]
}value — the transaction ID (hash) to retrievevisible — optional boolean to specify address format (default: false for hex format)ret — array of execution results containing:
contractRet — contract execution result (SUCCESS, REVERT, etc.)fee — transaction fee paidsignature — array of transaction signaturestxID — transaction ID hashnet_usage — bandwidth consumedraw_data_hex — hexadecimal representation of raw transaction datanet_fee — network fee paidenergy_usage — energy consumed (for smart contracts)blockNumber — block number containing the transactionblock_timestamp — block timestampcontract_result — contract execution return data (for smart contracts)wallet/gettransactionbyid method is used for:
Was this page helpful?