Preflight

Check one unsigned Solana transaction against a policy before an agent signs it. Counts as one evaluation; a check that cannot be made is not counted

post/api/v1/preflight/checks

Request

  • Base URL: https://overwing.ai
  • URL: https://overwing.ai/api/v1/preflight/checks
  • Auth: HTTP bearer

Request body

transactionstring required

The serialized Solana transaction in base64, legacy or v0, signed or not. Signatures are ignored

Response

The verdict: allow or refuse, with every reason

idstring
decision'allow' | 'refuse'

The one field to branch on. Sign only on allow

effectsobject nullable

What the simulation says would happen to the wallet: sol_out_lamports, token_out, token_in (atomic units as strings, by mint) and control changes. Null when it could not be simulated

programsstring[]

Every program the transaction would run

digeststring

sha256 of the message with its blockhash zeroed

slotinteger nullable
coveredboolean

Whether the guarantee applies: an allow made only of programs Overwing names

decided_atstring date-time
valid_for_secondsinteger

A verdict covers a transaction that lands within this many seconds

receiptobject

The published payload, its hash, and an Ed25519 signature over the hash

record_urlstring

Changes

No recorded changes to this operation across all 1 revision of this API.