useUpdateNFTMetadata

Update nft metadata

function useUpdateNFTMetadata(
contract: RequiredParam<TContract>,
): UseMutationResult<
Omit<{}, "data">,
unknown,
{
metadata: objectInputType<
extendShape<{}, {}>,
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BigNumber | BN
>,
ZodUnknown,
]
>,
"strip"
>;
tokenId: BigNumberish;
},
unknown
>;

Parameters

Instance of a NFTContract

Type

let contract: RequiredParam<TContract>;

Returns

let returnType: UseMutationResult<
Omit<{}, "data">,
unknown,
{
metadata: objectInputType<
extendShape<{}, {}>,
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BigNumber | BN
>,
ZodUnknown,
]
>,
"strip"
>;
tokenId: BigNumberish;
},
unknown
>;