typescript-sdk

Home > @3rdweb/sdk > NFTModule > ownerOf

NFTModule.ownerOf() method

Checks the owner of a particular NFT

Signature:

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

Parameters

Parameter Type Description
tokenId string ID of the NFT to get the owner of

Returns:

Promise<string>

the owner of the token, or a zero address if the token has been burned