Skip to main content

BurnNFTParams type

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

The params for the useBurnNFT() hook mutation.

Signature:

export declare type BurnNFTParams<TContract extends NFTContract> =
TContract extends Erc1155
? {
tokenId: BigNumberish;
amount: Amount;
}
: {
tokenId: BigNumberish;
};

References: NFTContract