Skip to main content

/wallet/gettransactionbyid REST API Endpoint

Returns the transaction information by transaction id.

Updated on
Oct 4, 2023

/wallet/gettransactionbyid REST API Endpoint

Body Parameters

value
string
REQUIRED
The transaction ID
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

ret
The result of the transaction
contractRet
The contract result of the transaction
signature
The signature associated with the contract
txID
The transaction id
raw_data
The raw transaction data, including the contract and its parameters
contract
The details of the smart contract involved in the transaction
parameter
The parameter of the smart contract function being called in the transaction
value
The value object containing following fields:
amount
The amount of the token transferred
owner_address
The owner address
to_address
The receiver address
type_url
The type of data being represented by the parameter or output
type
The type of smart contract
ref_block_bytes
The bytes of the previous block hash
ref_block_hash
The hash of the previous block
expiration
The expiration time of the transaction
fee_limit
The maximum fee limit for the transaction
timestamp
The timestamp of the transaction
raw_data_hex
The raw transaction data, encoded in hexadecimal format
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionbyid \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",
7
"visible": true
8
}
9
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free