API calls can be accessed from the Blockscout main menu, footer or header depending on the instance.
Blockscout supports several methods:
- REST API: API that serves the UI for new instances of Blockscout.
- RPC API: provided for developers transitioning their applications from Etherscan to Blockscout. Supports GET and POST requests.
- Eth RPC API: Supports the most popular JSON RPC methods.
- Graphiql: An IDE for exploring GraphQL.
API access in new instance
API Keys are not needed by default. Blockscout instances have a standard global request setting of 50/requests per second. However, My Account users can add up to 3 API keys to ensure 10 request/second limits.
- More info on My Account and adding API Keys
- More info on API Requests and Limits
To view Modules and API Reference documentation:
-
Generate documentation.
mix docs
-
View the generated docs.
open doc/index.html