Cosmos REST Methods

Auth

The auth methods handle account and authentication-related queries.

Method Compute Unit Value
GET /cosmos/auth/v1beta1/accounts 50
GET /cosmos/auth/v1beta1/params 10

Bank

The bank methods manage asset transfers for multi-asset transactions between accounts.

Method Compute Unit Value
GET /cosmos/bank/v1beta1/balances/{address} 10
GET /cosmos/bank/v1beta1/balances/{address}/{denom} 5
GET /cosmos/bank/v1beta1/params 10
GET /cosmos/bank/v1beta1/supply 5
GET /cosmos/bank/v1beta1/supply/{bydenom} 5

Distribution

The distribution methods manage rewards and commissions related to staking.

Method Compute Unit Value
GET /cosmos/distribution/v1beta1/community_pool 10
GET /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards 10
GET /cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address} 10
GET /cosmos/distribution/v1beta1/delegators/{delegator_address}/validators 10
GET /cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address 10
GET /cosmos/distribution/v1beta1/params 10
GET /cosmos/distribution/v1beta1/validators/{validator_address}/commission 10
GET /cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards 10
GET /cosmos/distribution/v1beta1/validators/{validator_address}/slashes 10

Evidence

The evidence methods manage evidence of validator misbehavior or other infractions.

Method Compute Unit Value
GET /cosmos/evidence/v1beta1/evidence
GET /cosmos/evidence/v1beta1/evidence/{hash}

Gov

The gov methods handle governance, including proposals and voting.

Method Compute Unit Value
GET /cosmos/gov/v1beta1/params/{params_type} 10
GET /cosmos/gov/v1beta1/proposals 10
GET /cosmos/gov/v1beta1/proposals/{proposal_id} 10
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits 10
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor} 10
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/tally 10
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/votes 10
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter} 10

Mint

The mint methods provide inflation data and minting parameters for token issuance.

Method Compute Unit Value
GET /cosmos/mint/v1beta1/annual_provisions
GET /cosmos/mint/v1beta1/inflation
GET /cosmos/mint/v1beta1/params 10

Params

The params method allows access to system-wide configurations.

Method Compute Unit Value
GET /cosmos/params/v1beta1/params 10

Slashing

The slashing methods manage slashing events.

Method Compute Unit Value
GET /cosmos/slashing/v1beta1/params 10
GET /cosmos/slashing/v1beta1/signing_infos
GET /cosmos/slashing/v1beta1/signing_infos/{cons_address}

Staking

The staking methods manage delegation and validator details.

Method Compute Unit Value
GET /cosmos/staking/v1beta1/delegations/{delegator_addr} 10
GET /cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations 10
GET /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations 10
GET /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators 10
GET /cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr} 10
GET /cosmos/staking/v1beta1/historical_info/{height} 10
GET /cosmos/staking/v1beta1/params 10
GET /cosmos/staking/v1beta1/pool 10
GET /cosmos/staking/v1beta1/validators 10
GET /cosmos/staking/v1beta1/validators/{validator_addr} 10
GET /cosmos/staking/v1beta1/validators/{validator_addr}/delegations 10
GET /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation 10
GET /cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations 10

Upgrade

The upgrade methods track and apply upgrade plans.

Method Compute Unit Value
GET ​/cosmos​/upgrade​/v1beta1​/applied_plan​/{name}
GET /cosmos/upgrade/v1beta1/current_plan
GET /cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}

Base Tendermint

The base tendermint methods provide details like blocks and validator sets.

Method Compute Unit Value
GET /cosmos/base/tendermint/v1beta1/blocks/latest 10
GET /cosmos/base/tendermint/v1beta1/blocks/{height} 10
GET /cosmos/base/tendermint/v1beta1/node_info 1
GET /cosmos/base/tendermint/v1beta1/syncing 1
GET /cosmos/base/tendermint/v1beta1/validatorsets/latest 10
GET /cosmos/base/tendermint/v1beta1/validatorsets/{height} 10

Transaction

The tx methods manage transaction-related operations like simulation and broadcast.

Methods Compute Unit Value
POST /cosmos/tx/v1beta1/simulate
GET /cosmos/tx/v1beta1/txs 50
POST /cosmos/tx/v1beta1/txs 50
GET /cosmos/tx/v1beta1/txs/{hash}