JUMP TO🙌API BasicsWhat is an API?Setting API SecurityDebug & trace APIDebug & Trace APIs (EVM Only)EthereumEthereum QuickstartEthereum Core API Methodseth_accountsposteth_blockNumberposteth_callposteth_chainIdposteth_createAccessListposteth_estimateGasposteth_feeHistoryposteth_gasPriceposteth_getBalanceposteth_getBlockByHashposteth_getBlockByNumberposteth_getBlockReceiptsposteth_getBlockTransactionCountByHashposteth_getBlockTransactionCountByNumberposteth_getCodeposteth_getFilterChangesposteth_getFilterLogsposteth_getLogsposteth_getProofposteth_getStorageAtposteth_getTransactionByBlockHashAndIndexposteth_getTransactionByBlockNumberAndIndexposteth_getTransactionByHashposteth_getTransactionCountposteth_getTransactionReceiptposteth_getUncleByBlockNumberAndIndexposteth_getUncleCountByBlockHashposteth_maxPriorityFeePerGasposteth_newBlockFilterposteth_newFilterposteth_newPendingTransactionFilterposteth_sendRawTransactionposteth_sendTransactionposteth_signTransactionposteth_syncingposteth_uninstallFilterpostnet_listeningpostnet_peerCountpostnet_versionposttxpool_contentposttxpool_inspectposttxpool_statuspostweb3_clientVersionpostdebug_getBadBlockspostdebug_storageRangeAtpostdebug_traceBlockpostdebug_traceBlockByHashpostdebug_traceBlockByNumberpostdebug_traceCallpostdebug_traceTransactionposttrace_blockposttrace_callposttrace_callManyposttrace_filterposttrace_transactionposttrace_rawTransactionposttrace_replayTransactionposttrace_replayBlockTransactionspost[WSS] eth_subscribe[WSS] eth_unsubscribePolygonPolygon QuickstartPolygon Core API Methodsbor_getAuthorpostbor_getCurrentProposerpostbor_getCurrentValidatorspostbor_getRootHashpostbor_getSignersAtHashpostbor_getSnapshotpostbor_getSnapshotProposerpostbor_getSnapshotAtHashpostbor_getSignersposteth_accounts_polygonposteth_blockNumber-polygonposteth_call-polygonposteth_chainId-polygonposteth_createAccessList-polygonposteth_estimateGas-polygonposteth_feeHistory-polygonposteth_gasPrice-polygonposteth_getBalance-polygonposteth_getBlockByHash-polygonposteth_getBlockByNumber-polygonposteth_getBlockReceipts-polygonposteth_getBlockTransactionCountByHash-polygonposteth_getBlockTransactionCountByNumber-polygonposteth_getCode-polygonposteth_getFilterChanges-polygonposteth_getFilterLogs-polygonposteth_getLogs-polygonposteth_getRootHash-polygonposteth_getProof-polygonposteth_getStorageAt-polygonposteth_getTransactionByBlockHashAndIndex-polygonposteth_getTransactionByBlockNumberAndIndex-polygonposteth_getTransactionByHash-polygonposteth_getTransactionCount-polygonposteth_getTransactionReceipt-polygonposteth_maxPriorityFeePerGas-polygonposteth_newBlockFilter-polygonposteth_newFilter-polygonposteth_newPendingTransactionFilter -polygonposteth_sendRawTransaction-polygonposteth_sendTransaction-polygonposteth_signTransaction-polygonposteth_syncing-polygonposteth_uninstallFilter-polygonpostnet_listening-polygonpostnet_peerCount-polygonpostnet_version-polygonposttxpool_content-polygonposttxpool_inspect-polygonposttxpool_status-polygonpostweb3_clientVersionpolygonpostdebug_getBadBlocks-polygonpostdebug_storageRangeAt-polygonpostdebug_traceBlock-polygonpostdebug_traceBlockByHash-polygonpostdebug_traceBlockByNumberpostdebug_traceCall-polygonpostdebug_traceTransaction-polygonposttrace_block-polygonposttrace_call-polygonposttrace_callMany-polygonposttrace_filter-polygonposttrace_transaction-polygonposttrace_rawTransaction-polygonposttrace_replayTransaction-polygonposttrace_replayBlockTransactions-polygonpost[WSS] eth_subscribe-polygon[WSS] eth_unsubscribe-polygonCosmos hubServiceABCIQuery 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.getGetLatestBlock returns the latest block.getGetBlockByHeight queries block for given height.getGetNodeInfo queries the current node info.getGetSyncing queries node syncing.getGetLatestValidatorSet queries latest validator-set.getGetValidatorSetByHeight queries validator-set at a given height.getConfig queries for the operator configuration.getStatus queries for the node status.getTxDecode decodes the transaction.postTxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.postTxEncode encodes the transaction.postTxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.postSimulate simulates executing a transaction for estimating gas usage.postGetTxsEvent fetches txs by event.getBroadcastTx broadcast transaction.postGetBlockWithTxs fetches a block with decoded txs.getGetTx fetches a tx by hash.getQueryAccountInfo queries account info which is common to all account types.getAccounts 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.getAccount returns account details based on address.getAccountAddressByID returns account address based on account number.getBech32Prefix queries bech32PrefixgetAddressBytesToString converts Account Address bytes to stringgetAddressStringToBytes converts Address string to bytesgetModuleAccounts returns all the existing module accounts.getModuleAccountByName returns the module account info by module namegetParams queries all parameters.getAllBalances queries the balance of all coins for a single account.getBalance queries the balance of a single coin for a single account.getDenomOwners queries for all account addresses that own a particular token denomination.getDenomOwnersByQuery queries for all account addresses that own a particular token denomination.getDenomsMetadata queries the client metadata for all registered coin denominations.getDenomMetadata queries the client metadata of a given coin denomination.getDenomMetadataByQueryString queries the client metadata of a given coin denomination.getParams queries the parameters of x/bank module.getSendEnabled queries for SendEnabled entries.getSpendableBalances 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.getSpendableBalanceByDenom queries the spendable balance of a single denom for a single account.getTotalSupply queries the total supply of all coins.getSupplyOf queries the supply of a single coin.getCommunityPool queries the community pool coins.getDelegationTotalRewards queries the total rewards accrued by each validator.getDelegationRewards queries the total rewards accrued by a delegation.getDelegatorValidators queries the validators of a delegator.getDelegatorWithdrawAddress queries withdraw address of a delegator.getParams queries params of the distribution module.getValidatorDistributionInfo queries validator commission and self-delegation rewards for validatorgetValidatorCommission queries accumulated commission for a validator.getValidatorOutstandingRewards queries rewards of a validator address.getValidatorSlashes queries slash events of a validator.getAllEvidence queries all evidence.getEvidence queries evidence based on evidence hash.getParams queries all parameters of the gov module.getProposals queries all proposals based on given status.getProposal queries proposal details based on ProposalID.getDeposits queries all deposits of a single proposal.getDeposit queries single deposit information based on proposalID, depositor address.getTallyResult queries the tally of a proposal vote.getVotes queries votes of a given proposal.getVote queries voted information based on proposalID, voterAddr. Due to how we handle state, this query would error for proposals that has already been finished.getConstitution queries the chain's constitution.getParams queries all parameters of the gov module.getMessageBasedParams queries the message specific governance params based on a msg url.getProposals queries all proposals based on given status.getProposal queries proposal details based on ProposalID.getDeposits queries all deposits of a single proposal.getDeposit queries single deposit information based on proposalID, depositAddr.getTallyResult queries the tally of a proposal vote.getProposalVoteOptions queries the valid voting options for a proposal.getVotes queries votes of a given proposal.getVote queries voted information based on proposalID, voterAddr.getAnnualProvisions current minting annual provisions value.getInflation returns the current minting inflation value.getParams returns the total set of minting parameters.getParams queries a specific parameter of a module, given its subspace and key.getSubspaces queries for all registered subspaces and all keys for a subspace.getParams queries the parameters of slashing modulegetSigningInfos queries signing info of all validatorsgetSigningInfo queries the signing info of given cons addressgetDelegatorDelegations queries all delegations of a given delegator address.getRedelegations queries redelegations of given address.getDelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.getDelegatorValidators queries all validators info for given delegator address.getDelegatorValidator queries validator info for given delegator validator pair.getHistoricalInfo queries the historical info for given height.getParameters queries the staking parameters.getPool queries the pool info.getValidators queries all validators that match the given status.getValidator queries validator info for given validator address.getValidatorDelegations queries delegate info for given validator.getDelegation queries delegate info for given validator delegator pair.getUnbondingDelegation queries unbonding info for given validator delegator pair.getValidatorUnbondingDelegations queries unbonding delegations of a validator.getAppliedPlan queries a previously applied upgrade plan by its name.getReturns the account with authority to conduct upgradesgetCurrentPlan queries the current upgrade plan.getModuleVersions queries the list of module versions from state.getUpgradedConsensusState 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)getReturns list of `Authorization`, granted to the grantee by the granter.getGranteeGrants returns a list of `GrantAuthorization` by grantee.getGranterGrants returns list of `GrantAuthorization`, granted by granter.getAllowance returns granted allowance to the grantee by the granter.getAllowances returns all the grants for the given grantee address.getAllowancesByGranter returns all the grants given by an addressgetBalancebyQueryString queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721getBalance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721getClass queries an NFT class based on its idgetClasses queries all NFT classesgetClass queries an NFT class based on its idgetNFTByQueryString queries an NFT based on its class and id.getNFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721EnumerablegetNFT queries an NFT based on its class and id.getOwnerByQueryString queries the owner of the NFT based on its class and id, same as ownerOf in ERC721getOwner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721getSupplyByQueryString queries the number of NFTs from the given class, same as totalSupply of ERC721.getSupply queries the number of NFTs from the given class, same as totalSupply of ERC721.getGroupInfo queries group info based on group id.getGroupMembers queries members of a group by group id.getGroupPoliciesByAdmin queries group policies by admin address.getGroupPoliciesByGroup queries group policies by group id.getGroupPolicyInfo queries group policy info based on account address of group policy.getGroups queries all groups in state.getGroupsByAdmin queries groups by admin address.getGroupsByMember queries groups by member address.getProposal queries a proposal based on proposal id.getTallyResult 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.getProposalsByGroupPolicy queries proposals based on account address of group policy.getVoteByProposalVoter queries a vote by proposal id and voter.getVotesByProposal queries a vote by proposal id.getVotesByVoter queries a vote by voter.getAccount returns account permissions.getAccount returns account permissions.getDisabledList returns a list of disabled message urlsgetParams queries the parameters of x/consensus module.getUnsafeDial Seeds (Unsafe)getAdd Peers/Persistent Peers (unsafe)getABCIGet info about the application.getQuery the application for some information.getTxReturns with the response from CheckTx. Does not wait for DeliverTx result.getReturns right away, with no response. Does not wait for CheckTx nor DeliverTx results.getReturns with the responses from CheckTx and DeliverTx.getChecks the transaction without executing it.getInfoNode heartbeatgetNode StatusgetNetwork informationgetGet block headers (max: 20) for minHeight <= height <= maxHeight.getGet header at a specified heightgetGet header by hashgetGet block at a specified heightgetGet block by hashgetGet block results at a specified heightgetGet commit results at a specified heightgetGet validator set at a specified heightgetGet GenesisgetGet Genesis in multiple chunksgetGet consensus stategetGet consensus stategetGet consensus parametersgetGet the list of unconfirmed transactionsgetGet data about unconfirmed transactionsgetSearch for transactionsgetSearch for blocks by FinalizeBlock eventsgetGet transactions by hashgetBroadcast evidence of the misbehavior.getCosmos Hub QuickstartCosmos 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_getTransactionByHashpostCosmos Hub Core API Methods - CometBFT RPChealthpoststatuspostnet_infopostblockchainpostheaderpostheader_by_hashpostblockpostblock_by_hashpostblock_resultspostcommitpostvalidatorspostgenesispostgenesis_chunkedpostdump_consensus_statepostconsensus_statepostconsensus_paramspostunconfirmed_txspostnum_unconfirmed_txsposttx_searchpostblock_searchposttxpostbroadcast_evidencepostbroadcast_tx_syncpostbroadcast_tx_asyncpostbroadcast_tx_commitpostcheck_txpostabci_infopostabci_querypostOsmosisOsmosis QuickstartAvalancheAvalanche QuickstartBahamutBahamut QuickstartceloCelo QuickstartChilizChiliz QuickstartfantomFantom QuickstartKaiaKaia QuickstartnearNEAR QuickstartsolanaSolana QuickstartTON(The Open Network)TON QuickstartaccountsGet Address InformationgetGet Extended Address InformationgetGet Wallet InformationgetGet TransactionsgetGet Address BalancegetGet AddressgetPack AddressgetUnpack AddressgetGet Token DatagetDetect AddressgetblocksGet Masterchain InfogetGet Masterchain Block SignaturesgetGet Shard Block ProofgetGet Consensus BlockgetLookup BlockgetGet ShardsgetGet Block TransactionsgetGet Block Transactions ExtgetGet Block HeadergetGet Out Msg Queue SizesgettransactionsGet Try Locate TxgetGet Try Locate Result TxgetGet Try Locate Source Txgetget configGet Config ParamgetGet Config Allgetrun methodRun Get MethodpostsendSend BocpostSend Boc Return HashpostSend QuerypostEstimate Feepostjson rpcJsonrpc HandlerpostZetachainZetachain QuickstartClass queries an NFT class based on its idget https://example.com/cosmos/nft/v1beta1/classes/{class_id}