TAC
TAC API is available on Web3 API platform.
TAC (Tokenized Asset Chain) is a network extension for TON (The Open Network) that enhances its compatibility with the Ethereum Virtual Machine (EVM). It allows users to access EVM applications directly through their TON wallets, eliminating the need to manage multiple wallets or use traditional bridges.
In order for your Web3 application to interact with TAC — either by reading blockchain data or sending transactions to the network — it must connect to a TAC node. Developers interact with the blockchain using the methods provided by the API.
We support the following networks and protocols for TAC:
Responses come in JSON format.
EVM JSON-RPC methods
web3_clientVersion— returns the current client version.web3_sha3— returns Keccak-256 (not the standardized SHA3-256) of the given data.net_version— returns the current network ID.net_listening— returns true if client is actively listening for network connections.eth_syncing— returns data on the sync status or false.eth_gasPrice— returns the current price per gas in wei.eth_accounts— returns a list of addresses owned by client.eth_blockNumber— returns the number of most recent block.eth_getBalance— returns the balance of the account specified by address.eth_getStorageAt— returns the value from a storage position at an address specified.eth_getTransactionCount— returns the number of transactions sent from an address.eth_getBlockTransactionCountByHash— returns the number of transactions in a block specified by block hash.eth_getBlockTransactionCountByNumber— returns the number of transactions in the block specified by number.eth_getUncleCountByBlockHash— returns the number of uncles in a block specified by block hash.eth_getUncleCountByBlockNumber— returns the number of uncles in a block specified by block number.eth_getCode— returns code at an address specified.eth_sendRawTransaction— creates a new message call transaction or a contract creation for signed transactions.eth_call— executes a new message call immediately without creating a transaction on the blockchain.eth_estimateGas— generates and returns an estimate of how much gas is necessary to allow the transaction to complete.eth_getBlockByHash— returns information for the block specified by block hash.eth_getBlockByNumber— returns information for the block specified by block number.eth_getTransactionByHash— returns information on a transaction specified by transaction hash.eth_getTransactionByBlockHashAndIndex— returns information on a transaction specified by block hash and transaction index position.eth_getTransactionByBlockNumberAndIndex— returns information on a transaction by block number and transaction index position.eth_getTransactionReceipt— returns the receipt of a transaction by transaction hash.eth_getUncleByBlockHashAndIndex— returns information about an uncle of a block by hash and uncle index position.eth_getUncleByBlockNumberAndIndex— returns information about an uncle of a block by number and uncle index position.eth_getLogs— returns logs matching the parameters specified.
Tendermint JSON-RPC/REST methods
Info — node information:
blockchain— retrieves block headers (max: 20) forminHeight <= height <= maxHeight.block— retrieves a block at a specified height.block_by_hash— retrieves a block by hash.block_results— retrieves block results at a specified height.commit— retrieves commit results at a specified height.validators— retrieves a validator set at a specified height.genesis_chunked— retrieves the Genesis in multiple chunks.dump_consensus_state— retrieves consensus state.consensus_state— retrieves consensus state.consensus_params— retrieves consensus parameters.unconfirmed_txs— retrieves the list of unconfirmed transactions.num_unconfirmed_txs— retrieves data about unconfirmed transactions.tx_search— searches for transactions.block_search— searches for blocks byBeginBlockandEndBlockevents.tx— retrieves transactions by hash.
Tx — transactions broadcast information:
broadcast_tx_sync— returns with the response fromCheckTx. Does not wait forDeliverTxresult.broadcast_tx_async— returns right away, with no response. Does not wait forCheckTxnorDeliverTxresults.broadcast_tx_commit— returns with the responses fromCheckTxandDeliverTx.check_tx— checks the transaction without executing it.
ABCI — ABCI info:
abci_info— retrieves info about the application.abci_query— queries the application for some information.
Methods
Methods
web3_clientVersionweb3_sha3net_versionnet_listeningeth_syncingeth_gasPriceeth_accountseth_blockNumbereth_getBalanceeth_getStorageAteth_getTransactionCounteth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getUncleCountByBlockHasheth_getUncleCountByBlockNumbereth_getCodeeth_sendRawTransactioneth_calleth_estimateGaseth_getBlockByHasheth_getBlockByNumbereth_getTransactionByHasheth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getTransactionReceipteth_getUncleByBlockHashAndIndexeth_getUncleByBlockNumberAndIndexeth_getLogs
Information, Transactions, ABCI, Cosmos REST methods
blockchainblockblock_by_hashblock_resultscommitvalidatorsgenesis_chunkeddump_consensus_stateconsensus_stateconsensus_paramsunconfirmed_txsnum_unconfirmed_txstx_searchblock_searchtxbroadcast_tx_syncParametersbroadcast_tx_asyncbroadcast_tx_commitcheck_txabci_infoabci_queryAuth methods/cosmos/auth/v1beta1/accounts/{address}/cosmos/auth/v1beta1/paramsBank methods/cosmos/bank/v1beta1/balances/{address}/cosmos/bank/v1beta1/balances/{address}/{denom}/cosmos/bank/v1beta1/params/cosmos/bank/v1beta1/supplyDistribution methods/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address/cosmos/distribution/v1beta1/params/cosmos/distribution/v1beta1/validators/{validator_address}/commission
Cosmos REST methods
/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards/cosmos/distribution/v1beta1/validators/{validator_address}/slashesEvidence methods/cosmos/evidence/v1beta1/evidence/cosmos/evidence/v1beta1/evidence/{evidence_hash}Gov methods/cosmos/gov/v1beta1/params/{params_type}/cosmos/gov/v1beta1/proposals/cosmos/gov/v1beta1/proposals/{proposal_id}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}/cosmos/gov/v1beta1/proposals/{proposal_id}/tally/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}Mint methods/cosmos/mint/v1beta1/annual_provisions/cosmos/mint/v1beta1/inflation/cosmos/mint/v1beta1/paramsSlashing methods/cosmos/slashing/v1beta1/params/cosmos/slashing/v1beta1/signing_infos/cosmos/slashing/v1beta1/signing_infos/{cons_address}Staking methods/cosmos/staking/v1beta1/delegations/{delegator_addr}/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}/cosmos/staking/v1beta1/historical_info/{height}/cosmos/staking/v1beta1/params/cosmos/staking/v1beta1/pool/cosmos/staking/v1beta1/validators/cosmos/staking/v1beta1/validators/{validator_addr}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegationsUpgrade methods/cosmos/upgrade/v1beta1/applied_plan/{name}/cosmos/upgrade/v1beta1/current_plan/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}Ibc core methods/ibc/core/channel/v1beta1/channels/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/client_state/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/consensus_state/revision/{revision_number}/height/{revision_height}/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/next_sequence/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_acknowledgements/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_acks/{sequence}/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_ack_sequences}/unreceived_acks/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments/{packet_commitment_sequences}/unreceived_packets/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_commitments/{sequence}/ibc/core/channel/v1beta1/channels/{channel_id}/ports/{port_id}/packet_receipts/{sequence}/ibc/core/channel/v1beta1/connections/{connection}/channels/ibc/client/v1beta1/params/ibc/core/client/v1beta1/client_states/ibc/core/client/v1beta1/client_states/{client_id}/ibc/core/client/v1beta1/consensus_states/{client_id}/ibc/core/client/v1beta1/consensus_states/{client_id}/revision/{revision_number}/height/{revision_height}/ibc/core/connection/v1beta1/client_connections/{client_id}/ibc/core/connection/v1beta1/connections/ibc/core/connection/v1beta1/connections/{connection_id}/ibc/core/connection/v1beta1/connections/{connection_id}/client_state/ibc/core/connection/v1beta1/connections/{connection_id}/consensus_state/revision/{revision_number}/height/{revision_height}Ibc applications methods/ibc/applications/transfer/v1beta1/denom_traces/ibc/applications/transfer/v1beta1/denom_traces/{hash}/ibc/applications/transfer/v1beta1/paramsTx methods/cosmos/tx/v1beta1/simulate/cosmos/tx/v1beta1/txs/cosmos/tx/v1beta1/txs/cosmos/tx/v1beta1/txs/{hash}