aboutsummaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/declaration.d.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-31 19:09:41 -0300
committerSebastian <sebasjm@gmail.com>2023-03-31 19:09:41 -0300
commitf947c8e54919343ac4f5f951d2f701651c06dd52 (patch)
tree870c39a2214f1183113469b19b3111d79b69d68a /packages/demobank-ui/src/declaration.d.ts
parent8701ae100ec1e2733b8e9b7006a706d1c9fe32a8 (diff)
downloadwallet-core-f947c8e54919343ac4f5f951d2f701651c06dd52.tar.gz
wallet-core-f947c8e54919343ac4f5f951d2f701651c06dd52.tar.bz2
wallet-core-f947c8e54919343ac4f5f951d2f701651c06dd52.zip
calculate using server
Diffstat (limited to 'packages/demobank-ui/src/declaration.d.ts')
-rw-r--r--packages/demobank-ui/src/declaration.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/declaration.d.ts b/packages/demobank-ui/src/declaration.d.ts
index 4d8484a4f..a37485272 100644
--- a/packages/demobank-ui/src/declaration.d.ts
+++ b/packages/demobank-ui/src/declaration.d.ts
@@ -329,6 +329,14 @@ namespace SandboxBackend {
// where to send cashouts.
cashout_address: string;
}
+ interface CashoutEstimate {
+ // Amount that the user will get deducted from their regional
+ // bank account, according to the 'amount_credit' value.
+ amount_debit: Amount;
+ // Amount that the user will receive in their fiat
+ // bank account, according to 'amount_debit'.
+ amount_credit: Amount;
+ }
interface CashoutRequest {
// Optional subject to associate to the
// cashout operation. This data will appear