API V2 Reference
block ID
(-1,8000000000000000,4234234)blockchain block
1300800000000000000021734019131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB-2390truetruetruetruetruetrue16748267752381401100000023814011000001000000(-1,4234234,8000000000000000)["(-1",4234235,"8000000000000000)"]00131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DBValidation Error
Lite Server Timeout
masterchain block seqno
123456blockchain block shards
Validation Error
Lite Server Timeout
masterchain block seqno
123456blockchain blocks
Validation Error
Lite Server Timeout
masterchain block seqno
123456blockchain transactions
Validation Error
Lite Server Timeout
masterchain block seqno
123456blockchain config
config address
elector address
minter address
The address of the transaction fee collector.
dns root address
config boc in base64 format
te6ccgEBBgEARAABFP8A9KQT9LzyyAsBAgEgAgMCAUgEBQAE8jAAONBsIdMfMO1E0NM/MAHAAZekyMs/ye1UkzDyBuIAEaE0MdqJoaZ+YQ==Validation Error
Lite Server Timeout
masterchain block seqno
123456blockchain config
Validation Error
Lite Server Timeout
transaction ID
97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621blockchain transaction
55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e04512225713146000001true1645544908activePossible values: activePossible values: 2571314600000125713146000001TransOrdPossible values: 55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e04512255e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122(-1,4234234,8000000000000000)55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e04512225713146000001cskip_no_statePossible values: truetrueValidation Error
Lite Server Timeout
message ID
97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621transaction by message hash
55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e04512225713146000001true1645544908activePossible values: activePossible values: 2571314600000125713146000001TransOrdPossible values: 55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e04512255e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122(-1,4234234,8000000000000000)55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e04512225713146000001cskip_no_statePossible values: truetrueValidation Error
Lite Server Timeout
blockchain validators
123456789123456789123456789123456789Validation Error
Lite Server Timeout
blockchain masterchain head
1300800000000000000021734019131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB-2390truetruetruetruetruetrue16748267752381401100000023814011000001000000(-1,4234234,8000000000000000)["(-1",4234235,"8000000000000000)"]00131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DBValidation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxraw account
0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf123456789b5ee9c72410104010087000114ff00f4a413f4a0f2c80b0102012002030002d200dfa5ffff76a268698fe9ffe8e42c5267858f90e785ffe4f6aa6467c444ffb365ffc10802faf0807d014035e7a064b87d804077e7857fc10803dfd2407d014035e7a064b86467cd8903a32b9ba4410803ade68afd014035e7a045ea432b6363796103bb7b9363210c678b64b87d807d8040c249b3e4b5ee9c7241010101002600004811fd096c0000000000000000000000000000000000000000000000000000000000000000cb78264d123456789088b436a846d92281734236967970612f87fbd64a2cd3573107948379e8e4161088b436a846d92281734236967970612f87fbd64a2cd3573107948379e8e4161activePossible values: Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxomit this parameter to get last transactions
39787624000003omit this parameter to get last transactions
39787624000003100Example: 100blockchain account transactions
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxcontract get method name
get_wallet_addressSupported values: "NaN" for NaN type, "Null" for Null type, 10-base digits for tiny int type (Example: 100500), 0x-prefixed hex digits for int257 (Example: 0xfa01d78381ae32), all forms of addresses for slice type (Example: 0:6e731f2e28b73539a7f85ac47ca104d5840b229351189977bb6151d36b5e3f5e), single-root base64-encoded BOC for cell (Example: "te6ccgEBAQEAAgAAAA=="), single-root hex-encoded BOC for slice (Example: b5ee9c72010101010002000000)
["0:9a33970f617bcd71acf2cd28357c067aa31859c02820d8f01d74c88063a8f4d8"]method execution result
truetvm exit code
0Validation Error
Lite Server Timeout
te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgte6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgthe message has been sent
No content
Validation Error
Lite Server Timeout
No content
blockchain config
config address
elector address
minter address
The address of the transaction fee collector.
dns root address
config boc in base64 format
te6ccgEBBgEARAABFP8A9KQT9LzyyAsBAgEgAgMCAUgEBQAE8jAAONBsIdMfMO1E0NM/MAHAAZekyMs/ye1UkzDyBuIAEaE0MdqJoaZ+YQ==Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxblockchain account inspect
Validation Error
Lite Server Timeout
te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgdecoded message
v3R2Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxall forms and info
0:6e731f2e28b73539a7f85ac47ca104d5840b229351189977bb6151d36b5e3f5eValidation Error
Lite Server Timeout
enExample: ru-RU,ru;q=0.5te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgemulated event
e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e1234567890scam
false25713146000001Event is not finished yet. Transactions still happening
falseValidation Error
Lite Server Timeout
te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgemulated trace
["wallet","tep62_item"]falseValidation Error
Lite Server Timeout
enExample: ru-RU,ru;q=0.5te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgemulated message
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxenExample: ru-RU,ru;q=0.5te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHgemulated message to account
An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.
e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e1234567890scam
false25713146000001Event is not finished yet. Transactions still happening
falseTODO
3Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxaccount
0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf123456789unix timestamp
123456789activePossible values: nft_saleTon foundationtruehttps://ton.org/logo.pngtrue["get_item_data"]Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxaccount's domains
vasya.tonValidation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxaccept ton and all possible fiat currencies, separated by commas
["ton","usd","rub"]account jettons balances
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxomit this parameter to get last events
2575831700000210016684367631668436763enExample: ru-RU,ru;q=0.5account jettons history
25713146000001Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxjetton ID
0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621omit this parameter to get last events
2575831700000210016684367631668436763enExample: ru-RU,ru;q=0.5account jetton history
25713146000001Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxnft collection
0:06d811f426598591b32b2c49f29f66c821368e4acb1de16762b04e017453246510000Selling nft items in ton implemented usually via transfer items to special selling account. This option enables including items which owned not directly.
falseaccount nft items
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxomit this parameter to get last events
2575831700000210016684367631668436763enExample: ru-RU,ru;q=0.5nft history
25713146000001Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxShow only events that are initiated by this account
falsefilter actions where requested account is not real subject (for example sender or receiver jettons)
falseomit this parameter to get last events
257583170000022016684367631668436763enExample: ru-RU,ru;q=0.5account's events
25713146000001Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxevent ID or transaction hash in hex (without 0x) or base64url format
97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621filter actions where requested account is not real subject (for example sender or receiver jettons)
falseenExample: ru-RU,ru;q=0.5account's event
An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.
e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e1234567890scam
false25713146000001Event is not finished yet. Transactions still happening
falseTODO
3Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wx100Example: 100account's traces
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxaccount's subscriptions
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxnumber of days before expiration
account's expiring .ton dns
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxaccount's public key
NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3...Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wx16684367631668436763account's balance change
1000000000Validation Error
Lite Server Timeout
domain name with .ton or .t.me
wallet.tondomain info
date of expiring. optional. not all domain in ton has expiration date
Validation Error
Lite Server Timeout
domain name with .ton or .t.me
wallet.tondns record
0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bfhttp://12234.tontonstorage bag id
da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bfValidation Error
Lite Server Timeout
100Example: 150Example: 10nft collections
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxnft collection
0:FD595F36B4C1535BEC8461490D38EBB9AE3C38DD6ACE17CA63ABE2C6608BE1591697066733a2f2f516d596e437861746f5178433571584b79773971656768415853626f3544644e6a32387631487669437a47355359Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wx10000nft items
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxnft item
0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B58truecrypto.tonValidation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxomit this parameter to get last events
2575831700000210016684367631668436763enExample: ru-RU,ru;q=0.5nft history
25713146000001Validation Error
Lite Server Timeout
trace ID or transaction hash in hex (without 0x) or base64url format
97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621trace
["wallet","tep62_item"]falseValidation Error
Lite Server Timeout
event ID or transaction hash in hex (without 0x) or base64url format
97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621enExample: ru-RU,ru;q=0.5event
e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e1234567890scam
false25713146000001Event is not finished yet. Transactions still happening
falseValidation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wx10000account inscriptions
Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxomit this parameter to get last events
25758317000002100Example: 100enExample: ru-RU,ru;q=0.5account inscriptions history
25713146000001Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxnanoomit this parameter to get last events
25758317000002100Example: 100enExample: ru-RU,ru;q=0.5account inscriptions history
25713146000001Validation Error
Lite Server Timeout
ton20Possible values: transferPossible values: 1000000000nanoUQAs87W4yJHlF8mt29ocA4agnMrLsOP69jC1HPyBUjJay7Mginscription op template
comment0:0000000000000Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxjetton info
true3115000000000002000Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wx10000jetton's holders
2000Validation Error
Lite Server Timeout
event ID or transaction hash in hex (without 0x) or base64url format
97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621enExample: ru-RU,ru;q=0.5events
e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e1234567890scam
false25713146000001Event is not finished yet. Transactions still happening
falseValidation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxenExample: ru-RU,ru;q=0.5stacking pool info
Validation Error
Lite Server Timeout
account ID
0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621return also pools not from white list - just compatible by interfaces (maybe dangerous!)
falseenExample: ru-RU,ru;q=0.5a list of pools
Validation Error
Lite Server Timeout
accept ton and jetton master addresses, separated by commas
["ton"]accept ton and all possible fiat currencies, separated by commas
["ton","usd","rub"]tokens rates
Validation Error
Lite Server Timeout
accept jetton master address
usd16684367631668436763200token chart
Validation Error
Lite Server Timeout
account info
NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3...0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200bValidation Error
Lite Server Timeout
0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200bauth token
NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3...Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxaccount seqno
Validation Error
Lite Server Timeout
mode
0raw masterchain info ext
0257716879381991687938204131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)raw blockchain block
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)raw blockchain block state
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)mode
0raw blockchain block header
0131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxtarget block: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)raw account state
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)workchain
1shard
1exact
falseraw shard info
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)all raw shards info
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxcount
100lt
23814011000000hash
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85raw transactions
131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)mode
0count
100account ID
EQBzACE3K2aEM-t07gWqwWm1QGPD2MPSeo1ZQsKn6yzhW-wxlt
23814011000000a list of raw block transactions
100true131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
known block: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)target block: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)mode
0raw block proof
trueValidation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)mode
0raw config
0131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85Validation Error
Lite Server Timeout
block ID: (workchain,shard,seqno,root_hash,file_hash)
(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)raw shard block proof
Validation Error
Lite Server Timeout
Last updated