StoreCompleteCartRes
StoreCompleteCartRes: { data
: Cart
; type
: "cart"
} | { data
: Order
; type
: "order"
} | { data
: Swap
; type
: "swap"
}
If the cart is completed successfully, this will have the created order or the swap's details, based on the cart's type. Otherwise, it'll be the cart's details.
Was this section helpful?