Indexer API
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns blocks by specified filters.
/api/v3/blocks
Block workchain.
Block shard id. Must be sent with workchain. Example: 8000000000000000
Block seqno. Must be sent with workchain and shard.
Query blocks with generation UTC timestamp after given timestamp.
Query blocks with generation UTC timestamp before given timestamp
Query blocks with lt >= start_lt
Query blocks with lt <= end_lt
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort results by UTC timestamp.
asc
, desc
Returns one masterchain block (with seqno equal to argument) and some number of shard blocks (with masterchain_block_ref.seqno equal to argument)
/api/v3/masterchainBlockShardState
Masterchain block seqno
Returns all workchain blocks, that appeared after previous masterchain block.
Note: this method is not equivalent with /api/v2/shards.
/api/v3/masterchainBlockShards
Masterchain block seqno
Returns transactions by specified filters.
/api/v3/transactions
Block workchain.
Block shard id. Must be sent with workchain. Example: 8000000000000000
Block seqno. Must be sent with workchain and shard. Must be sent in hex form.
List of account addresses to get transactions. Can be sent in hex, base64 or base64url form.
Exclude transactions on specified account addresses
Transaction hash. Acceptable in hex, base64 and base64url forms.
Transaction lt.
Query transactions with generation UTC timestamp after given timestamp.
Query transactions with generation UTC timestamp before given timestamp
Query transactions with lt >= start_lt
Query transactions with lt <= end_lt
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort transactions by lt.
asc
, desc
Returns transactions from masterchain block and from all shards.
/api/v3/transactionsByMasterchainBlock
Masterchain block seqno
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort transactions by lt.
none
, asc
, desc
Returns transactions whose inbound/outbound message has the specified hash. This endpoint returns list of Transaction objects since collisions of message hashes can occur.
/api/v3/transactionsByMessage
Message direction.
in
, out
Message hash. Acceptable in hex, base64 and base64url forms.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Returns parent and/or children for specified transaction.
/api/v3/adjacentTransactions
Transaction hash. Acceptable in hex, base64 and base64url forms.
Direction transactions by lt.
in
, out
, both
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort transactions by lt.
none
, asc
, desc
Returns messages by specified filters.
/api/v3/messages
Message hash. Acceptable in hex, base64 and base64url forms.
The source account address. Can be sent in hex, base64 or base64url form. Use value null
to get external messages.
The destination account address. Can be sent in hex, base64 or base64url form. Use value null
to get log messages.
Message body hash. Acceptable in hex, base64 and base64url forms.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Returns NFT collections.
/api/v3/nft/collections
NFT collection address. Must be sent in hex, base64 or base64url forms.
Address of NFT collection owner. Must be sent in hex, base64 or base64url forms.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Returns NFT items.
/api/v3/nft/items
NFT address. Must be sent in hex, base64 or base64url forms.
Address of NFT owner. Must be sent in hex, base64 or base64url forms.
NFT collection address. Must be sent in hex, base64 or base64url forms.
NFT Item index. Use it together with collection address.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Returns NFT transfers by specified filters.
/api/v3/nft/transfers
Address of NFT owner. Must be sent in hex, base64 or base64url forms.
NFT item address. Must be sent in hex, base64 or base64url forms.
NFT collection address. Must be sent in hex, base64 or base64url forms.
Direction transactions by lt.
in
, out
, both
Query transactions with generation UTC timestamp after given timestamp.
Query transactions with generation UTC timestamp before given timestamp
Query transactions with lt >= start_lt
Query transactions with lt <= end_lt
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort transactions by lt.
asc
, desc
Returns Jetton masters by specified filters.
/api/v3/jetton/masters
Jetton Master address. Must be sent in hex, base64 or base64url forms.
Address of Jetton Master's admin. Must be sent in hex, base64 or base64url forms.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Returns Jetton wallets by specified filters.
/api/v3/jetton/wallets
Jetton wallet address. Must be sent in hex, base64 or base64url forms.
Address of Jetton wallet's owner. Must be sent in hex, base64 or base64url forms.
Jetton Master. Must be sent in hex, base64 or base64url forms.
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Returns Jetton transfers by specified filters.
/api/v3/jetton/transfers
Account address. Must be sent in hex, base64 or base64url forms.
Jetton wallet address. Must be sent in hex, base64 or base64url forms.
Jetton master address. Must be sent in hex, base64 or base64url forms.
Direction transactions by lt.
in
, out
, both
Query transactions with generation UTC timestamp after given timestamp.
Query transactions with generation UTC timestamp before given timestamp
Query transactions with lt >= start_lt
Query transactions with lt <= end_lt
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort transactions by lt.
none
, asc
, desc
Returns Jetton burns by specified filters.
/api/v3/jetton/burns
Account address. Must be sent in hex, base64 or base64url forms.
Jetton wallet address. Must be sent in hex, base64 or base64url forms.
Jetton master address. Must be sent in hex, base64 or base64url forms.
Query transactions with generation UTC timestamp after given timestamp.
Query transactions with generation UTC timestamp before given timestamp
Query transactions with lt >= start_lt
Query transactions with lt <= end_lt
Limit number of queried rows. Use with offset to batch read.
Skip first N rows. Use with limit to batch read.
Sort transactions by lt.
asc
, desc
Send external message in boc base64 format to TON network. Returns message hash in hex format.
External messages are sent from the outside to the smart contracts to make them perform certain actions. For instance, a wallet smart contract expects to receive external messages signed by the wallet's owner.
/api/v3/message
Run get method of smart contract. Stack supports only num
, cell
and slice
types:
[
{
"type": "num",
"value": "0x12a"
},
{
"type": "cell",
"value": "te6..." // base64 encoded boc with cell
},
{
"type": "slice",
"value": "te6..." // base64 encoded boc with slice
}
]
/api/v3/runGetMethod
Contract address in any format
Method name to run
stack arguments
Estimate fees required for query processing.
Body, init_code and init_data accepted in base64 encoded format.
/api/v3/estimateFee
Get wallet smart contract information. The following wallets are supported: v1r1
, v1r2
, v1r3
, v2r1
, v2r2
, v3r1
, v3r2
, v4r1
, v4r2
.
In case the account is not a wallet error code 409 is returned.
/api/v3/wallet
Smart contract address. Can be sent in raw or user-friendly form.