Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Add a webhook subscription to a collection

    Parameters

    Returns CancelablePromise<{
        webhookSubscriptionId?: string;
    }>

    any Response with webhook ID

    Throws

    ApiError

  • Delete a webhook subscription

    Parameters

    • contractAddress: string
    • webhookSubscriptionId: string

      The ID of the webhook subscription.

    Returns CancelablePromise<{
        success: boolean;
    }>

    any Success response

    Throws

    ApiError

  • Get webhook public key. The webhook public key is used to verify the signature of the webhook payload.

    Returns CancelablePromise<string>

    string Success

    Throws

    ApiError

  • Update a webhook subscription from a collection

    Parameters

    • contractAddress: string
    • webhookSubscriptionId: string

      The ID of the webhook subscription.

    • requestBody: NewCollectionWebhookSubscription

      The data for creating or updating a webhook subscription

    Returns CancelablePromise<{
        success: boolean;
    }>

    any Success response

    Throws

    ApiError

Generated using TypeDoc