Skip to Content
APITransactions and TransfersGet Transaction List

Get Transaction List

1. Overview & Typical Use

Query paginated on-chain transaction lists filtered by time, address, token, block, and other conditions.

  • Typical use: browse the latest network-wide transactions, query historical transactions by address, filter transactions by block.
  • When not to use: for single transaction details use “Get Transaction Details by Hash”; for token transfers use the corresponding transfer list endpoint.

2. Endpoint & Authentication

GET /api/transaction

For Base URL and authentication, see Common Network & Authentication.

3. Request

ParameterTypeRequiredDefaultDescription
startintegerNo0Start offset; start + limit ≤ 10000, excess is silently capped
limitintegerNo10Page size, max 50 (excess is silently truncated)
sortstringNo-timestampSort order; -timestamp = reverse chronological
countbooleanNofalseWhether to return the total transaction count
start_timestampintegerNo—Start time, ms timestamp
end_timestampintegerNo—End time, ms timestamp
fromAddressstringNo—Sender address
toAddressstringNo—Recipient address
addressstringNo—Account address filter (matches sender or recipient)
tokensstringNo—Tokens involved
blockintegerNo—Filter by block number
typestringNo—Transaction type
directionstringNoallTransfer direction: in, out, all
confirmstringNo—Confirmation status: 0 confirmed / 1 unconfirmed / 2 reverted / empty = all; comma-separated combinations like 0,1 are supported
dry-runstringNo—When set to any non-empty value, skips the database total count query; total returns 0, improving response speed

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredTotal match count (capped at 10000, used for pagination)—
rangeTotalintegerRequiredTotal count within the filtered range—
dataarrayRequiredTransaction record array; see below—
wholeChainTxCountintegerRequiredTotal network-wide transaction count—
contractMapobjectOptionalAddress → whether it is a contract mapping—
contractInfoobjectOptionalContract address → label information mapping (value schema below)—
normalAddressInfoobjectOptionalNon-contract address → risk information mapping; each address value observed to contain only risk (boolean), no other sub-fields—

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
blockintegerRequiredBlock height—
hashstringRequiredTransaction hash—
timestampintegerRequiredBlock timems timestamp
ownerAddressstringRequiredInitiator address (Base58, starts with T)—
toAddressstringRequiredRecipient address—
toAddressListarrayRequiredRecipient address list—
contractTypeintegerRequiredContract type number—
confirmedbooleanRequiredWhether confirmed—
revertbooleanRequiredWhether reverted—
contractDataobjectRequiredContract call data; sub-fields see the contractData object table below—
contractRetstringRequiredContract execution result (e.g. SUCCESS)—
resultstringRequiredTransaction result—
amountstringRequiredTransaction amount (raw string)—
costobjectRequiredResource consumption details; sub-fields see the cost object table below—
tokenInfoobjectRequiredToken metadata (value schema below)—
tokenTypestringRequiredToken type identifier—
noteLevelintegerRequiredRisk level annotation—
cheatStatusbooleanRequiredWhether this is a fraudulent transaction—
riskTransactionbooleanRequiredRisk transaction flag—
SmartCallsstringRequiredSmart contract call information (empty string for non-contract calls)—
EventsstringRequiredContract event information (empty string for non-contract calls)—
datastringRequiredRaw transaction data (usually empty string)—
feestringRequiredFee information (usually empty string)—
idstringRequiredRecord ID (usually empty string)—
trigger_infoobjectOptionalContract call method and parameters (only present for smart contract calls); schema is a compatible superset of transaction-info trigger_info — additionally contains data (raw hex call data) and methodName (human-readable method name)—
toAddressTagstringOptionalRecipient address label; key only present when the recipient has a public label, value is the label string—
ownerAddressTagstringOptionalSender address label; key only present when the sender has a public label, value is the label string—

contractInfo[<addr>] object schema (8 fields):

FieldTypeRequiredDescription
tag1stringRequiredPrimary label (project name / contract name / exchange name)
tag1UrlstringRequiredURL of the primary label (may be an empty string)
namestringRequiredFormal contract / project name
isTokenbooleanRequiredWhether it is a token contract (true / false)
vipbooleanRequiredWhether it is a VIP entity (true / false)
riskboolean | stringRequiredRisk label; most endpoints return boolean, some return a string risk type (blacklist / fraud, etc.)
publicTagDescstringRequiredPublic label description; empty string for most accounts
publicTagstringOptionalPublic label (e.g. "USDT Token" / "Binance"); returned only for well-known entities or certain endpoints

data[].tokenInfo / contractData.tokenInfo object schema (9 common fields):

FieldTypeRequiredDescriptionUnit/Precision
tokenIdstringRequiredToken contract address (Base58); TRX placeholder is _—
tokenAbbrstringRequiredToken abbreviation (e.g. USDT / TRX)—
tokenNamestringRequiredToken name—
tokenDecimalintegerRequiredDecimal precision (required to convert the amount field)—
tokenCanShowintegerRequiredWhether displayable (1 yes / 0 no)—
tokenTypestringRequiredToken type (trc10 / trc20 / trc721 / trc1155)—
tokenLogostringRequiredToken logo URL—
tokenLevelstringRequiredToken level: 0 (UNKNOWN), 1 (NEUTRAL), 2 (OK), 3 (SUSPICIOUS), 4 (UNSAFE)—
vipbooleanRequiredWhether it is a VIP token—

contractData object

FieldTypeRequiredDescriptionUnit/Precision
owner_addressstringRequiredInitiator address—
datastringOptionalCall data (present for smart contract calls)hex
to_addressstringOptionalRecipient address (present for TRX/TRC10 transfers)—
amountintegerOptionalTransfer amount (present for TRX/TRC10 transfers)sun (TRX) / raw value (TRC10)
asset_namestringOptionalTRC10 asset name (present for TRC10 transfers)—
contract_addressstringOptionalCalled contract address (present for smart contract calls)—
tokenInfoobjectOptionalToken metadata (present when a token is involved); schema shared with data[].tokenInfo above—

cost object

FieldTypeRequiredDescriptionUnit/Precision
feeintegerRequiredTotal feesun
net_feeintegerRequiredBandwidth feesun
net_usageintegerRequiredBandwidth consumedbytes
energy_feeintegerRequiredEnergy feesun
energy_usageintegerRequiredCaller energy consumed—
energy_usage_totalintegerRequiredTotal energy consumed—
origin_energy_usageintegerRequiredContract owner energy consumed—
energy_penalty_totalintegerRequiredTotal energy penalty—
date_createdintegerOptionalTransaction creation time (returned for certain transaction types)s timestamp

5. Errors

For HTTP status codes, see Common Errors. Notes for this endpoint:

  • Parameter violations are not reported as errors: limit > 50, start + limit > 10000, etc. are silently truncated/capped and return 200; do not rely on errors to detect parameter issues.
  • Empty result is not an error: no matches returns 200 + data: [], which is a normal response.
Last updated on: