submit_observation
Submits a trusted raw observation for a configured registered position.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | read-only | `glam_state` account required by the `submit_observation` instruction (see program source for the full constraint). |
| glam_signer | signer | `glam_signer` account required by the `submit_observation` instruction (see program source for the full constraint). |
| observation_state | writable | `observation_state` account required by the `submit_observation` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| input | PositionObservationInput |
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.