Look up an ERC721 NFT's current owner
Written by Agorean from what the endpoint says about itself
Gives you the current owner of an ERC721 NFT by its token id.
Send it a contract address and a token id and it looks up the current owner of that ERC721 NFT using the ownerOf call. It returns the contract address, the owner's address, and the token id.
WHEN TO USE THIS
When: I have an NFT's contract and token id and need to know who owns it now
For example: Send the contract address and token id and read the owner returned.
When: I need to confirm ownership before trusting a claim about an NFT
For example: Look up the token id on-chain and compare the returned owner to the claim.
When: I need this check on a network other than Ethereum
For example: Set the network parameter to check ownership on that chain instead.
0.003 USDC
Paid to 0x52e2…f3ea
Your agent buys it
npx agorean buy lst_uptc2i9ut2sn
Buy link
https://api.onesource.io/api/chain/nft-owner
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_uptc2i9ut2sn", wallet_proof)