Skip to content
—
QuantascanAlpha
Browse API groups

Explorer-compatible API API

The module/action query API most block-explorer client libraries already speak (GET /api?module=account&action=txlist&address=…&apikey=qs_…), for QRL 2.0. Point existing client code at https://quantascan.io/api by changing the base URL. Addresses are Q-prefixed (0x is accepted on input); errors keep the same {status, message, result} body but use real HTTP status codes.
GET/api/v1/compat/etherscan

Explorer-compatible API (module/action) for QRL 2.0

Accepts the widely used ?module=…&action=…&apikey=… explorer API so existing client libraries and scripts work against QRL 2.0 by changing only the base URL (https://quantascan.io/api). An API key is required (apikey=qs_…).

Supported: account balance, balancemulti (100), balancehistory, txlist, txlistinternal, tokentx, tokennfttx, token1155tx, txsBeaconWithdrawal, tokenbalance, addresstokenbalance, addresstokennftbalance, addresstokennftinventory · contract getabi, getsourcecode, getcontractcreation · transaction getstatus, gettxreceiptstatus · block getblocknobytime, getblockreward, getblockcountdown · logs getLogs · stats ethsupply, tokensupply · gastracker gasoracle · proxy eth_blockNumber, eth_getBlockByNumber, eth_getTransactionByHash, eth_getTransactionReceipt, eth_call, eth_getCode, eth_getStorageAt, eth_gasPrice, eth_estimateGas, eth_getTransactionCount, eth_sendRawTransaction, eth_getBlockTransactionCountByNumber, eth_getTransactionByBlockNumberAndIndex (translated to the node's qrl_* methods) · getapilimit.

Amounts are in planck (1 Quanta = 1e18 planck); gas prices in gastracker are in shor (1e9 planck). Addresses are Q + 40 or 128 hex; 0x + the same hex is accepted as input. Errors use real HTTP status codes with the {status, message, result} body.

Query parameters

  • moduleoptional
    string | null

    account, contract, transaction, block, logs, stats, gastracker, proxy, getapilimit

  • actionoptional
    string | null

    Action within the module, e.g. txlist.

  • chainidoptional
    string | null

    Optional. Must be the QRL 2.0 chain id.

  • apikeyoptional
    string | null

    Your API key (qs_…).

Response 200 · any

Variable shape — see the example response below.

Request examples

curl -s "https://quantascan.io/api/v1/compat/etherscan" \
  -H "Authorization: Bearer qs_YOUR_API_KEY"

All endpoints verified against a live indexer. Need the raw spec? See openapi.json or the API overview.