Skip to main content

Erc721.ownerOf() method

Get the current owner of a given NFT within this Contract

Signature:

ownerOf(tokenId: BigNumberish): Promise<string>;

Parameters

ParameterTypeDescription
tokenIdBigNumberishthe tokenId of the NFT

Returns:

Promise<string>

the address of the owner