internet-court/internet-court-skill / vendored/quicknode/quicknode-skill
quicknode-skill
VerifiedQuicknode blockchain infrastructure for 80+ chains: Core RPC API, Streams, Webhooks, Blazar WSS, Solana gRPC, HyperCore gRPC, SQL Explorer, Metaplex DAS API, Blockbook, Ordinals & Runes API, Swap API, x402, MPP, Agent Subscriptions, CLI, and MCP. Use for any Quicknode product, blockchain data access, or wallet-paid agent access.
references/blockbook-reference.md
View on GitHub# Blockbook Reference
Wallet-centric blockchain data via the Blockbook add-on on your Quicknode endpoint. Provides address balances, UTXO sets, transaction history, and balance history — available via JSON-RPC or REST. Particularly useful for UTXO-based chains (Bitcoin, Dogecoin, Litecoin, etc.) where standard RPC methods lack wallet-level indexing.
**Marketing:** https://www.quicknode.com/blockbook
**Docs:** https://www.quicknode.com/docs/bitcoin/blockbook/overview
## Prerequisites
Activate the **Blockbook** add-on for each chain you need in the Quicknode dashboard. Each chain is a separate add-on. Blockbook methods are available on your existing endpoint URL once active.
## Supported Chains
| Chain | Add-on |
|-------|--------|
| Bitcoin (BTC) | BTC Blockbook |
| Ethereum (ETH) | ETH Blockbook |
| Bitcoin Cash (BCH) | BCH Blockbook |
| Dogecoin (DOGE) | Dogecoin Blockbook |
| Litecoin (LTC) | Litecoin Blockbook |
| Zcash (ZEC) | Zcash Blockbook |
## Methods Overview
| Method | Description |
|--------|-------------|
| `bb_getAddress` | Address balance, total received/sent, and transaction list |
| `bb_getXPUB` | XPUB-level balance and transaction history |
| `bb_getUTXOs` | Unspent transaction outputs (UTXOs) for an address or XPUB |
| `bb_getBalanceHistory` | Historical balance for an address over time |
| `bb_getTx` | Transaction details by txid |
| `bb_getTxSpecific` | Backend-native transaction details by txid |
| `bb_getBlock` | Block data including transactions |
| `bb_getBlockHash` | Block hash by block height |
| `bb_getEstimateFee` | Fee estimation for a target confirmation window |
| `bb_getTickers` / `bb_getTickersList` | Fiat ticker data |
| `bb_sendTransaction` | Broadcast a signed raw transaction |
Both JSON-RPC and Blockbook REST interfaces are available on the same endpoint. The REST base path is `/addon/3/api/v2/` on a Bitcoin endpoint with the add-on enabled.
## Get Address Balance and History
```typescript
const response = await fetch(process.env.QUICKNODE_RPC_URL!, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
method: 'bb_getAddress',
params: [
'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
{
details: 'txs', // basic | txids | txs
size: 10,
page: 1,
},
],
}),
});
const { result } = await response.json();
// result.address — the queried address
// result.balance — confirmed balance in satoshis
// result.unconfirmedBalance — unconfirmed balance in satoshis
// result.totalReceived — total received in satoshis
// result.totalSent — total sent in satoshis
// result.txs — total transaction count
// result.transactions — array of transaction objects (when details='txs')
```
## Get UTXOs
```typescript
const response = await fetch(process.env.QUICKNODE_RPC_URL!, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
method: 'bb_getUTXOs',
params: [
'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
{ confirmed: true }, // true = confirmed UTXOs only
],
}),
});
const { result } = await response.json();
// result — array of UTXO objects:
// [{ txid, vout, value, height, confirmations, coinbase? }]
```
**Example UTXO:**
```json
{
"txid": "7f3a1c2b...",
"vout": 0,
"value": "500000",
"height": 820000,
"confirmations": 6
}
```
## Get Balance History
```typescript
const response = await fetch(process.env.QUICKNODE_RPC_URL!, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
method: 'bb_getBalanceHistory',
params: [
'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
{ groupBy: 86400 }, // seconds per bucket (86400 = daily)
],
}),
});
const { result } = await response.json();
// result — array of { time, txs, received, sent, sentToSelf, rates }
```
## REST Access
```bash
curl -X GET \
"https://YOUR_QUICKNODE_ENDPOINT.com/addon/3/api/v2/address/bc1p72h09wplu60qdxyr8q3ftgdhga7jxnjhdz08qs4u9we9q3lzmqmqa4yzj6?details=txids"
```
## Troubleshooting
| Error | Cause | Fix |
|-------|-------|-----|
| Method not found | Add-on not enabled | Activate Blockbook for this chain on your endpoint in the dashboard |
| Invalid address | Incorrect address format | Verify address format matches the chain (e.g., bech32 for BTC) |
| Empty result | Address has no activity | Confirm the address is on the correct network |
## Documentation
- **Blockbook Overview**: https://www.quicknode.com/docs/bitcoin/blockbook/overview
- **Marketing**: https://www.quicknode.com/blockbook
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |