Create
Args
: { asset
: Signer; authority
?: undefined | Signer; collection
?: undefined | Pick<CollectionV1, "publicKey" | "lifecycleHooks" | "oracles">; dataState
?: undefined | DataState; logWrapper
?: undefined | PublicKey<string> | Pda<string, number>; name
: string; owner
?: undefined | PublicKey<string> | Pda<string, number>; payer
?: undefined | Signer; plugins
?: undefined | (AssetPluginAuthorityPairArgsV2 | { type
: "LifecycleHook"; } & Omit<BaseLifecycleHookInitInfoArgs, "dataAuthority" | "schema" | "initPluginAuthority" | "extraAccounts" | "lifecycleChecks"> & { dataAuthority
?: PluginAuthority; extraAccounts
?: ExtraAccount[]; initPluginAuthority
?: PluginAuthority; lifecycleChecks
: LifecycleChecks; schema
?: ExternalPluginAdapterSchema; type
: "LifecycleHook"; } | { type
: "Oracle"; } & Omit<BaseOracleInitInfoArgs, "initPluginAuthority" | "lifecycleChecks" | "baseAddressConfig" | "resultsOffset"> & { baseAddressConfig
?: ExtraAccount; initPluginAuthority
?: PluginAuthority; lifecycleChecks
: LifecycleChecks; resultsOffset
?: ValidationResultsOffset; type
: "Oracle"; } | { type
: "AppData"; } & Omit<BaseAppDataInitInfoArgs, "dataAuthority" | "initPluginAuthority" | "lifecycleChecks"> & { dataAuthority
: PluginAuthority; initPluginAuthority
?: PluginAuthority; lifecycleChecks
?: LifecycleChecks; schema
?: ExternalPluginAdapterSchema; type
: "AppData"; } | { type
: "LinkedLifecycleHook"; } & Omit<BaseLinkedLifecycleHookInitInfoArgs, "dataAuthority" | "schema" | "initPluginAuthority" | "extraAccounts" | "lifecycleChecks"> & { dataAuthority
?: PluginAuthority; extraAccounts
?: ExtraAccount[]; initPluginAuthority
?: PluginAuthority; lifecycleChecks
: LifecycleChecks; schema
?: ExternalPluginAdapterSchema; type
: "LinkedLifecycleHook"; } | { type
: "LinkedAppData"; } & Omit<BaseLinkedAppDataInitInfoArgs, "dataAuthority" | "initPluginAuthority" | "lifecycleChecks"> & { dataAuthority
: PluginAuthority; initPluginAuthority
?: PluginAuthority; lifecycleChecks
?: LifecycleChecks; schema
?: ExternalPluginAdapterSchema; type
: "LinkedAppData"; } | never)[]; systemProgram
?: undefined | PublicKey<string> | Pda<string, number>; updateAuthority
?: undefined | PublicKey<string> | Pda<string, number>; uri
: string; }
Type declaration
-
-
Optional
authority?: undefined | Signer
-
Optional
collection?: undefined | Pick<CollectionV1, "publicKey" | "lifecycleHooks" | "oracles">
-
Optional
dataState?: undefined | DataState
-
Optional
logWrapper?: undefined | PublicKey<string> | Pda<string, number>
-
name: string
-
Optional
owner?: undefined | PublicKey<string> | Pda<string, number>
-
Optional
payer?: undefined | Signer
-
-
Optional
systemProgram?: undefined | PublicKey<string> | Pda<string, number>
-
Optional
updateAuthority?: undefined | PublicKey<string> | Pda<string, number>
-
uri: string
The address of the new asset