WidgetEventData: {
    connect: {
        success: checkout.ConnectionSuccess;
        failure: checkout.ConnectionFailed;
        close-widget: {};
    } & OrchestrationMapping & ProviderEventMapping;
    wallet: {
        network-switch: checkout.WalletNetworkSwitch;
        disconnect-wallet: checkout.WalletDisconnect;
        close-widget: {};
    } & OrchestrationMapping & ProviderEventMapping;
    swap: {
        success: checkout.SwapSuccess;
        failure: checkout.SwapFailed;
        rejected: checkout.SwapRejected;
        close-widget: {};
    } & OrchestrationMapping & ProviderEventMapping;
    bridge: {
        transaction-sent: checkout.BridgeTransactionSent;
        failure: checkout.BridgeFailed;
        close-widget: {};
        claim-withdrawal-success: checkout.BridgeClaimWithdrawalSuccess;
        claim-withdrawal-failure: checkout.BridgeClaimWithdrawalFailed;
    } & OrchestrationMapping & ProviderEventMapping;
    onramp: {
        success: checkout.OnRampSuccess;
        failure: checkout.OnRampFailed;
        close-widget: {};
    } & OrchestrationMapping & ProviderEventMapping;
    sale: {
        success: checkout.SaleSuccess;
        failure: checkout.SaleFailed;
        rejected: any;
        close-widget: {};
        transaction-success: checkout.SaleTransactionSuccess;
        payment-method: checkout.SalePaymentMethod;
        request-bridge: {};
        request-swap: {};
        request-onramp: {};
    } & OrchestrationMapping & ProviderEventMapping;
}

Mapping of widget type, to each of it's events and then each event's payload Update this whenever a new event is created and used by a widget Each widget also has all of the orchestration events

Type declaration

Generated using TypeDoc