Blockscout Internal Documentation

To view Modules and API Reference documentation:
  1. 1.
    Generate documentation.
    mix docs
  2. 2.
    View the generated docs.
    open doc/index.html

Blockscout API Usage

Api calls can be accessed from the Blockscout footer (or top menu depending on the Blockscout instance). Blockscout supports several methods:
  1. 1.
    ​Graphiql: An IDE for exploring GraphQL
  2. 2.
    RPC: API provided for developers transitioning their applications from Etherscan to Blockscout. Supports GET and POST requests.
  3. 3.
    Eth RPC: Supports the most popular JSON RPC methods.


Send Queries to quickly get information. Use the Docs button to quickly find arguments accepted by the schema. More information is available in our Blockscout GraphQL tutorial.
Docs button for GraphQL


Blockscout supports the following methods. Requests and return data are identical to the documentation.
  • eth_blockNumber
  • eth_call
  • eth_getBalance
  • eth_getCode
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getTransactionByHash
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getLogs