Cosmos REST

The Cosmos SDK REST (LCD / gRPC-gateway) interface for Stable: HTTP/JSON module queries for accounts, balances, staking, distribution, governance, and mint, plus the latest block, node info, and transaction broadcast. Addresses use the bech32 cosmos1… form; amounts are in the base denomination (ausdt0).

Endpoint

bashhttps://shared.ap-southeast-1.getblock.io/<ACCESS-TOKEN>/

Available Endpoints

Accounts

EndpointMethodDescription
auth-accountGETReturns an account's details, including its account number and sequence (nonce), as a protobuf-Any wrapped account type
bank-balancesGETReturns all token balances held by an address, paginated
bank-balance-by-denomGETReturns the balance of a single denomination for an address

Network

EndpointMethodDescription
bank-supplyGETReturns the total supply of all denominations on the chain, paginated
mint-inflationGETReturns the current minting inflation rate
latest-blockGETReturns the latest block via the Cosmos base tendermint service, including its header and transactions
node-infoGETReturns the node's information and the application's version details via the Cosmos base tendermint service

Staking

EndpointMethodDescription
staking-validatorsGETReturns all staking validators, optionally filtered by status, paginated
staking-validatorGETReturns a single validator by its operator address
staking-delegationsGETReturns all delegations made by a delegator, paginated
staking-poolGETReturns the staking pool: the total bonded and not-bonded token amounts

Distribution

EndpointMethodDescription
distribution-rewardsGETReturns the outstanding staking rewards for a delegator, per validator and in total

Governance

EndpointMethodDescription
gov-proposalsGETReturns governance proposals, optionally filtered by status, paginated
gov-proposalGETReturns a single governance proposal by its numeric identifier

Transactions

EndpointMethodDescription
broadcast-txPOSTBroadcasts a signed, protobuf-encoded transaction

See Also