Skip to main content

Erc721.getAllOwners() method

Get All owners of minted NFTs on this contract

Signature:

getAllOwners(): Promise<{
tokenId: number;
owner: string;
}[]>;

Returns:

Promise<{ tokenId: number; owner: string; }[]>

an array of token ids and owners