Properties Private
contract Wrapper contract Wrapper : ContractWrapper < IMintableERC721 >
feature Name feature Name : "ERC721Mintable" = FEATURE_NFT_MINTABLE.name
Private
storage storage : ThirdwebStorage < IpfsUploadBatchOptions >
to Type declaration ( ... args ) : Promise < TResult > Parameters Rest
... args : [ to: string , metadata: string | objectInputType < { animation_url : ZodNullable < ZodOptional < ZodUnion < [ ZodUnion < [ ZodTypeAny , ZodObject < { data : ZodUnion < [ ZodTypeAny , ZodString ] > ; name : ZodString ; } , "strip" , ZodTypeAny , { data ?: any ; name : string ; } , { data ?: any ; name : string ; } > ] > , ZodString ] > > > ; attributes : ZodNullable < ZodOptional < ZodUnion < [ ZodArray < ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > , "many" > , ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > ] > > > ; background_color : ZodNullable < ZodOptional < ZodUnion < [ ZodString , ZodEffects < ZodString , string , string > , ZodString ] > > > ; description : ZodNullable < ZodOptional < ZodNullable < ZodString > > > ; external_url : ZodOptional < ZodNullable < ZodUnion < [ ZodUnion < [ ZodTypeAny , ZodObject < { data : ZodUnion < [ ZodTypeAny , ZodString ] > ; name : ZodString ; } , "strip" , ZodTypeAny , { data ?: any ; name : string ; } , { data ?: any ; name : string ; } > ] > , ZodString ] > > > ; image : ZodOptional < ZodNullable < ZodUnion < [ ZodUnion < [ ZodTypeAny , ZodObject < { data : ZodUnion < [ ZodTypeAny , ZodString ] > ; name : ZodString ; } , "strip" , ZodTypeAny , { data ?: any ; name : string ; } , { data ?: any ; name : string ; } > ] > , ZodString ] > > > ; name : ZodNullable < ZodOptional < ZodUnion < [ ZodString , ZodNumber ] > > > ; properties : ZodNullable < ZodOptional < ZodUnion < [ ZodArray < ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > , "many" > , ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > ] > > > ; } , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > ] Returns Promise < TResult > ( ... args ) : Promise < Transaction < TransactionResultWithId < NFT > > > Parameters Rest
... args : [ to: string , metadata: string | objectInputType < { animation_url : ZodNullable < ZodOptional < ZodUnion < [ ZodUnion < [ ZodTypeAny , ZodObject < { data : ZodUnion < [ ZodTypeAny , ZodString ] > ; name : ZodString ; } , "strip" , ZodTypeAny , { data ?: any ; name : string ; } , { data ?: any ; name : string ; } > ] > , ZodString ] > > > ; attributes : ZodNullable < ZodOptional < ZodUnion < [ ZodArray < ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > , "many" > , ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > ] > > > ; background_color : ZodNullable < ZodOptional < ZodUnion < [ ZodString , ZodEffects < ZodString , string , string > , ZodString ] > > > ; description : ZodNullable < ZodOptional < ZodNullable < ZodString > > > ; external_url : ZodOptional < ZodNullable < ZodUnion < [ ZodUnion < [ ZodTypeAny , ZodObject < { data : ZodUnion < [ ZodTypeAny , ZodString ] > ; name : ZodString ; } , "strip" , ZodTypeAny , { data ?: any ; name : string ; } , { data ?: any ; name : string ; } > ] > , ZodString ] > > > ; image : ZodOptional < ZodNullable < ZodUnion < [ ZodUnion < [ ZodTypeAny , ZodObject < { data : ZodUnion < [ ZodTypeAny , ZodString ] > ; name : ZodString ; } , "strip" , ZodTypeAny , { data ?: any ; name : string ; } , { data ?: any ; name : string ; } > ] > , ZodString ] > > > ; name : ZodNullable < ZodOptional < ZodUnion < [ ZodString , ZodNumber ] > > > ; properties : ZodNullable < ZodOptional < ZodUnion < [ ZodArray < ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > , "many" > , ZodObject < {} , "strip" , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , objectOutputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > , objectInputType < {} , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > > ] > > > ; } , ZodUnion < [ ZodEffects < ZodUnion < [ ZodBigInt , ZodType < BigNumber , ZodTypeDef , BigNumber > , ZodType < BN , ZodTypeDef , BN > ] > , string , bigint | BN | BigNumber > , ZodUnknown ] > , "strip" > ]
Mint ERC721 NFTs
Remarks
NFT minting functionality that handles IPFS storage for you.
Example