Quaiscan
  • Quaiscan Open-Source Explorer
  • 🙎Using Quaiscan
    • Getting Started
      • Glossary of Terms
      • Main Menu
      • Blocks
      • Transaction Types
    • Token Support
      • ERC-1155 Support
  • 👩‍💻Developer Support
    • Quaiscan API
      • REST API Endpoints
      • GraphQL
      • JSON RPC & Quai Compatible RPC Endpoints
        • Account
        • Block
        • Contract
        • Logs
        • Stats
        • Token
        • Transaction
        • Quai RPC API
    • Smart Contract Verification
      • Quaiscan UI
      • Quaiscan smart-contract verification API
      • Hardhat Verification Plugin
    • Local Deployment
  • FAQs
    • User FAQs
    • Developer FAQs
  • 🧩Resources
    • Media kit
    • Release Notes
      • v1.0.0
    • Discussion
    • GitHub Repo
Powered by GitBook
On this page
Export as PDF
  1. Developer Support
  2. Quaiscan API

REST API Endpoints

PreviousQuaiscan APINextGraphQL

Last updated 7 months ago

REST API methods are used to render the UI for new versions of Blockscout. These can be accessed and used to get many types of information. Methods parameters and schemas are available at .

Pagination

Quaiscan uses the keyset pagination method to quickly return results. By default an API response returns the first 50 results. To access additional results (in groups of 50), add the next_page_params to your query.

You will see the next_page_params object. Add the parameters from this object to your next query to receive the next 50 results.

Repeat this process to continue receiving results in groups of 50 (remove params and substitute the new next_page_params found in the body of the query).

In this example, the query to receive the next 50 results would be:

For example, open and scroll to the bottom of the response.

👩‍💻
https://quaiscan.io/api/v2/transactions
https://quaiscan.io/api/v2/transactions?block_number=4023&index=12&items_count=50
https://quaiscan.io/api/v2/transactions?block_number=4023&index=69&items_count=100
https://quaiscan.io/api-docs