Skip to main content

GET Pending Transactions

/api/v1/pendingtxs
info

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.

tip

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:

  1. trx_price: current TRX/USDT price
  2. pending_transactions_amount: number of PENDING transactions in queue originating from requested address.
  3. pending_total_price_fee: total fee in TFN (former RTRX) required on the balance to process all pending transactions.
  4. processing_transactions_amount: number of transactions currently being in PROCESSING
  5. processing_total_price_fee: total fee in TFN (former RTRX) required on the balance to process all transactions that are in PROCESSING.

Important considerations and usage tips:

  1. Transatron will not move transactions from PENDING to PROCESSING if there's not enough funds on a internal fee account to process these transactions.
  2. The one can get approximate fees in USDT by multiplying ..._price_fee parameter by trx_price which 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
}