Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 3.96 KB

ton-api.mdx

File metadata and controls

96 lines (68 loc) · 3.96 KB

Ton API Overview

These endpoints provide essential data for interacting with the Ton blockchain, including accounts, transactions, blocks, and network information.

Account Info

Returns details about an account's balance, associated addresses, and wallet information on Ton Chain.

getAddressInformation
getExtendedAddressInformation
getWalletInformation
getAddressBalance
detectAddress
wallet

Blocks Info

Retrieves detailed information about Ton blocks, including block signatures, proofs, and shard information.

getMasterchainInfo
getMasterchainBlockSignatures
getShardBlockProof
lookupBlock
shards
getBlockHeader
blocks
masterchainBlockShards
masterchainBlockShardsState

Transactions Info

Provides data about specific transactions, transaction history, and related transaction operations.

getTransactions
getBlockTransactions
getBlockTransactionsExt
tryLocateTx
tryLocateResultTx
tryLocateSourceTx
transactions
transactionsByMessage
transactionsByMasterchainBlock
adjacentTransactions

Address Management

Methods to handle address packing and unpacking, as well as related state information.

packAddress
unpackAddress
addressBook

Consensus and Chain info

Provides data on Ton Chain consensus and configuration parameters.

getConsensusBlock
getConfigParam
getConfigAll
getOutMsgQueueSizes
masterchainInfo

Token Data

Retrieve specific token-related data on Ton Chain.

getTokenData
nft/transfers
nft/items
nft/collections
jetton/masters
jetton/wallets
jetton/transfers
jetton/burns

Executing Transactions

Enables sending data (e.g., serialized BOCs) and managing queries.

sendBoc
sendBocReturnHash
sendQuery

Gas Estimation

Calculates estimated fees for specific operations on Ton Chain.

estimateFee

Smart Contract Execution

Facilitates the execution of smart contract methods and handles JSON-RPC requests.

runGetMethod
jsonRPC
messages