Jump to Content
All That NodeGo Back To Home
GuidesAPI Reference
Go Back To HomeAll That Node
API Reference
GuidesAPI Reference

🙌API Basics

  • What is an API?
  • Setting API Security

Debug & trace API

  • Debug & Trace APIs (EVM Only)

Ethereum

  • Ethereum Quickstart
  • Ethereum Core API Methods
    • eth_accountspost
    • eth_blockNumberpost
    • eth_callpost
    • eth_chainIdpost
    • eth_createAccessListpost
    • eth_estimateGaspost
    • eth_feeHistorypost
    • eth_gasPricepost
    • eth_getBalancepost
    • eth_getBlockByHashpost
    • eth_getBlockByNumberpost
    • eth_getBlockReceiptspost
    • eth_getBlockTransactionCountByHashpost
    • eth_getBlockTransactionCountByNumberpost
    • eth_getCodepost
    • eth_getFilterChangespost
    • eth_getFilterLogspost
    • eth_getLogspost
    • eth_getProofpost
    • eth_getStorageAtpost
    • eth_getTransactionByBlockHashAndIndexpost
    • eth_getTransactionByBlockNumberAndIndexpost
    • eth_getTransactionByHashpost
    • eth_getTransactionCountpost
    • eth_getTransactionReceiptpost
    • eth_getUncleByBlockNumberAndIndexpost
    • eth_getUncleCountByBlockHashpost
    • eth_maxPriorityFeePerGaspost
    • eth_newBlockFilterpost
    • eth_newFilterpost
    • eth_newPendingTransactionFilterpost
    • eth_sendRawTransactionpost
    • eth_sendTransactionpost
    • eth_signTransactionpost
    • eth_syncingpost
    • eth_uninstallFilterpost
    • net_listeningpost
    • net_peerCountpost
    • net_versionpost
    • txpool_contentpost
    • txpool_inspectpost
    • txpool_statuspost
    • web3_clientVersionpost
    • debug_getBadBlockspost
    • debug_storageRangeAtpost
    • debug_traceBlockpost
    • debug_traceBlockByHashpost
    • debug_traceBlockByNumberpost
    • debug_traceCallpost
    • debug_traceTransactionpost
    • trace_blockpost
    • trace_callpost
    • trace_callManypost
    • trace_filterpost
    • trace_transactionpost
    • trace_rawTransactionpost
    • trace_replayTransactionpost
    • trace_replayBlockTransactionspost
    • [WSS] eth_subscribe
    • [WSS] eth_unsubscribe

