SaleFailed: {
    reason: string;
    error: Record<string, unknown>;
    timestamp: number;
    paymentMethod: checkout.SalePaymentTypes | undefined;
    transactions: {
        method: string;
        hash: string | undefined;
    }[];
    transactionId: string;
}

Type representing a Sale Widget with type FAILURE.

Type declaration

  • reason: string

    The reason why sale transaction failed.

  • error: Record<string, unknown>

    The error object.

  • timestamp: number

    The timestamp of the failed swap.

  • paymentMethod: checkout.SalePaymentTypes | undefined

    Chosen payment method

  • transactions: {
        method: string;
        hash: string | undefined;
    }[]

    The executed transactions

  • transactionId: string

    The order reference id, use it to trace order throughout flow

Generated using TypeDoc