Skip to main content

MintNFTReturnType type

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

The return type of the useMintNFT() hook.

Signature:

export declare type MintNFTReturnType<TContract> = TContract extends Erc721
? Awaited<ReturnType<Erc721Mintable["to"]>>
: TContract extends Erc1155
? Awaited<ReturnType<Erc1155Mintable["to"]>>
: never;