GatewayWalletBatched
Fetch historical orderbook snapshots for a Kalshi market
https://nano.blockrun.ai/api/v1/pm/kalshi/orderbooksUptime100% of 1 check in 30 days
30 days agoToday
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://nano.blockrun.ai/api/v1/pm/kalshi/orderbooks");
console.log(await res.json());