TON - Retrieve Token Transaction Information
Call the TON /api/v3/jetton/transfers endpoint to list a wallet's Jetton (token) transfers, then divide each raw amount by 10^decimals.
This guide explains how to retrieve Jetton token transaction history on the TON blockchain using Tatum's API. Jettons are tokenized assets on TON, similar to ERC-20 tokens on Ethereum.
Fetching Jetton Transactions
To retrieve token (Jetton) transaction history for a specific TON wallet address, call the GET /api/v3/jetton/transfers endpoint of the TON Indexer (REST API v3) with the wallet address as owner_address.
Example Request:
curl --location 'https://ton-mainnet.gateway.tatum.io/api/v3/jetton/transfers?owner_address=UQDQE50D-x9pjfzk5H4cj14k1HD44TC1AtqHBjmqupeQGkSU&limit=50&offset=0&sort=desc' \
--header 'x-api-key: {YOUR_API_KEY}'Example Response (trimmed):
{
"jetton_transfers": [
{
"source": "0:0D3A5C...",
"destination": "0:D0139D...",
"amount": "3",
"jetton_master": "0:B113A9...",
"transaction_hash": "N6pp/FCPTTidFc3...",
"transaction_now": 1740738811,
"trace_id": "XrVfjxGI1p23vXJg..."
},
{
"source": "0:0D3A5C...",
"destination": "0:D0139D...",
"amount": "10",
"jetton_master": "0:B113A9...",
"transaction_hash": "046zm5ADuQeeaDZp...",
"transaction_now": 1740674886
}
],
"metadata": {
"0:B113A994B5024A16719F69139328EB759596C38A25F59028B146FECDC3621DFE": {
"token_info": [
{
"type": "jetton_masters",
"name": "Tether USD",
"symbol": "USD₮",
"description": "Tether Token for Tether USD",
"extra": {
"decimals": "6"
}
}
]
}
}
}The response contains:
| Field | Description |
|---|---|
source | Sender address |
destination | Receiver address |
amount | Raw token amount (needs conversion) |
jetton_master | Token contract address |
transaction_hash | Unique transaction identifier |
transaction_now | Unix timestamp of the transaction |
trace_id | Internal trace ID |
metadata.token_info.symbol | The token symbol (e.g., USD₮) |
metadata.token_info.extra.decimals | Number of decimals (e.g., 6 for USDT) |
Converting Token Amounts
Jettons use the smallest unit representation, meaning you need to divide by 10^decimals to get the real amount.
Steps:
- Find the decimals value in the metadata
USDT metadata shows: "decimals": "6"
This means 1 USDT = 1,000,000 units.
- Convert the raw "amount" to a human-readable value
Divide the amount by 10^6. Example calculation:
Raw Amount (amount field) | USDT Equivalent (amount / 10^6) |
|---|---|
"amount": "3" | 0.000003 USDT |
"amount": "10" | 0.00001 USDT |
Good To Know
- For all parameters of this endpoint, see
GET /api/v3/jetton/transfersin the TON Center API v3 reference. /v3/actionsfiltered byaction_type=jetton_transferreturns an empty list; see TON /v3/actions does not return Jetton transfers.
Updated 1 day ago