GLAMIDL Reference

submit_observation

Submits a trusted raw observation for a configured registered position.

Accounts

AccountRoleDescription
glam_stateread-only`glam_state` account required by the `submit_observation` instruction (see program source for the full constraint).
glam_signersigner`glam_signer` account required by the `submit_observation` instruction (see program source for the full constraint).
observation_statewritable`observation_state` account required by the `submit_observation` instruction (see program source for the full constraint).

Arguments

ArgumentTypeNotes
inputPositionObservationInput

Policy & permissions

  • Signer must hold RPI SubmitObservation.
  • Position must be enabled and trusted; signer must be on the position's submit allowlist.
  • Denomination and freshness are validated; a pending observation is then written.