Cosmos hub

  • Service
    • ABCIQuery defines a query handler that supports ABCI queries directly to the application, bypassing Tendermint completely. The ABCI query must contain a valid and supported path, including app, custom, p2p, and store.get
    • GetLatestBlock returns the latest block.get
    • GetBlockByHeight queries block for given height.get
    • GetNodeInfo queries the current node info.get
    • GetSyncing queries node syncing.get
    • GetLatestValidatorSet queries latest validator-set.get
    • GetValidatorSetByHeight queries validator-set at a given height.get
    • Config queries for the operator configuration.get
    • Status queries for the node status.get
    • TxDecode decodes the transaction.post
    • TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.post
    • TxEncode encodes the transaction.post
    • TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.post
    • Simulate simulates executing a transaction for estimating gas usage.post
    • GetTxsEvent fetches txs by event.get
    • BroadcastTx broadcast transaction.post
    • GetBlockWithTxs fetches a block with decoded txs.get
    • GetTx fetches a tx by hash.get
  • Query
    • AccountInfo queries account info which is common to all account types.get
    • Accounts returns all the existing accounts. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.get
    • Account returns account details based on address.get
    • AccountAddressByID returns account address based on account number.get
    • Bech32Prefix queries bech32Prefixget
    • AddressBytesToString converts Account Address bytes to stringget
    • AddressStringToBytes converts Address string to bytesget
    • ModuleAccounts returns all the existing module accounts.get
    • ModuleAccountByName returns the module account info by module nameget
    • Params queries all parameters.get
    • AllBalances queries the balance of all coins for a single account.get
    • Balance queries the balance of a single coin for a single account.get
    • DenomOwners queries for all account addresses that own a particular token denomination.get
    • DenomOwnersByQuery queries for all account addresses that own a particular token denomination.get
    • DenomsMetadata queries the client metadata for all registered coin denominations.get
    • DenomMetadata queries the client metadata of a given coin denomination.get
    • DenomMetadataByQueryString queries the client metadata of a given coin denomination.get
    • Params queries the parameters of x/bank module.get
    • SendEnabled queries for SendEnabled entries.get
    • SpendableBalances queries the spendable balance of all coins for a single account. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.get
    • SpendableBalanceByDenom queries the spendable balance of a single denom for a single account.get
    • TotalSupply queries the total supply of all coins.get
    • SupplyOf queries the supply of a single coin.get
    • CommunityPool queries the community pool coins.get
    • DelegationTotalRewards queries the total rewards accrued by each validator.get
    • DelegationRewards queries the total rewards accrued by a delegation.get
    • DelegatorValidators queries the validators of a delegator.get
    • DelegatorWithdrawAddress queries withdraw address of a delegator.get
    • Params queries params of the distribution module.get
    • ValidatorDistributionInfo queries validator commission and self-delegation rewards for validatorget
    • ValidatorCommission queries accumulated commission for a validator.get
    • ValidatorOutstandingRewards queries rewards of a validator address.get
    • ValidatorSlashes queries slash events of a validator.get
    • AllEvidence queries all evidence.get
    • Evidence queries evidence based on evidence hash.get
    • Params queries all parameters of the gov module.get
    • Proposals queries all proposals based on given status.get
    • Proposal queries proposal details based on ProposalID.get
    • Deposits queries all deposits of a single proposal.get
    • Deposit queries single deposit information based on proposalID, depositor address.get
    • TallyResult queries the tally of a proposal vote.get
    • Votes queries votes of a given proposal.get
    • Vote queries voted information based on proposalID, voterAddr. Due to how we handle state, this query would error for proposals that has already been finished.get
    • Constitution queries the chain's constitution.get
    • Params queries all parameters of the gov module.get
    • MessageBasedParams queries the message specific governance params based on a msg url.get
    • Proposals queries all proposals based on given status.get
    • Proposal queries proposal details based on ProposalID.get
    • Deposits queries all deposits of a single proposal.get
    • Deposit queries single deposit information based on proposalID, depositAddr.get
    • TallyResult queries the tally of a proposal vote.get
    • ProposalVoteOptions queries the valid voting options for a proposal.get
    • Votes queries votes of a given proposal.get
    • Vote queries voted information based on proposalID, voterAddr.get
    • AnnualProvisions current minting annual provisions value.get
    • Inflation returns the current minting inflation value.get
    • Params returns the total set of minting parameters.get
    • Params queries a specific parameter of a module, given its subspace and key.get
    • Subspaces queries for all registered subspaces and all keys for a subspace.get
    • Params queries the parameters of slashing moduleget
    • SigningInfos queries signing info of all validatorsget
    • SigningInfo queries the signing info of given cons addressget
    • DelegatorDelegations queries all delegations of a given delegator address.get
    • Redelegations queries redelegations of given address.get
    • DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.get
    • DelegatorValidators queries all validators info for given delegator address.get
    • DelegatorValidator queries validator info for given delegator validator pair.get
    • HistoricalInfo queries the historical info for given height.get
    • Parameters queries the staking parameters.get
    • Pool queries the pool info.get
    • Validators queries all validators that match the given status.get
    • Validator queries validator info for given validator address.get
    • ValidatorDelegations queries delegate info for given validator.get
    • Delegation queries delegate info for given validator delegator pair.get
    • UnbondingDelegation queries unbonding info for given validator delegator pair.get
    • ValidatorUnbondingDelegations queries unbonding delegations of a validator.get
    • AppliedPlan queries a previously applied upgrade plan by its name.get
    • Returns the account with authority to conduct upgradesget
    • CurrentPlan queries the current upgrade plan.get
    • ModuleVersions queries the list of module versions from state.get
    • UpgradedConsensusState queries the consensus state that will serve as a trusted kernel for the next version of this chain. It will only be stored at the last height of this chain. UpgradedConsensusState RPC not supported with legacy querier This rpc is deprecated now that IBC has its own replacement (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)get
    • Returns list of `Authorization`, granted to the grantee by the granter.get
    • GranteeGrants returns a list of `GrantAuthorization` by grantee.get
    • GranterGrants returns list of `GrantAuthorization`, granted by granter.get
    • Allowance returns granted allowance to the grantee by the granter.get
    • Allowances returns all the grants for the given grantee address.get
    • AllowancesByGranter returns all the grants given by an addressget
    • BalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721get
    • Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721get
    • Class queries an NFT class based on its idget
    • Classes queries all NFT classesget
    • Class queries an NFT class based on its idget
    • NFTByQueryString queries an NFT based on its class and id.get
    • NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721Enumerableget
    • NFT queries an NFT based on its class and id.get
    • OwnerByQueryString queries the owner of the NFT based on its class and id, same as ownerOf in ERC721get
    • Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721get
    • SupplyByQueryString queries the number of NFTs from the given class, same as totalSupply of ERC721.get
    • Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.get
    • GroupInfo queries group info based on group id.get
    • GroupMembers queries members of a group by group id.get
    • GroupPoliciesByAdmin queries group policies by admin address.get
    • GroupPoliciesByGroup queries group policies by group id.get
    • GroupPolicyInfo queries group policy info based on account address of group policy.get
    • Groups queries all groups in state.get
    • GroupsByAdmin queries groups by admin address.get
    • GroupsByMember queries groups by member address.get
    • Proposal queries a proposal based on proposal id.get
    • TallyResult returns the tally result of a proposal. If the proposal is still in voting period, then this query computes the current tally state, which might not be final. On the other hand, if the proposal is final, then it simply returns the `final_tally_result` state stored in the proposal itself.get
    • ProposalsByGroupPolicy queries proposals based on account address of group policy.get
    • VoteByProposalVoter queries a vote by proposal id and voter.get
    • VotesByProposal queries a vote by proposal id.get
    • VotesByVoter queries a vote by voter.get
    • Account returns account permissions.get
    • Account returns account permissions.get
    • DisabledList returns a list of disabled message urlsget
    • Params queries the parameters of x/consensus module.get
  • Unsafe
    • Dial Seeds (Unsafe)get
    • Add Peers/Persistent Peers (unsafe)get
  • ABCI
    • Get info about the application.get
    • Query the application for some information.get
  • Tx
    • Returns with the response from CheckTx. Does not wait for DeliverTx result.get
    • Returns right away, with no response. Does not wait for CheckTx nor DeliverTx results.get
    • Returns with the responses from CheckTx and DeliverTx.get
    • Checks the transaction without executing it.get
  • Info
    • Node heartbeatget
    • Node Statusget
    • Network informationget
    • Get block headers (max: 20) for minHeight <= height <= maxHeight.get
    • Get header at a specified heightget
    • Get header by hashget
    • Get block at a specified heightget
    • Get block by hashget
    • Get block results at a specified heightget
    • Get commit results at a specified heightget
    • Get validator set at a specified heightget
    • Get Genesisget
    • Get Genesis in multiple chunksget
    • Get consensus stateget
    • Get consensus stateget
    • Get consensus parametersget
    • Get the list of unconfirmed transactionsget
    • Get data about unconfirmed transactionsget
    • Search for transactionsget
    • Search for blocks by FinalizeBlock eventsget
    • Get transactions by hashget
    • Broadcast evidence of the misbehavior.get
  • Cosmos Hub Quickstart
  • Cosmos Hub Core API Methods - Cosmos SDK REST
    • _getNodeInfoget
    • _getSyncingStateget
    • _getLatestBlockget
    • _getBlockByHeightget
    • _getLatestValidatorsetsget
    • _getValidatorsetsByHeightget
    • _broadcastSignedTransactionpost
    • _submitDelegationpost
    • _submitUnbondingDelegationpost
    • _getAllAccountsget
    • _getAccountsByAddressget
    • _getAllAuthParamsget
    • _getBalancesByAddressget
    • _getBalancesByAddressAndDenomget
    • _getOwnersByDenomget
    • _getAllDenomsMetadataget
    • _getDenomsMetadataByDenomget
    • _getAllBankParamsget
    • _getTotalCoinSupplyget
    • _getCoinSupplyByDenomget
    • _getCommunityPoolCoinsget
    • _getTotalDelegationRewardsbyDelegatorget
    • _getDelegationRewardsByDelegatorAndValidatorget
    • _getValidatorsByDelegatorget
    • _getDelegationWithdrawDelegatorget
    • _getAllDistrubutionParamsget
    • _getCommissionByValidatorget
    • _getOutstandingRewardsByValidatorget
    • _getSlashesByValidatorget
    • _getAllEvidencesget
    • _getEvidenceByHashget
    • _getAllGovParamsByTypeget
    • _getAllProposalsget
    • _getProposalByIdget
    • _getProposalDepositsByIdget
    • _getProposalDepositsByIdAndDepositorget
    • _getProposalTallyget
    • _getProposalVotesByIdget
    • _getProposalVotesByIdAndVoterget
    • _getAnnualProvisionsget
    • _getInflationget
    • _getAllMintParamsget
    • _getParamsBySubspaceAndKeyget
    • _getAllSlashingParamsget
    • _getAllSlashingSigningInfosget
    • _getSlashingSigningInfosByConAddrget
    • _getAllDelegationsByDelegatorget
    • _getRedelegationsByDelegatorget
    • _getUnbondingDelegationsByDelegatorget
    • _getValidatorInfosByDelegatorget
    • _getValidatorInfoByDelegatorAndValidatorget
    • _getHistoricalInfoByHeightget
    • _getAllStakingParamsget
    • _getStakingPoolInfoget
    • _getValidatorsByStatusget
    • _getValidatorInfoByValidatorget
    • _getDelegationInfoByValidatorget
    • _getDelegationInfoByValidatorAndDelegatorget
    • _getUnbondingDelegationByValidatorAndDelegatorget
    • _getUnbondingDelegationByValidatorget
    • _getAppliedPlanByNameget
    • _getCurrentPlanget
    • _getModuleVersionget
    • _getUpgradedConsensusStateget
    • _getGrantAuthorizationsget
    • _getAllowanceByGranterAndGranteeget
    • _getAllowanceByGranteeget
    • _tendermint_GetBlockLatestget
    • _tendermint_GetBlockByHeightget
    • _tendermint_GetNodeInfoget
    • _tendermint_GetSyncingStateget
    • _tendermint_GetLatestValidatorsetsget
    • _tendermint_GetValidatorsetsByHeightget
    • _simulatepost
    • _getTransactionget
    • _broadcastRawTransactionpost
    • _getTransactionByHashpost
  • Cosmos Hub Core API Methods - CometBFT RPC
    • healthpost
    • statuspost
    • net_infopost
    • blockchainpost
    • headerpost
    • header_by_hashpost
    • blockpost
    • block_by_hashpost
    • block_resultspost
    • commitpost
    • validatorspost
    • genesispost
    • genesis_chunkedpost
    • dump_consensus_statepost
    • consensus_statepost
    • consensus_paramspost
    • unconfirmed_txspost
    • num_unconfirmed_txspost
    • tx_searchpost
    • block_searchpost
    • txpost
    • broadcast_evidencepost
    • broadcast_tx_syncpost
    • broadcast_tx_asyncpost
    • broadcast_tx_commitpost
    • check_txpost
    • abci_infopost
    • abci_querypost

