🦀 ClawHub
Goldrush X402
by @gane5h
GoldRush x402 — pay-per-request blockchain data access using the x402 protocol (HTTP 402 Payment Required). Use this skill whenever the user is building an A...
💡 Examples
import { HTTPClient } from "@x402/core";
import { ExactEvmScheme } from "@x402/evm";const client = new HTTPClient({
scheme: new ExactEvmScheme({
network: "eip155:84532", // Base Sepolia
privateKey: process.env.WALLET_PRIVATE_KEY,
}),
});
// Get token balances — payment handled automatically
const balances = await client.get(
"https://x402.goldrush.dev/v1/eth-mainnet/address/demo.eth/balances_v2/"
);
console.log(balances);
Install: npm install @x402/core @x402/evm
TERMINAL
clawhub install goldrush-x402