Custom Blockchain Explorer
Location: Settings → Integrations → Custom Blockchain Explorer
Location: Settings → Integrations → Custom Blockchain Explorer
Connect a custom blockchain explorer API for unsupported blockchains or for using your preferred explorer service.
Fields
| Field | Description | Default |
|---|---|---|
| Enable | Activate the custom blockchain explorer. | Off |
| Unit Type | Select the unit format: "Bitcoin / Ethereum / Dogecoin" (standard units) or "Satoshi / Wei / Dogecoin" (smallest units). | Bitcoin / Ethereum / Dogecoin |
| Balance URL | API endpoint to query address balances. Use {R} as a placeholder for the wallet address, {N} for cryptocurrency code, {N2} for cryptocurrency name. | — |
| Balance Path | JSON path to extract the balance value from the API response. | — |
| Transaction URL | API endpoint to query a single transaction. Use {R} as a placeholder for the transaction hash, {A} for token contract address. | — |
| Transaction Paths | JSON paths to extract transaction data (amount, confirmations, etc.). | — |
| Transactions URL | API endpoint to list recent transactions for an address. Use {R} for address, {N} for cryptocurrency code, {A} for token contract address. | — |
| Transactions Paths | JSON paths to extract data from the transactions list. | — |
| Address Generator URL | API endpoint to generate new deposit addresses. | — |
| Address Generator Path | JSON path to extract the generated address. | — |
How It Works
The custom explorer integration allows QuantaPay to:
- Check balances — Verify incoming payments by querying your explorer
- Verify transactions — Look up transaction details and confirmations
- List transactions — Find incoming payments to your address
- Generate addresses — Create unique deposit addresses per transaction
Example: Custom Bitcoin Explorer
Balance URL: https://api.myexplorer.com/address/{R}/balance
Balance Path: data.balance
Transaction URL: https://api.myexplorer.com/tx/{R}
Transaction Paths: data.amount,data.confirmations,data.from,data.to
Transactions URL: https://api.myexplorer.com/address/{R}/txs
Transactions Paths: data[].amount,data[].hash,data[].confirmations
Placeholder Reference
| Placeholder | Description |
|---|---|
{R} | Wallet address (for balance/transactions queries) or transaction hash (for single transaction queries) |
{N} | Cryptocurrency code (e.g., btc, eth) |
{N2} | Cryptocurrency name (e.g., Bitcoin, Ethereum) |
{A} | Token contract address (for ERC-20/BEP-20 token transactions) |
Note: The API must return JSON responses. XML or other formats are not supported.