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 Service | Summary |
---|---|
nibiru/evm | EVM-compatible execution layer queries: account balances, contract bytecode, transaction receipts, and gas fees |
nibiru/oracle | Price feed data and exchange rates: current prices, time-weighted average prices (TWAP), and oracle parameters |
nibiru/devgas | Developer fee sharing: query registered contracts and fee distribution arrangements for smart contract developers |
nibiru/tokenfactory | Custom token creation and management: query token metadata, admin permissions, and creator-specific denominations |
nibiru/sudo | Administrative permissions: query authorized sudo accounts for privileged blockchain operations |
nibiru/epochs | Time-based triggers: query current epoch information and epoch-based module scheduling |
nibiru/inflation | Token economics: query circulating supply, mint provisions, and inflation parameters |
Example:
bash
curl -X GET /nibiru/evm/v1/eth_account/{address} \
-H 'Accept: application/json'