Skip to main content

/wallet/gettransactionfrompending REST API Endpoint

Get transaction details from the pending pool.

Updated on
Oct 4, 2023

/wallet/gettransactionfrompending REST API Endpoint

Body Parameters

value
string
REQUIRED
The transaction ID of the pending transaction to retrieve

Returns

result
It Indicates whether the transaction was successfully retrieved
transaction
The transaction object with the following fields:
raw_data
An object that contains the transaction details with the following fields:
contract
An array of contracts to be executed as part of the transaction
ref_block_bytes
The ref block bytes of the transaction
ref_block_hash
The ref block hash of the transaction
expiration
This is a timestamp indicating the expiration time of the transaction in milliseconds
data
The data included in the transaction
timestamp
This is a timestamp indicating the time at which the transaction was created in milliseconds
fee_limit
The maximum amount of energy that can be consumed by the transaction
signature
The signature(s) of the transaction
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/gettransactionfrompending \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"value": "f34f1c799700a9d83b67fdcadd7be697010a8dbbcd520de4ac46a648e3e7ae3d"
7
}
8
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free