Skip to content
Fourohtwo

api.slamai.dev/wallet/trades

Returns trades for a specified wallet address as the trader (default) or maker, with optional filtering by token, paired token, pair, side, block range, or timestamp range.

BaseUnchecked
GEThttps://api.slamai.dev/wallet/trades

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.slamai.dev/wallet/trades");
console.log(await res.json());

Example input

{"num":{"type":"integer","format":"int32","description":"The maximum number of records to return."},"pair":{"type":"string","description":"The contract address (Uniswap V2/V3) or pool ID (Uniswap V4) of the liquidity pool to fetch trades for. When present, overrides token_address and paired_token_address."},"side":{"enum":["buy","sell","all"],"type":"string","description":"Specifies trade side for