A single relayer attestation over a cross-chain event.

Relayers sign the canonical payload hash of a cross-chain transfer using their Ed25519 private key. The contract verifies each signature and counts how many are from registered relayers before applying the transfer.

interface RelayerSig {
    pubkey: string;
    signature: string;
}

Properties

Properties

pubkey: string

32-byte Ed25519 public key of the signing relayer, as a lowercase hex string. Must be registered on the contract via addRelayer.

signature: string

64-byte Ed25519 signature over the canonical payload hash, as a lowercase hex string.