quicknode/SKILL.md
Blockchain RPC and data access via Quicknode. Use when an agent needs to read onchain data (balances, token prices, transaction status, gas estimates, block data) across Base, Ethereum, Polygon, Solana, or Unichain. Supports both API key access and x402 wallet-based pay-per-request access with no account needed. Triggers on mentions of RPC, blockchain data, onchain queries, token balances, gas estimation, block number, transaction receipt, Quicknode, or x402.
npx skillsauth add bankrbot/skills quicknodeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Quicknode provides high-performance RPC endpoints across 77+ blockchain networks including all chains Bankr supports: Base, Ethereum, Polygon, Solana, and Unichain.
Two ways to access:
@quicknode/x402 and start querying immediately.x402 is ideal for autonomous agents. No signup, no API keys. Pay with USDC on Base, Polygon, or Solana.
import { createQuicknodeX402Client } from "@quicknode/x402";
const client = await createQuicknodeX402Client({
baseUrl: 'https://x402.quicknode.com',
network: "eip155:84532", // pay on Base Sepolia (testnet)
evmPrivateKey: process.env.PRIVATE_KEY,
preAuth: true, // pre-authenticates via SIWX for faster payment flow
});
// Pay on Base, query any chain
const res = await client.fetch("https://x402.quicknode.com/ethereum-mainnet", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ jsonrpc: "2.0", method: "eth_blockNumber", params: [], id: 1 }),
});
Install: npm install @quicknode/x402
Credit pricing:
Full x402 docs: https://x402.quicknode.com/llms.txt
Quicknode endpoints include authentication in the URL:
https://{ENDPOINT_NAME}.{NETWORK}.quiknode.pro/{API_KEY}/
import { createPublicClient, http } from "viem";
import { base } from "viem/chains";
const client = createPublicClient({
chain: base,
transport: http(process.env.QUICKNODE_RPC_URL),
});
const block = await client.getBlockNumber();
const balance = await client.getBalance({ address: "0x..." });
Or raw RPC:
{ "jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0x...", "latest"], "id": 1 }
Use eth_call with the ERC-20 balanceOf(address) selector (0x70a08231):
{
"jsonrpc": "2.0",
"method": "eth_call",
"params": [{
"to": "0xTOKEN_CONTRACT",
"data": "0x70a08231000000000000000000000000WALLET_ADDRESS_NO_0x"
}, "latest"],
"id": 1
}
{ "jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": 1 }
{ "jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xTX_HASH"], "id": 1 }
{ "jsonrpc": "2.0", "method": "getBalance", "params": ["WALLET_PUBKEY"], "id": 1 }
{
"jsonrpc": "2.0",
"method": "getTokenAccountsByOwner",
"params": [
"WALLET_PUBKEY",
{ "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" },
{ "encoding": "jsonParsed" }
],
"id": 1
}
Quicknode endpoints can be enhanced with Marketplace add-ons. Relevant ones for trading agents:
qn_getWalletTokenBalance returns all ERC-20 balances for a wallet in one call. No need to query each token contract individually.qn_fetchNFTs returns NFTs owned by an address with metadata.qn_estimatePriorityFees returns recommended priority fees based on recent network activity. Useful for ensuring transactions land quickly.getAssetsByOwner and searchAssets.quoteGet and swapPost endpoints. Docs: https://www.quicknode.com/docs/solana/metis-overviewSee all add-ons: https://marketplace.quicknode.com/
These add-ons are available on API key endpoints. Enable them in the Quicknode dashboard.
All Bankr-supported chains are available on Quicknode:
| Chain | x402 Network Slug | API Key Docs |
|-------|-------------------|--------------|
| Base | base-mainnet | https://www.quicknode.com/docs/base |
| Ethereum | ethereum-mainnet | https://www.quicknode.com/docs/ethereum |
| Polygon | polygon-mainnet | https://www.quicknode.com/docs/polygon |
| Solana | solana-mainnet | https://www.quicknode.com/docs/solana |
| Unichain | unichain-mainnet | https://www.quicknode.com/docs/unichain |
x402 base URL: https://x402.quicknode.com/{network-slug}
See full list of supported chains: https://www.quicknode.com/chains
@quicknode/x402 handles this automatically by triggering a new USDC payment.-32000): Method-specific errors. Check params and retry.tools
HSM-backed secret management for AI agents. Store API keys (including Bankr `bk_` keys), passwords, and credentials in an encrypted vault; retrieve them at runtime via MCP without keeping secrets in chat context. Policy-based access control, secret rotation, sharing, EVM transaction intents (sign/simulate/broadcast), multi-chain signing keys, treasury multisig proposals, OIDC federation for external service auth, built-in prompt injection detection, and optional Shroud TEE LLM proxy. Use when the agent needs secure credential storage, just-in-time secret access, guarded on-chain signing, or security scanning — not for Bankr trading prompts, portfolio checks, or x402 calls (use the bankr skill instead).
testing
Stake $GEM tokens on Gem Miner (gemminer.app) to earn yield and unlock the in-game earn/cashout system. Use when the user wants to stake GEM, check their staking balance or rewards, unstake, claim rewards, or check whether they meet the 25M GEM gate. Base mainnet only.
development
CodeGrid is a native macOS canvas where multiple coding agents (Claude, Codex, Gemini, Cursor, Grok, shells) run side by side in panes and collaborate via a local agent bus — no tmux, no cloud, no account, no stored API keys. Install this skill when an agent should know how to operate inside a CodeGrid pane, drive the workspace from outside (control socket or codegrid:// deep links), spawn or message sibling agents, or coordinate multi-agent work (delegate, review, pipeline, parallel fan-out, monitor, debate). The differentiator: multiple coding agents collaborating on one canvas, addressable by stable session_id, with a read → message → read protocol built for orchestration.
tools
Use Agent Wormhole for one-time sealed handoffs between autonomous agents, including encrypted mission briefs, scoped secrets, temporary artifacts, receipts, config drops, CLI/API usage, ECHO holder access, and Bankr x402 paid opens.