Polygon

  • Polygon Quickstart
  • Polygon Core API Methods
    • bor_getAuthorpost
    • bor_getCurrentProposerpost
    • bor_getCurrentValidatorspost
    • bor_getRootHashpost
    • bor_getSignersAtHashpost
    • bor_getSnapshotpost
    • bor_getSnapshotProposerpost
    • bor_getSnapshotAtHashpost
    • bor_getSignerspost
    • eth_accounts_polygonpost
    • eth_blockNumber-polygonpost
    • eth_call-polygonpost
    • eth_chainId-polygonpost
    • eth_createAccessList-polygonpost
    • eth_estimateGas-polygonpost
    • eth_feeHistory-polygonpost
    • eth_gasPrice-polygonpost
    • eth_getBalance-polygonpost
    • eth_getBlockByHash-polygonpost
    • eth_getBlockByNumber-polygonpost
    • eth_getBlockReceipts-polygonpost
    • eth_getBlockTransactionCountByHash-polygonpost
    • eth_getBlockTransactionCountByNumber-polygonpost
    • eth_getCode-polygonpost
    • eth_getFilterChanges-polygonpost
    • eth_getFilterLogs-polygonpost
    • eth_getLogs-polygonpost
    • eth_getRootHash-polygonpost
    • eth_getProof-polygonpost
    • eth_getStorageAt-polygonpost
    • eth_getTransactionByBlockHashAndIndex-polygonpost
    • eth_getTransactionByBlockNumberAndIndex-polygonpost
    • eth_getTransactionByHash-polygonpost
    • eth_getTransactionCount-polygonpost
    • eth_getTransactionReceipt-polygonpost
    • eth_maxPriorityFeePerGas-polygonpost
    • eth_newBlockFilter-polygonpost
    • eth_newFilter-polygonpost
    • eth_newPendingTransactionFilter -polygonpost
    • eth_sendRawTransaction-polygonpost
    • eth_sendTransaction-polygonpost
    • eth_signTransaction-polygonpost
    • eth_syncing-polygonpost
    • eth_uninstallFilter-polygonpost
    • net_listening-polygonpost
    • net_peerCount-polygonpost
    • net_version-polygonpost
    • txpool_content-polygonpost
    • txpool_inspect-polygonpost
    • txpool_status-polygonpost
    • web3_clientVersionpolygonpost
    • debug_getBadBlocks-polygonpost
    • debug_storageRangeAt-polygonpost
    • debug_traceBlock-polygonpost
    • debug_traceBlockByHash-polygonpost
    • debug_traceBlockByNumberpost
    • debug_traceCall-polygonpost
    • debug_traceTransaction-polygonpost
    • trace_block-polygonpost
    • trace_call-polygonpost
    • trace_callMany-polygonpost
    • trace_filter-polygonpost
    • trace_transaction-polygonpost
    • trace_rawTransaction-polygonpost
    • trace_replayTransaction-polygonpost
    • trace_replayBlockTransactions-polygonpost
    • [WSS] eth_subscribe-polygon
    • [WSS] eth_unsubscribe-polygon

Osmosis

  • Osmosis Quickstart

Avalanche

  • Avalanche Quickstart

Bahamut

  • Bahamut Quickstart

celo

  • Celo Quickstart

Chiliz

  • Chiliz Quickstart

fantom

  • Fantom Quickstart

Kaia

  • Kaia Quickstart

near

  • NEAR Quickstart

solana

  • Solana Quickstart

TON(The Open Network)

  • TON Quickstart
  • accounts
    • Get Address Informationget
    • Get Extended Address Informationget
    • Get Wallet Informationget
    • Get Transactionsget
    • Get Address Balanceget
    • Get Addressget
    • Pack Addressget
    • Unpack Addressget
    • Get Token Dataget
    • Detect Addressget
  • blocks
    • Get Masterchain Infoget
    • Get Masterchain Block Signaturesget
    • Get Shard Block Proofget
    • Get Consensus Blockget
    • Lookup Blockget
    • Get Shardsget
    • Get Block Transactionsget
    • Get Block Transactions Extget
    • Get Block Headerget
    • Get Out Msg Queue Sizesget
  • transactions
    • Get Try Locate Txget
    • Get Try Locate Result Txget
    • Get Try Locate Source Txget
  • get config
    • Get Config Paramget
    • Get Config Allget
  • run method
    • Run Get Methodpost
  • send
    • Send Bocpost
    • Send Boc Return Hashpost
    • Send Querypost
    • Estimate Feepost
  • json rpc
    • Jsonrpc Handlerpost

Zetachain

  • Zetachain Quickstart
Powered by 

Cosmos Hub Core API Methods - CometBFT RPC

👍

Welcome to the Cosmos Hub Tendermint API Methods documentation.


Index of Comet BFT RPC(Tendermint RPC) API Methods

health
status
net_info
blockchain
block
block_by_hash
block_results
commit
validators
genesis
consensus_sate
consensus_params
unconfirmed_txs
num_unconfirmed_txs
tx_search
block_search
tx
broadcast_evidence
broadcast_tx_sync
broadcast_tx_async
broadcast_tx_commit
check_tx
abci_info
abci_query

  • Table of Contents
    • Index of Comet BFT RPC(Tendermint RPC) API Methods