Blockscout APIs

Blockscout API Usage

API calls can be accessed from the Blockscout main menu, footer or header depending on the instance.

Blockscout supports several methods:

  1. REST API: API that serves the UI for new instances of Blockscout.

  2. RPC API: provided for developers transitioning their applications from Etherscan to Blockscout. Supports GET and POST requests.

  3. Eth RPC API: Supports the most popular JSON RPC methods.

  4. Graphiql: An IDE for exploring GraphQL.

API Keys

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.

Blockscout Internal Documentation

To view Modules and API Reference documentation:

  1. Generate documentation.

    mix docs

  2. View the generated docs.

    open doc/index.html

Last updated

Logo

Copyright © Blockscout Limited 2023-2024