Loading...
Loading...
Use when user wants to query blockchain data or build Web3 applications using the web3-tools skill without API key authentication — paying with USDC via the x402 protocol instead, using wallet-based auth (SIWX/SIWE/SIWS), credit charging, or pay-per-use billing
npx skill4agent add noditlabs/skills web3-x402web3-toolsX-API-KEYweb3-toolsweb3-toolsweb3-toolsweb3-toolsflowchart TD
A[User request] --> B{Repeated API usage?<br/>Pre-charge preferred?}
B -->|YES| C[Credit Mode<br/>1. SIWX auth → JWT<br/>2. Charge USDC → credits<br/>3. API calls deduct credits]
B -->|NO / One-off| D[PPU Mode<br/>1. Send request without auth<br/>2. Receive 402 + payment terms<br/>3. Sign & pay per request]
C --> E{Which API?}
D --> E
E -->|Indexed data<br/>balances, NFT, tokens, stats| F[Data API]
E -->|Node calls<br/>eth_call, getBalance, etc.| G[Node API / JSON-RPC]
style C fill:#2d6a4f,color:#fff
style D fill:#7b2cbf,color:#fff
style F fill:#1d3557,color:#fff
style G fill:#6a040f,color:#fffreferences/pricing-data-api.mdreferences/pricing-node-api.mdreferences/how-to-use.mdreferences/credit-mode.mdreferences/ppu-mode.mdreferences/supported-chains.mdreferences/pricing-data-api.mdreferences/pricing-node-api.mdweb3-toolsweb3-tools/references/quick-reference.mdweb3-tools/references/spec/{operationId}.md