bothy-sdk
    Preparing search index...

    Interface SignWebhookOptions

    The input of signWebhook.

    interface SignWebhookOptions {
        body: string | Uint8Array<ArrayBufferLike>;
        id: string;
        secrets?: readonly (string | Uint8Array<ArrayBufferLike>)[];
        seeds?: readonly Uint8Array<ArrayBufferLike>[];
        timestamp: number;
    }
    Index

    Properties

    body: string | Uint8Array<ArrayBufferLike>

    The body exactly as sent; a string counts as its UTF-8 bytes.

    id: string

    The webhook-id, equal to the event ID.

    secrets?: readonly (string | Uint8Array<ArrayBufferLike>)[]

    v1 secrets in whsec_ form or as raw key bytes, newest generation first.

    seeds?: readonly Uint8Array<ArrayBufferLike>[]

    32-byte Ed25519 private seeds, one v1a entry each, in signer order.

    timestamp: number

    The webhook-timestamp, Unix seconds.