Skip to content
Fourohtwo

api.onesource.io/api/chain/erc721-tokens

List every ERC721 NFT token_id a wallet owns in a collection via tokenOfOwnerByIndex (eth_call)

BaseAnswering
GEThttps://api.onesource.io/api/chain/erc721-tokens

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.onesource.io/api/chain/erc721-tokens?address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&contract=0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d&network=ethereum");
console.log(await res.json());

Example input

{
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "contract": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
  "network": "ethereum"
}