Skip to content

REST API (gRPC Gateway) Reference

Use Nibiru's REST API to query blockchain data and broadcast transactions from web applications.

The REST API provides HTTP endpoints that correspond to Nibiru's gRPC services. This allows you to interact with the blockchain using standard HTTP requests, making it accessible for web applications that don't support gRPC's HTTP/2 protocol.

The following reference documentation covers all available REST endpoints for Nibiru's blockchain modules.

REST ServiceSummary
nibiru/evmEVM-compatible execution layer queries: account balances, contract bytecode, transaction receipts, and gas fees
nibiru/oraclePrice feed data and exchange rates: current prices, time-weighted average prices (TWAP), and oracle parameters
nibiru/devgasDeveloper fee sharing: query registered contracts and fee distribution arrangements for smart contract developers
nibiru/tokenfactoryCustom token creation and management: query token metadata, admin permissions, and creator-specific denominations
nibiru/sudoAdministrative permissions: query authorized sudo accounts for privileged blockchain operations
nibiru/epochsTime-based triggers: query current epoch information and epoch-based module scheduling
nibiru/inflationToken economics: query circulating supply, mint provisions, and inflation parameters

Example:

bash
curl -X GET /nibiru/evm/v1/eth_account/{address} \
  -H 'Accept: application/json'