
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@delab-team/ton-api-sdk
Advanced tools
Ton-Api-SDK is a library for interacting with the Ton blockchain API.
Ton-Api-SDK is a library for interacting with the Ton blockchain API. It provides a set of tools and features to help developers build applications and services that utilize the Ton blockchain efficiently.
yarn add @delab-team/ton-api-sdk
const tonApi = new TonApi('AFXRKLZM2YCJ67AAAAAE4XDRSACSYEOYKQKOSUVUKMXNMP2AKUTWJ2UVBPTTQZWRGZMLALY', 'mainnet');
const blockchain = tonApi.Blockchain
path
: /v2/blockchain/blocks/{block_id}method_name
: getBlockDatadescription
: Get blockchain block data path
: /v2/blockchain/blocks/{block_id}/transactionsmethod_name
: getTransactionsdescription
: Get transactions from block path
: /v2/blockchain/blocks/{block_id}/config/rawmethod_name
: getRawConfigdescription
: Get raw blockchain config from a specific block, if present.
=path
: /v2/blockchain/transactions/{transaction_id}method_name
: getTransactionsDatadescription
: Get transaction data path
: /v2/blockchain/messages/{msg_id}/transactionmethod_name
: getTransactionDataMessagedescription
: Get transaction data by message hash path
: /v2/blockchain/validatorsmethod_name
: getValidatorsdescription
: Get blockchain validators path
: /v2/blockchain/masterchain-headmethod_name
: getLastMasterchaindescription
: Get last known masterchain block
=path
: /v2/blockchain/accounts/{account_id}method_name
: getAccountInfodescription
: Get low-level information about an account taken directly from the blockchain. path
: /v2/blockchain/accounts/{account_id}/transactionsmethod_name
: getAccountTransactionsdescription
: Get account transactions path
: /v2/blockchain/accounts/{account_id}/methods/{method_name}method_name
: getMethodAccountdescription
: Execute get method for account path
: /v2/blockchain/messagemethod_name
: postMessagedescription
: Send message to blockchain path
: /v2/blockchain/configmethod_name
: getBlockchainConfigdescription
: Get blockchain config path
: /v2/blockchain/config/rawmethod_name
: getRawBlockchainConfigdescription
: Get raw blockchain config path
: /v2/blockchain/accounts/{account_id}/inspectmethod_name
: getAccountInspectdescription
: Blockchain account inspect path
: /v2/events/emulatemethod_name
: postEmulateEventsdescription
: Emulate sending message to blockchain path
: /v2/traces/emulatemethod_name
: postEmulateTracesdescription
: Emulate sending message to blockchain path
: /v2/wallet/emulatemethod_name
: postEmulateWalletdescription
: Emulate sending message to blockchain path
: /v2/accounts/{account_id}/events/emulatemethod_name
: postMessageBlockchaindescription
: Emulate sending message to blockchain path
: /v2/address/{account_id}/parsemethod_name
: getParseAddressdescription
: parse address and display in all formats
=path
: /v2/accounts/_bulkmethod_name
: postBulkdescription
: Get human-friendly information about several accounts without low-level details. path
: /v2/accounts/{account_id}method_name
: getHumanFriendlyInfodescription
: Get human-friendly information about an account without low-level details. path
: /v2/accounts/{account_id}/dns/backresolvemethod_name
: getAccountsDomainsdescription
: Get account's domains path
: /v2/accounts/{account_id}/jettonsmethod_name
: getAllJettonsBalancesdescription
: Get all Jettons balances by owner address path
: /v2/accounts/{account_id}/jettons/historymethod_name
: getTransferJettonsHistorydescription
: Get the transfer jettons history for account path
: /v2/accounts/{account_id}/jettons/{jetton_id}/historymethod_name
: getTransferJettonHistorydescription
: Get the transfer jetton history for account and jetton path
: /v2/accounts/{account_id}/nftsmethod_name
: getAllNftItemsdescription
: Get all NFT items by owner address path
: /v2/accounts/{account_id}/eventsmethod_name
: getEventsAccountdescription
: Get events for an account. Each 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. path
: /v2/accounts/{account_id}/events/{event_id}method_name
: getEventsAccountByIddescription
: Get event for an account by event_id path
: /v2/accounts/{account_id}/tracesmethod_name
: getTracesAccountdescription
: Get traces for account path
: /v2/accounts/{account_id}/subscriptionsmethod_name
: getAllSubscriptionsdescription
: Get all subscriptions by wallet address path
: /v2/accounts/{account_id}/reindexmethod_name
: postUpdateInternalCachedescription
: Update internal cache for a particular account path
: /v2/accounts/searchmethod_name
: getSearchdescription
: Search by account domain name path
: /v2/accounts/{account_id}/dns/expiringmethod_name
: getTonDnsdescription
: Get expiring account .ton dns path
: /v2/accounts/{account_id}/publickeymethod_name
: getPublicKeydescription
: Get public key by account id path
: /v2/accounts/{account_id}/diffmethod_name
: getAccountsBalanceChangedescription
: Get account's balance change ==
path
: /v2/accounts/{account_id}/nfts/historymethod_name
: getTransferNftHistorydescription
: Get the transfer nft history path
: /v2/nfts/collectionsmethod_name
: getNftCollectionsdescription
: Get NFT collections path
: /v2/nfts/collections/{account_id}method_name
: getNftCollectionsByAddressdescription
: Get NFT collection by collection address path
: /v2/nfts/collections/{account_id}/itemsmethod_name
: getNftItemsFromCollectiondescription
: Get NFT items from collection by collection address path
: /v2/nfts/_bulkmethod_name
: postBulkdescription
: Get NFT items by their addresses path
: /v2/nfts/{account_id}method_name
: getNftItemByAddressdescription
: Get NFT item by its address path
: /v2/nfts/{account_id}/historymethod_name
: getNftTransferHistorydescription
: Get the transfer nfts history for account path
: /v2/dns/{domain_name}method_name
: getFullInfodescription
: Get full information about domain name path
: /v2/dns/{domain_name}/resolvemethod_name
: getDnsResolveForNamedescription
: DNS resolve for domain name path
: /v2/dns/{domain_name}/bidsmethod_name
: getDomainBidsdescription
: Get domain bids path
: /v2/dns/auctionsmethod_name
: getAllAuctionsdescription
: Get all auctions path
: /v2/traces/{trace_id}method_name
: getTracedescription
: Get the trace by trace ID or hash of any transaction in trace path
: /v2/events/{event_id}method_name
: /v2/events/{event_id}description
: Get an event either by event ID or a hash of any transaction in a trace. 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. path
: /v2/jettonsmethod_name
: getListdescription
: Get a list of all indexed jetton masters in the blockchain. path
: /v2/jettons/{account_id}method_name
: getJettonMetadatadescription
: Get jetton metadata by jetton master address path
: /v2/jettons/{account_id}/holdersmethod_name
: getJettonsHoldersdescription
: Get jetton's holders path
: /v2/events/{event_id}/jettonsmethod_name
: getJettonTransfersdescription
: Get only jetton transfers in the event path
: /v2/staking/nominator/{account_id}/poolsmethod_name
: getAllPoolsdescription
: All pools where account participates path
: /v2/staking/pool/{account_id}method_name
: getStakingPoolInfodescription
: Stacking pool info path
: /v2/staking/pool/{account_id}/historymethod_name
: getPoolHistorydescription
: Pool history path
: All pools available in networkmethod_name
: getAllPoolsAvailabledescription
: All pools available in network path
: /v2/storage/providersmethod_name
: getStorageProvidersdescription
: Get TON storage providers deployed to the blockchain. path
: /v2/ratesmethod_name
: getTokenPricedescription
: Get the token price to the currency path
: /v2/rates/chartmethod_name
: getChartTokendescription
: Get chart by token path
: /v2/tonconnect/payloadmethod_name
: getPayloaddescription
: Get a payload for further token receipt path
: /v2/tonconnect/stateinitmethod_name
: postStateInitdescription
: Get account info by state init path
: /v2/wallet/backupmethod_name
: getBackupdescription
: Get backup info path
: /v2/wallet/backupmethod_name
: putBackupdescription
: Set backup info path
: /v2/wallet/auth/proofmethod_name
: postAuthProofdescription
: Account verification and token issuance path
: /v2/pubkeys/{public_key}/walletsmethod_name
: getWalletsdescription
: Get wallets by public key path
: /v2/wallet/{account_id}/seqnomethod_name
: getAccountSeqnodescription
: Get account seqno path
: /v2/liteserver/get_masterchain_infomethod_name
: getMasterchainInfodescription
: Get raw masterchain info path
: /v2/liteserver/get_masterchain_info_extmethod_name
: getMasterchainInfoExtdescription
: Get raw masterchain info ext path
: /v2/liteserver/get_timemethod_name
: getRawTimedescription
: Get raw time path
: /v2/liteserver/get_block/{block_id}method_name
: getRawBlockchainBlockdescription
: Get raw blockchain block path
: /v2/liteserver/get_state/{block_id}method_name
: getRawBlockchainBlockStatedescription
: Get raw blockchain block state path
: Get raw blockchain block statemethod_name
: getBlockHeaderdescription
: Get raw blockchain block header path
: /v2/liteserver/send_messagemethod_name
: postSendMessagedescription
: Send raw message to blockchain path
: /v2/liteserver/get_account_state/{account_id}method_name
: getAccountStatedescription
: Get raw account state path
: /v2/liteserver/get_shard_info/{block_id}method_name
: getShardInfodescription
: Get raw shard info path
: /v2/liteserver/get_all_shards_info/{block_id}method_name
: getAllShardsInfodescription
: Get all raw shards info path
: /v2/liteserver/get_transactions/{account_id}method_name
: getRawTransactionsdescription
: Get raw transactions path
: /v2/liteserver/list_block_transactions/{block_id}method_name
: getListBlockTransactionsdescription
: Get raw list block transactions path
: /v2/liteserver/get_block_proofmethod_name
: getBlockProofdescription
: Get raw block proof path
: /v2/liteserver/get_config_all/{block_id}method_name
: getConfigAlldescription
: Get raw config path
: Get raw configmethod_name
: getShardBlockProofdescription
: Get raw shard block proof FAQs
Ton-Api-SDK is a library for interacting with the Ton blockchain API.
The npm package @delab-team/ton-api-sdk receives a total of 0 weekly downloads. As such, @delab-team/ton-api-sdk popularity was classified as not popular.
We found that @delab-team/ton-api-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.