Skip to main content

Erc1155.getAll() method

Get All NFTs

Example

const nfts = await contract.erc1155.getAll();

Signature:

getAll(queryParams?: QueryAllParams): Promise<NFT[]>;

Parameters

ParameterTypeDescription
queryParamsQueryAllParams(Optional) optional filtering to only fetch a subset of results.

Returns:

Promise<NFT[]>

The NFT metadata for all NFTs queried.

Remarks

Get all the data associated with every NFT in this contract.

By default, returns the first 100 NFTs, use queryParams to fetch more.