Skip to content
Fossa

Simulation and submission

Simulation and submission

simulate checks a copy with signatures removed and signature verification disabled; call the result’s check(). Simulation does not establish signature validity or execution. broadcast submits the original bytes. submit first reconciles history and validity. confirm waits for the selected commitment or reports failure, expiry, or timeout.

An unobserved signature expires only after finalized block height passes validity plus a safety margin, fresh checks show the blockhash invalid at each commitment, and a context-bound history query still finds nothing. A timeout leaves the outcome unresolved. No recovery method signs a replacement automatically.

This example executes one reviewed instruction. Supply all additional required signers for actions that create accounts or require another authority.