Validator REST API
Nyx Validators are built with the Cosmos SDK (opens in a new tab) and expose a standard REST API (opens in a new tab) for querying chain state directly.
Key endpoint categories:
- Accounts: balances, transaction history
- Staking: validators, delegations, rewards
- Governance: proposals, votes
- CosmWasm: smart contract queries
For validator setup instructions, see the Nyx Validator Setup Guide.
Other validator endpoints are listed at cosmos.directory/nyx (opens in a new tab).
Quick examples
Query an account balance:
curl https://api.nymtech.net/cosmos/bank/v1beta1/balances/n1...List active validators:
curl https://api.nymtech.net/cosmos/staking/v1beta1/validators?status=BOND_STATUS_BONDEDMainnet endpoints
- OpenAPI spec: api.nymtech.net/swagger/swagger.yaml (opens in a new tab)
- Swagger UI: api.nymtech.net/swagger/ (opens in a new tab)
Full API reference
Loading ...