Use when an agent must see who an EVM wallet deals with
1gateway.dev/v1/onchain/wallet-related
Use when an agent must see who an EVM wallet deals with: counterparties ranked by ERC-20 transfers, earliest inbound sender, wallets the same funder also paid, tokens. Input: address, chain (base default, ethereum, arbitrum, monad), hours (1-24; Arbitrum 1-6, Monad 1-2), limit. Output: JSON counterparties with labels (contract/EOA, token, router/bridge, OFAC flag), first and shared funder. ERC-20
GET
https://1gateway.dev/v1/onchain/wallet-relatedUptime100% of 2 checks in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://1gateway.dev/v1/onchain/wallet-related?address=0xd0b53D9277642d899DF5C87A3966A349A798F224&chain=base&hours=1&limit=15");
console.log(await res.json());Example input
{
"address": "0xd0b53D9277642d899DF5C87A3966A349A798F224",
"chain": "base",
"hours": 1,
"limit": 15
}