Function getInitializePositionBundleWithMetadataInstruction
- getInitializePositionBundleWithMetadataInstruction<
TAccountPositionBundle extends string,
TAccountPositionBundleMint extends string,
TAccountPositionBundleMetadata extends string,
TAccountPositionBundleTokenAccount extends string,
TAccountPositionBundleOwner extends string,
TAccountFunder extends string,
TAccountMetadataUpdateAuth extends string,
TAccountTokenProgram extends string,
TAccountSystemProgram extends string,
TAccountRent extends string,
TAccountAssociatedTokenProgram extends string,
TAccountMetadataProgram extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: InitializePositionBundleWithMetadataInput<
TAccountPositionBundle,
TAccountPositionBundleMint,
TAccountPositionBundleMetadata,
TAccountPositionBundleTokenAccount,
TAccountPositionBundleOwner,
TAccountFunder,
TAccountMetadataUpdateAuth,
TAccountTokenProgram,
TAccountSystemProgram,
TAccountRent,
TAccountAssociatedTokenProgram,
TAccountMetadataProgram,
>,
config?: { programAddress?: TProgramAddress },
): InitializePositionBundleWithMetadataInstruction<
TProgramAddress,
TAccountPositionBundle,
TAccountPositionBundleMint,
TAccountPositionBundleMetadata,
TAccountPositionBundleTokenAccount,
TAccountPositionBundleOwner,
TAccountFunder,
TAccountMetadataUpdateAuth,
TAccountTokenProgram,
TAccountSystemProgram,
TAccountRent,
TAccountAssociatedTokenProgram,
TAccountMetadataProgram,
> Type Parameters
- TAccountPositionBundle extends string
- TAccountPositionBundleMint extends string
- TAccountPositionBundleMetadata extends string
- TAccountPositionBundleTokenAccount extends string
- TAccountPositionBundleOwner extends string
- TAccountFunder extends string
- TAccountMetadataUpdateAuth extends string
- TAccountTokenProgram extends string
- TAccountSystemProgram extends string
- TAccountRent extends string
- TAccountAssociatedTokenProgram extends string
- TAccountMetadataProgram extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">
Parameters
- input: InitializePositionBundleWithMetadataInput<
TAccountPositionBundle,
TAccountPositionBundleMint,
TAccountPositionBundleMetadata,
TAccountPositionBundleTokenAccount,
TAccountPositionBundleOwner,
TAccountFunder,
TAccountMetadataUpdateAuth,
TAccountTokenProgram,
TAccountSystemProgram,
TAccountRent,
TAccountAssociatedTokenProgram,
TAccountMetadataProgram,
> Optional
config: { programAddress?: TProgramAddress }