Functions
getMetadataConfig
- getMetadataConfig(connection: Connection, metadataConfigId: PublicKey): Promise<AccountData<AnchorTypeDef<{ name: "metadataConfig"; type: { fields: [{ name: "baseMetadataUri"; type: "string" }, { name: "attributes"; type: { vec: { defined: "Attribute" } } }]; kind: "struct" } } & { name: "metadataConfig" }, AnchorDefined<CardinalGenerator, Record<string, never>>>>>
Parameters
connection: Connection
metadataConfigId: PublicKey
Returns Promise<AccountData<AnchorTypeDef<{ name: "metadataConfig"; type: { fields: [{ name: "baseMetadataUri"; type: "string" }, { name: "attributes"; type: { vec: { defined: "Attribute" } } }]; kind: "struct" } } & { name: "metadataConfig" }, AnchorDefined<CardinalGenerator, Record<string, never>>>>>