Skip to main content

useNFTBalanceParams type

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

The params to pass to useNftBalance.

Signature:

export declare type useNFTBalanceParams<TContract> = TContract extends Erc1155
? [
contract: RequiredParam<TContract>,
ownerWalletAddress: RequiredParam<WalletAddress>,
tokenId: RequiredParam<BigNumberish>,
]
: [
contract: RequiredParam<TContract>,
ownerWalletAddress: RequiredParam<WalletAddress>,
];

References: RequiredParam, WalletAddress