Helius SDK - v2.2.2
    Preparing search index...

    Interface CreateWebhookRequest

    Request parameters for creating a new webhook.

    interface CreateWebhookRequest {
        accountAddresses: string[];
        authHeader?: string;
        encoding?: string;
        transactionTypes: string[];
        txnStatus?: string;
        webhookType?: string;
        webhookURL: string;
    }
    Index

    Properties

    accountAddresses: string[]

    Array of base58-encoded Solana account addresses to monitor for events.

    authHeader?: string

    Authorization header value sent with each webhook delivery request.

    encoding?: string

    Payload encoding (e.g. "json").

    transactionTypes: string[]

    Transaction types to subscribe to (e.g. ["NFT_SALE"]).

    txnStatus?: string

    Filter by transaction status (e.g. "all", "success", "failed").

    webhookType?: string

    Delivery format for webhook payloads: enhanced, raw, discord, enhancedDevnet, rawDevnet, or discordDevnet.

    webhookURL: string

    The URL that will receive webhook POST requests.