Skip to content

Latest commit

 

History

History
86 lines (76 loc) · 4.87 KB

README.md

File metadata and controls

86 lines (76 loc) · 4.87 KB

qtuminfo API Documentation

API Endpoint

  • https://qtum.info/api/ for mainnet
  • https://testnet.qtum.info/api/ for testnet

Pagination Parameters

You may use one of 3 forms below, all indices count from 0, maximum 100 records per page:

  • limit=20&offset=40
  • from=40&to=59
  • pageSize=20&page=2

Block / Timestamp Filter Parameters

These params are available in some transaction list queries, records are picked only when fromBlock <= blockHeight <= toBlock, fromTime <= blockTimestamp <= toTime.

Name Type Description
fromBlock Number (optional) Search blocks from height
toBlock Number (optional) Search blocks until height
fromTime ISO 8601 Date String (optional) Search blocks from timestamp
toTime ISO 8601 Date String (optional) Search blocks until timestamp