Quaiscan API

Quaiscan Internal Documentation

To view Modules and API Reference documentation:

  1. Generate documentation.

    mix docs

  2. View the generated docs.

    open doc/index.html

Requests and Limits

The default rate limit for requests is 50 requests/sec set via the default_api_rate_limit variable. This applies to global requests which do not originate from a whitelisted address or do not use an API key.

Quaiscan API Usage

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

Quaiscan supports several methods:

  1. REST API: API that serves the Quaiscan UI. -> More info

  2. RPC API: provided for developers transitioning their applications from other networks to Quaiscan. Supports GET and POST requests. -> More info

  3. Quai RPC API: Supports the most popular JSON RPC methods. -> More info

  4. Graphiql: An IDE for exploring GraphQL.

GraphQL

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

Quai RPC

Quaiscan supports the following methods. Requests and return data are identical to the Quai documentation.

  • quai_blockNumber

  • quai_getBalance

  • quai_getLogs

  • quai_gasPrice

  • quai_getTransactionByHash

  • quai_getTransactionReceipt

  • quai_chainId

  • quai_maxPriorityFeePerGas

  • quai_getTransactionCount

  • quai_getCode

  • quai_getStorageAt

  • quai_estimateGas

  • quai_getBlockByNumber

  • quai_getBlockByHash

  • quai_sendRawTransaction

  • quai_call

More details on Quai RPC for Quaiscan are available here.

Last updated