Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
ERC721 → Owner Of
AI-generatedSummary
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