Skip to main content

Module payload

Module payload 

Source
Expand description

Plain attestation payload and signature structs.

Field order and types match the on-chain attestation instruction arguments so a mechanical field copy converts between the two. With the borsh feature enabled, structs derive BorshSerialize / BorshDeserialize for wire-format decode/encode.

Structsยง

Attestation
A signed attestation: payload plus aggregate Schnorr signature.
AttestationPayload
Signed oracle attestation payload.
SchnorrSignature