GLAMIDL Reference
GLAM ConfigProduction

delete_asset_meta

Deletes asset/oracle metadata from GLAM config.

Handler narrative

  1. Load the GLAM state or program account required by the instruction and verify the signer.
  2. Verify global config authority, then create, update, or remove protocol-wide fee/referrer/asset metadata.

Required conditions

  • The submitted accounts must match the declared account list, signer requirements, writable requirements, fixed program addresses, and account relationships shown below.

Accounts

AccountRoleDescription
global_configwritableProgram-derived account used by this instruction; clients should prefer SDK helpers when available.
adminsigner, writableInstruction-specific account supplied by the caller or SDK.
system_programread-onlyStandard Solana program account required by the instruction.

Arguments

ArgumentTypeNotes
assetpubkeyAsset mint whose metadata mapping should be removed.
oraclepubkeyOracle account paired with the asset metadata entry being removed.

Policy & permissions

  • No external integration enablement is required beyond the program-level functionality involved in this instruction.
  • Caller must be the owner or a delegate with the explicit protocol permission required by this instruction.

Cross-instruction constraints

  • No additional cross-instruction constraint is documented beyond account initialization, authority checks, and policy validation.