GET Pending Transactions
/api/v1/pendingtxs
This call only returns data when Delayed transactions are enabled for the API key (the default). If the setting is turned off for the key (Dashboard → API key → Advanced Settings), transactions broadcast immediately and nothing is buffered, so there are no pending transactions to report. See About Delayed Transactions.
Parameters/Body:
{"address":"<SENDER_ADDRESS>"}
This call returns an information about delayed transactions processing and statuses in the Transatron internal temporary storage.
It's important to send this call with the same API key that was used for broadcasting delayed transactions. Transatron will give no infromation to anyone requesting such data with different API key due to security reasons
Returned data:
trx_price: current TRX/USDT pricepending_transactions_amount: number ofPENDINGtransactions in queue originating from requested address.pending_total_price_fee: total fee in TFN (former RTRX) required on the balance to process all pending transactions.processing_transactions_amount: number of transactions currently being inPROCESSINGprocessing_total_price_fee: total fee in TFN (former RTRX) required on the balance to process all transactions that are inPROCESSING.
Important considerations and usage tips:
- Transatron will not move transactions from
PENDINGtoPROCESSINGif there's not enough funds on a internal fee account to process these transactions. - The one can get approximate fees in USDT by multiplying
..._price_feeparameter bytrx_pricewhich is returned in the same call.
Example of returned object:
{
"trx_price": 0.34694514,
"pending_total_price_fee": 5,
"pending_transactions_amount": 5,
"processing_transactions_amount": 0,
"processing_total_price_fee": 0
}