Amahub Docs | Amadeus Blockchain HTTP API
Use the Amadeus Blockchain HTTP API for chain state, balances, transactions, contracts, proofs, peers and events across mainnet and testnet integrations.
Use the node HTTP API directly when you need chain data, balances, transaction submission, contract state, proofs, peers or event infrastructure.
What you'll learn
- Base URLs — use this as a checkpoint while working through Introduction.
- Authentication and limits — use this as a checkpoint while working through Introduction.
- Request and response formats — use this as a checkpoint while working through Introduction.
- Identifiers and amounts — use this as a checkpoint while working through Introduction.
- WebSocket events — use this as a checkpoint while working through Introduction.
API base URLs
| Network | HTTP API | WebSocket |
|---|---|---|
| Mainnet | https://mainnet-rpc.ama.one/api | wss://mainnet-rpc.ama.one/ws/rpc |
| Testnet | https://testnet-rpc.ama.one/api | wss://testnet-rpc.ama.one/ws/rpc |
Implementation flow
- Choose the correct API base URL for the target network.
- Use read endpoints to validate state before building writes.
- Submit signed transactions and verify results through transaction, chain or event data.
Operational and developer context
API consumers should validate response shapes and error fields instead of assuming every HTTP 200 response represents a successful business operation. Backends should also use timeouts, retries with limits and explicit network selection.
Handle rate limits, malformed requests, pruned history, network errors and schema changes. Production integrations should log identifiers without logging secrets.
Checks and troubleshooting
- Request encoding matches the endpoint.
- Error fields are parsed.
- Retries have limits and timeouts.
- Network and historical-data assumptions are explicit.
Related Amahub Docs
FAQ
What does Amadeus Blockchain HTTP API cover?
It covers the Amadeus node HTTP API, chain state, transactions, contracts, proofs, peers and events with implementation and operational context for backend developers, indexers, explorers and infrastructure teams.
Should I use testnet before using Introduction in production?
Yes for new integrations and operational changes. Validate network configuration, signing behavior, error handling and expected state changes in a non-production environment first.
What is the most important troubleshooting check?
Inspect the API error field, endpoint base URL, request encoding and the network whose state you are querying.