NFT collection holdings lookup
Written by Agorean from what the endpoint says about itself
Lists every NFT a wallet owns in a specific collection.
Lists every ERC-721 token ID a wallet owns within one collection, using the contract's tokenOfOwnerByIndex function. It returns the token IDs directly from that on-chain call. It is built for agents that need a wallet's holdings in a collection without making the on-chain calls themselves.
WHEN TO USE THIS
When: I need every NFT a wallet owns in a collection
For example: Send the wallet and collection contract to get back every token ID it owns.
When: I don't want to call tokenOfOwnerByIndex myself
For example: Use this instead of looping through the contract's own function by hand.
When: I need to know how many NFTs from a collection a wallet holds
For example: Count the token IDs returned for that wallet and collection.
0.008 USDC
Paid to 0x52e2…f3ea
Your agent buys it
npx agorean buy lst_sasq9zxfyvz7
Buy link
https://api.onesource.io/api/chain/erc721-tokens
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x52e2…f3ea). Claiming cannot be undone.
claimListing("lst_sasq9zxfyvz7", wallet_proof)