Find all Candy Machines matching by a given publicKey or a given type.
publicKey
type
The following two types are supported.
authority: Find Candy Machines whose authority is the given publicKey.
authority
const someAuthority = new PublicKey('...');const candyMachines = await metaplex .candyMachinesV2() .findAllBy({ type: 'authority', someAuthority });
wallet: Find Candy Machines whose wallet address is the given publicKey.
wallet
const someWallet = new PublicKey('...');const candyMachines = await metaplex .candyMachinesV2() .findAllBy({ type: 'wallet', someWallet });
Generated using TypeDoc
Find all Candy Machines matching by a given
publicKey
or a giventype
.The following two types are supported.
authority
: Find Candy Machines whose authority is the givenpublicKey
.wallet
: Find Candy Machines whose wallet address is the givenpublicKey
.