Ethereum icon

Ethereum

Interact with Ethereum blockchain

ERC721 → Owner Of

AI-generated

Summary

Returns the owner address of an ERC-721 token.

Inputs

  • contractAddress (required) — The contract address of the ERC-721 NFT collection.
  • tokenId (required) — The token identifier (e.g., numeric ID or string) whose owner is queried.

Output shape

a string containing the owner address of the specified token

If the token is not found or the contract returns no owner, the result may be null; treat as optional and handle errors.

Examples

Example 1: Fetch the current owner of a specific NFT

contractAddress: 0xAbc123..., tokenId: 42

Links

Discussion