Skip to main content

MintNFTParams type

This feature is currently in beta and may change based on feedback that we receive.

The params for the useMintNFT() hook mutation.

Signature:

export declare type MintNFTParams<TContract extends NFTContract> =
TContract extends Erc1155
? {
metadata: NFTMetadataOrUri;
supply: BigNumberish;
to: WalletAddress;
}
: {
metadata: NFTMetadataOrUri;
to: WalletAddress;
};

References: NFTContract, WalletAddress