Wallet transfers
Three endpoints with shared parameters. Records are newest first.
| Endpoint | Returns |
|---|---|
/v1/ton/wallets/{address}/transfers |
GRAM transfers. |
/v1/ton/wallets/{address}/jettons |
Tokens (jetton): transfers, mints and burns. |
/v1/ton/wallets/{address}/nfts |
NFT ownership changes, including on-chain Telegram gifts. |
Authentication
Section titled “Authentication”Api-Key header required.
Parameters
Section titled “Parameters”| Name | Location | Type | Required | Description |
|---|---|---|---|---|
address |
path | string | yes | Address in any form. |
direction |
query | in | out | all |
no | in — where the address is the recipient, out — where it is the sender, all — both. A transfer to itself is one record with direction: "self"; it is in both in and out, so adding up these feeds counts it twice. Lowercase only, otherwise 422. Defaults to all. |
from |
query | date-time | no | Only events from this moment on (inclusive). |
to |
query | date-time | no | Only events before this moment (exclusive). Must be later than from, otherwise 422. |
page |
query | integer | no | Page number, starting at 1. No upper bound. |
limit |
query | integer | no | Records per page, 1–1000. Defaults to 100. |
include_aborted |
query | boolean | no | /jettons and /nfts only: add records of failed transactions (aborted: true). true/false, also 1/0; case-insensitive. Defaults to false. |
from and to:
- ISO 8601:
2026-11-01T12:00:00Z, with an offset2026-11-01T15:00:00+03:00, a date alone2026-11-01— 00:00 UTC (03:00 MSK) of that day. Without a time zone — UTC. - Or unix time in seconds:
1793534400, a fractional part is allowed (1793534400.5). A number above 2·10¹⁰ is read as milliseconds:1793534400000is the same moment. - Encode
+in an offset as%2B, otherwise it becomes a space and you get422. - Fractions of a second are dropped, for both ISO 8601 and unix time, before any check: comparison is per second. Two moments within one second —
422(fromnot earlier thanto), not an empty page. - Allowed from
1970-01-01T00:00:00Zinclusive to2106-02-07T06:28:16Z(2³² s) exclusive, otherwise422.
Parameters the endpoint does not have (e.g. include_aborted on
/transfers) are ignored without an error.
Examples
Section titled “Examples”curl -H "Api-Key: $API_KEY" \ "https://api.telesint.dev/v1/ton/wallets/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L/transfers?direction=in&limit=100"import os, time, requestsfrom datetime import datetime, timezone
def wallet_transfers(address: str, max_attempts: int = 5, **params): # /transfers only: duplicates by message_hash (/jettons and /nfts use the record key). # One pass: no repeat after a load (step 3 of the overview). params.setdefault("to", int(datetime.now(timezone.utc).timestamp())) limit = int(params.pop("limit", 100)) seen, offset, failures = set(), 0, 0 while True: try: response = requests.get( f"https://api.telesint.dev/v1/ton/wallets/{address}/transfers", params={**params, "page": offset // limit + 1, "limit": limit}, headers={"Api-Key": os.environ["API_KEY"]}, timeout=30, ) except (requests.exceptions.ConnectionError, requests.exceptions.Timeout): failures += 1 # network error: retry with backoff 1, 2, 4, 8 s if failures >= max_attempts: raise time.sleep(2 ** (failures - 1)) continue if response.status_code == 429 or response.status_code >= 500: failures += 1 if failures >= max_attempts: response.raise_for_status() if response.status_code == 503 and failures >= 2 and limit % 2 == 0: limit //= 2 # likely a timeout: smaller page, offset is a multiple of the new limit # Retry-After if present; otherwise backoff 1, 2, 4, 8 s time.sleep(int(response.headers.get("Retry-After", 2 ** (failures - 1)))) continue failures = 0 # 400 insufficient_balance is possible only if the walk takes over an hour response.raise_for_status() body = response.json() for item in body["data"]["items"]: if item["message_hash"] not in seen: seen.add(item["message_hash"]) yield item if not body["pagination"]["has_next_page"]: return offset += limit
for transfer in wallet_transfers("UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L", direction="in"): print(transfer["time"], transfer["direction"], transfer["value_ton"])const url = new URL( 'https://api.telesint.dev/v1/ton/wallets/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L/transfers',);url.searchParams.set('direction', 'in');url.searchParams.set('limit', '100');
const res = await fetch(url, { headers: { 'Api-Key': process.env.API_KEY } });if (!res.ok) throw new Error(`HTTP ${res.status}`);const { data, pagination } = await res.json();Response — 200 OK
Section titled “Response — 200 OK”Response to the cURL request above. The address has 12 incoming transfers (see the summary), all on the first page; the last, oldest one is shown.
{ "data": { "wallet": { "address": "UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L", "address_raw": "0:b915a55524feae38acf18e9bf71838478106b3e1fc2573edcdf08da31c108ec7", "is_telegram_wallet": true, "owner": { "id": 12345, "update": "2026-11-10T03:58:32Z" }, "explorer_url": "https://tonviewer.com/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L" }, "items": [ { "…": "11 more incoming transfers, newer" }, { "tx_hash": "HQwzexiEcojqMLAJScnC1ZFdKI/NoYRcqXWryIHacMY=", "tx_hash_hex": "1d0c337b18847288ea30b00949c9c2d5915d288fcda1845ca975abc881da70c6", "message_hash": "plrSaF7NLr6s8n1cctaJg20ipgdvM2iO0Ivhs7xADzA=", "lt": 112919135000021, "time": "2026-10-28T13:05:07Z", "direction": "in", "source": { "address": "UQB4F-TTGJIHkywFmsmTP0Wk-LxbwZ41QC4TtnwHiv8AW3ku", "address_raw": "0:7817e4d3189207932c059ac9933f45a4f8bc5bc19e35402e13b67c078aff005b", "is_telegram_wallet": true, "owner": null }, "destination": { "address": "UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L", "address_raw": "0:b915a55524feae38acf18e9bf71838478106b3e1fc2573edcdf08da31c108ec7", "is_telegram_wallet": true, "owner": { "id": 12345, "update": "2026-11-10T03:58:32Z" } }, "value_nano": "100100000", "value_ton": 0.1001, "comment": "thanks", "bounce": false, "bounced": false, "opcode": 0, "delivered": true, "destination_status": "uninit", "explorer_url": "https://tonviewer.com/transaction/1d0c337b18847288ea30b00949c9c2d5915d288fcda1845ca975abc881da70c6" } ] }, "pagination": { "page": 1, "limit": 100, "has_next_page": false }}Common record fields — all three feeds
Section titled “Common record fields — all three feeds”| Field | Type | Notes |
|---|---|---|
tx_hash, tx_hash_hex |
string | Transaction hash in base64 and hex. For GRAM — the recipient’s transaction, including in out records. For tokens and NFTs — the transaction from the TON-ETL dataset as is. |
lt |
integer | Logical time of the same transaction (order within one second). |
time |
string (date-time) | Time of the same transaction, UTC, to the second. |
direction |
in | out | self |
Relative to the requested address: in — received, out — sent, self — a transfer to itself. null only in transaction by hash. |
source, destination |
account | null | Sender and recipient. For GRAM both sides are always set. For tokens — the owners, not the jetton wallets; a mint (mint) has source: null, a burn (burn) has destination: null. Their owner is the current owner of the address, not the one who made the transfer. |
comment |
string | null | Sender’s text comment. An encrypted or binary comment — null. For a token — the comment from the forward payload. |
explorer_url |
string | Link to the transaction on tonviewer. |
direction takes only these values. destination_status, type and
reason are open sets: new values may appear.
Record key
Section titled “Record key”| Feed | Key |
|---|---|
/transfers |
message_hash — one record per message. |
/jettons |
tx_hash, type, source, destination. |
/nfts |
tx_hash, nft, source, destination. |
For tokens and NFTs, tx_hash alone is not enough: one transaction may have several
records. Remove duplicates after a page shift by the key, comparing addresses by
address_raw.
Only /transfers — GRAM
Section titled “Only /transfers — GRAM”| Field | Type | Notes |
|---|---|---|
message_hash |
string | Message hash (base64). The record key. |
value_nano |
string | Message amount in nanotons, as a string (exact): what the recipient got. Network fees are not included; the sender was charged more. May be "0". 1 GRAM = 10⁹ nanotons. |
value_ton |
number | Amount in GRAM. |
delivered |
boolean | null | false — the recipient did not accept; the funds returned to the sender. null — only in some records loaded before 2026-11-12. See the overview. |
destination_status |
string | null | Recipient before the transfer: active, uninit/nonexist (not activated yet), frozen. null — as for delivered. |
bounce |
boolean | null | The sender allowed the transfer to be returned if the recipient does not accept it. null — not in the dataset. |
bounced |
boolean | null | This message is itself a refund to the sender: a separate incoming record, not counted in amounts. null — not in the dataset, treated as “not a refund”. |
opcode |
integer | null | Signed 32-bit number: codes from 0x80000000 are negative (excess — -718113061). 0 — text comment (may be an empty string), null — empty message, 560454219 — encrypted comment, other — contract service message. Common codes — in the overview. |
/transfers has all internal messages of the wallet, service ones included: excess,
transfer to its own jetton wallet, forward_ton_amount, DEX and NFT calls, zero
amounts. A side may be a jetton wallet or a contract. Tell them apart by opcode: a
person’s transfer is 0, null or 560454219 (encrypted comment).
Failed transactions are not hidden in /transfers: a recipient rejection shows as
delivered: false, the refund as a separate record with bounced: true.
Only /jettons — tokens
Section titled “Only /jettons — tokens”| Field | Type | Notes |
|---|---|---|
type |
string | transfer, mint or burn. |
amount |
string | null | Amount in the token’s minimal units, as a string (exact). |
amount_display |
string | null | Amount in whole tokens, exact: amount / 10^decimals. A decimal string without exponent or trailing zeros, an integer without a point ("67"). For example, 1500000 USDT (6 decimals) — "1.5". null if decimals are unknown. |
jetton_master |
jetton | null | Token. |
aborted |
boolean | The transaction failed. The field is always present; records with true are in the data but come only with include_aborted=true. |
A failed token transfer is a record with aborted: true. There is no separate token
refund record. Tokens sent to a not yet activated wallet show up after it is
activated or appears in a profile.
Only /nfts — NFT
Section titled “Only /nfts — NFT”| Field | Type | Notes |
|---|---|---|
nft |
contract | NFT address. |
collection |
contract | null | NFT collection. |
is_telegram_gift |
boolean | On-chain Telegram gift: the NFTs of its collection are issued by Telegram. A new gift type is recognized after its first withdrawal; false may become true in older records too. |
aborted |
boolean | The transaction failed. The field is always present; records with true are in the data but come only with include_aborted=true. |
Withdrawing a gift on-chain is an NFT transfer from a Telegram system address
(0:158136239adb15dd59df90c641f9efd312cfeb8664f218f4c3e5fce9d95e6c07,
owner: null) to the user’s wallet, not a mint with source: null. The sender of
the gift in Telegram is not visible. Gifts that were never withdrawn are not in the data.
On a marketplace sale, a side is the sale contract. The record does not tell a gift
from a sale; the price is in separate records in /transfers.
Account
Section titled “Account”| Field | Type | Notes |
|---|---|---|
address |
string | Address in UQ… form. |
address_raw |
string | Address in raw form. |
is_telegram_wallet |
boolean | Activated Telegram wallet per the list as of the last load, see the overview. |
owner |
{ id, update } | null |
User who shows this wallet in the profile at request time. |
Contract
Section titled “Contract”| Field | Type | Notes |
|---|---|---|
address |
string | Contract address in EQ… form. |
address_raw |
string | Address in raw form. |
Jetton
Section titled “Jetton”contract fields, plus:
| Field | Type | Notes |
|---|---|---|
symbol |
string | null | Short name, e.g. USD₮. |
name |
string | null | Full name. |
decimals |
integer | null | Number of decimal places. |
verified |
boolean | The token is on Tonkeeper’s verified list — the current list, so it may change in older records too. |
A token is identified only by its contract address. The name is set by the issuer, and fakes
named after well-known tokens are common: they have verified: false. The token list is updated once a day, around 06:40 UTC (09:40 MSK); changes reach the API within an hour. A token that appeared after
the token list was last updated comes with symbol, name, decimals set to null and
amount_display: null. Metadata is filled in on every response: after the list
update the same records come with symbol.
data.wallet — the requested address with the same fields as account, plus explorer_url.
/jettons and /nfts have no delivered, destination_status, bounce, opcode
or message_hash: failure is indicated by aborted there.
/jettons example
Section titled “/jettons example”source and destination are the main wallets of the token sender and recipient,
not the service jetton wallets. So owner and matching against a profile wallet
work the same as for GRAM.
{ "data": { "wallet": { "address": "UQBGly5wkNuNZpgviw7UaFcfdaO0Rd_tLRz2Yv3vAEZeNZsA", "…": "as in /transfers" }, "items": [ { "tx_hash": "SR6w8eF2C7vCjfXZzcxmDqkNfeJ/7kh+o4NdT/LTD/k=", "tx_hash_hex": "491eb0f1e1760bbbc28df5d9cdcc660ea90d7de27fee487ea3835d4ff2d30ff9", "lt": 100448650000005, "time": "2026-08-31T17:42:02Z", "direction": "in", "source": { "address": "UQDQBGGnJ8qLW24RvsqEXDD5BNIEg9ktJhNXMzKL6R7ThrO5", "address_raw": "0:d00461a727ca8b5b6e11beca845c30f904d20483d92d26135733328be91ed386", "is_telegram_wallet": false, "owner": null }, "destination": { "address": "UQBGly5wkNuNZpgviw7UaFcfdaO0Rd_tLRz2Yv3vAEZeNZsA", "address_raw": "0:46972e7090db8d66982f8b0ed468571f75a3b445dfed2d1cf662fdef00465e35", "is_telegram_wallet": true, "owner": { "id": 23456, "update": "2026-11-10T08:12:40Z" } }, "comment": null, "type": "transfer", "amount": "67000000000", "amount_display": "67", "jetton_master": { "address": "EQDTBhs52jXA9S7P3xuSvCohgYqbklQdJQLQ98A3Nld7QNMP", "address_raw": "0:d3061b39da35c0f52ecfdf1b92bc2a21818a9b92541d2502d0f7c03736577b40", "symbol": "67", "name": "SIXSEVEN", "decimals": 9, "verified": true }, "aborted": false, "explorer_url": "https://tonviewer.com/transaction/491eb0f1e1760bbbc28df5d9cdcc660ea90d7de27fee487ea3835d4ff2d30ff9" } ] }, "pagination": { "page": 1, "limit": 100, "has_next_page": false }}/nfts example
Section titled “/nfts example”is_telegram_wallet of the sides is as of the last load, owner as of request
time. So neither side
may look like a Telegram or profile wallet: for example, the address was in a
profile earlier.
{ "data": { "wallet": { "address": "UQCf22dagKde5JlQiuf0AN1HpZdALk7f0dt4HQdZrQsWztM5", "…": "as in /transfers" }, "items": [ { "tx_hash": "+RLslEjKrPlzZw2+E88eO1/rKKgHsFJCqBuA2Wv48xw=", "tx_hash_hex": "f912ec9448caacf973670dbe13cf1e3b5feb28a807b05242a81b80d96bf8f31c", "lt": 112177502000003, "time": "2026-10-25T00:21:08Z", "direction": "in", "source": { "address": "UQAK7AlX5xHjP2GFV4EoQiTC_3paNsl8DXgllGj3Qr_-9d5K", "address_raw": "0:0aec0957e711e33f61855781284224c2ff7a5a36c97c0d78259468f742bffef5", "is_telegram_wallet": false, "owner": null }, "destination": { "address": "UQCf22dagKde5JlQiuf0AN1HpZdALk7f0dt4HQdZrQsWztM5", "address_raw": "0:9fdb675a80a75ee499508ae7f400dd47a597402e4edfd1db781d0759ad0b16ce", "is_telegram_wallet": false, "owner": null }, "comment": null, "nft": { "address": "EQDGDDMTWnDhVG6O6h1SyS5VjjB86RFGBsE5xckt_TK2-FoS", "address_raw": "0:c60c33135a70e1546e8eea1d52c92e558e307ce9114606c139c5c92dfd32b6f8" }, "collection": { "address": "EQC3dNlesgVD8YbAazcauIrXBPfiVhMMr5YYk2in0Mtsz0Bz", "address_raw": "0:b774d95eb20543f186c06b371ab88ad704f7e256130caf96189368a7d0cb6ccf" }, "is_telegram_gift": false, "aborted": false, "explorer_url": "https://tonviewer.com/transaction/f912ec9448caacf973670dbe13cf1e3b5feb28a807b05242a81b80d96bf8f31c" } ] }, "pagination": { "page": 1, "limit": 100, "has_next_page": false }}Pagination
Section titled “Pagination”pagination.has_next_page indicates whether another page is available; there is
no total count. Order: descending by time, then lt, then the record key;
the order is stable. A page past the end of the feed — 200 with empty items, free,
except for an address with an owner in the response (see billing).
History may be backfilled, and pages shift. How to walk the whole feed — in the overview.
Deep pages and direction=all are heavier for the server. If the request exceeds
the server timeout (about 10 s), you get 503 — lower limit or narrow the
from/to window. Start with limit=100 and direction=in/out.
Billing
Section titled “Billing”Included in the hour of access to the address, see billing.
Errors
Section titled “Errors”400— unreadable address, testnet address, or insufficient balance.422— invaliddirection,pageless than1,limitoutside1–1000, unreadable date or a date outside 1970–2106,fromnot earlier thanto(including within one second), unreadable or emptyinclude_aborted. A date out of range andfromnot earlier thantodiffer only bymsg, see errors.503— blockchain data is temporarily unavailable or the request exceeded the timeout, withRetry-After.