Type Alias SaleFailed

SaleFailed: {
    reason: string;
    error: Record<string, unknown>;
    timestamp: number;
    paymentMethod: 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: 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