Bridge Integration StagingStaging
settle_managed_transfer
Settles a managed inflight transfer and removes it from the registry.
Required conditions
- The vault integration ACL must enable this integration before the instruction is accepted; that enablement is defined on the GLAM state account.
- If the signer is not the owner, the delegate ACL on the GLAM state must contain the exact protocol permission required by this instruction; registering a delegate alone is insufficient.
- Instruction-specific destination accounts must satisfy the external protocol's own account model; GLAM validates the accounts it needs for authorization and policy enforcement, then passes the remaining protocol accounts through CPI.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | GLAM state account that stores vault configuration, integration ACLs, delegate permissions, policies, assets, mint linkage, and pricing records. |
| glam_vault | writable | Vault PDA associated with the GLAM state and used as the vault authority. |
| glam_signer | signer, writable | Calling authority or fee payer. |
| glam_protocol_program | read-only | GLAM Protocol program account used for authorization or CPI. |
| bridge_registry | writable | Bridge route, session, registry, or managed-transfer account. |
| integration_authority | read-only | Program-derived authority used by the integration for downstream invocation. |
| system_program | read-only | Solana System Program. |
Arguments
| Argument | Type | Notes |
|---|---|---|
| args | SettleManagedTransferArgs |
Policy & permissions
- The
bridge_registryaccount must belong to this GLAM state. - Signer access is checked through the record's protocol against Bridge
Settle. - Record status must be
CommittedorValidated. The instruction removes the record and syncs the managed-transfer position when needed.
TypeScript SDK usage
await glamClient.bridge.settleManagedTransfer(transferId);Cross-instruction constraints
- Run after validation and downstream settlement are complete so the managed transfer can be removed from the registry.