tapimo 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +2095 -2111
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +0 -1
- package/dist/App.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +166 -166
- package/dist/apps/data/App.d.ts +4084 -3845
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +270 -270
- package/dist/apps/data/routes/addresses.d.ts +248 -17
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +272 -2
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +114 -2
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/earn.d.ts +65 -3
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +259 -14
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokens.d.ts +454 -454
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/funding/App.d.ts +40 -299
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +20 -5
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +43 -434
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +21 -103
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.js +5 -5
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +8 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/fundingDeposits.d.ts +18 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
- package/dist/db/tables/fundingDeposits.js +46 -2
- package/dist/db/tables/fundingDeposits.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +11 -2
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +6 -6
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +101 -16
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +6 -2
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +1 -1
- package/src/App.test.ts +32 -0
- package/src/App.ts +4 -1
- package/src/Client.test-d.ts +56 -33
- package/src/apps/composition.test.ts +39 -10
- package/src/apps/data/routes/balances.test.ts +42 -0
- package/src/apps/data/routes/balances.ts +218 -85
- package/src/apps/data/routes/earn.test.ts +89 -9
- package/src/apps/data/routes/earn.ts +355 -14
- package/src/apps/funding/App.ts +20 -5
- package/src/apps/funding/routes/deposit-addresses.test.ts +43 -22
- package/src/apps/funding/routes/deposit-addresses.ts +34 -117
- package/src/apps/funding/routes/transfers.test.ts +6 -25
- package/src/apps/funding/routes/transfers.ts +5 -5
- package/src/db/Db.ts +9 -0
- package/src/db/tables/fundingDeposits.test.ts +101 -0
- package/src/db/tables/fundingDeposits.ts +71 -2
- package/src/internal/Auth.test.ts +28 -0
- package/src/internal/Auth.ts +15 -1
- package/src/internal/funding/Provider.ts +4 -4
- package/src/internal/funding/Reconciliation.test.ts +292 -54
- package/src/internal/funding/Reconciliation.ts +160 -53
- package/src/internal/funding/SourceObservation.test.ts +2 -2
- package/src/internal/funding/providers/relay.ts +7 -2
|
@@ -463,146 +463,14 @@ export declare namespace schema {
|
|
|
463
463
|
id: z.ZodMiniString<string>;
|
|
464
464
|
}, z.core.$strip>;
|
|
465
465
|
}
|
|
466
|
-
/** Schemas for the listFundingDepositAddressDeposits operation. */
|
|
467
|
-
namespace listFundingDepositAddressDeposits {
|
|
468
|
-
/** Path parameters for listing one address's deposits. */
|
|
469
|
-
const Params: z.ZodMiniObject<{
|
|
470
|
-
id: z.ZodMiniString<string>;
|
|
471
|
-
}, z.core.$strip>;
|
|
472
|
-
/** Query parameters for listing one address's deposits. */
|
|
473
|
-
const Query: z.ZodMiniObject<{
|
|
474
|
-
cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
475
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
|
|
476
|
-
}, z.core.$strip>;
|
|
477
|
-
/** One page of detected deposits. */
|
|
478
|
-
const Response: z.ZodMiniObject<{
|
|
479
|
-
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
480
|
-
createdAt: z.ZodMiniString<string>;
|
|
481
|
-
depositAddressId: z.ZodMiniString<string>;
|
|
482
|
-
detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
483
|
-
chain: "chain";
|
|
484
|
-
manual: "manual";
|
|
485
|
-
poll: "poll";
|
|
486
|
-
webhook: "webhook";
|
|
487
|
-
}>>;
|
|
488
|
-
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
489
|
-
baseUnits: z.ZodMiniString<string>;
|
|
490
|
-
currency: z.ZodMiniString<string>;
|
|
491
|
-
decimals: z.ZodMiniNumber<number>;
|
|
492
|
-
formatted: z.ZodMiniString<string>;
|
|
493
|
-
}, z.core.$strip>>;
|
|
494
|
-
destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
495
|
-
baseUnits: z.ZodMiniString<string>;
|
|
496
|
-
currency: z.ZodMiniString<string>;
|
|
497
|
-
decimals: z.ZodMiniNumber<number>;
|
|
498
|
-
formatted: z.ZodMiniString<string>;
|
|
499
|
-
}, z.core.$strip>>;
|
|
500
|
-
destinationChain: z.ZodMiniObject<{
|
|
501
|
-
addressFormat: z.ZodMiniEnum<{
|
|
502
|
-
base58: "base58";
|
|
503
|
-
base58check: "base58check";
|
|
504
|
-
hex: "hex";
|
|
505
|
-
}>;
|
|
506
|
-
id: z.ZodMiniString<string>;
|
|
507
|
-
kind: z.ZodMiniEnum<{
|
|
508
|
-
evm: "evm";
|
|
509
|
-
solana: "solana";
|
|
510
|
-
tron: "tron";
|
|
511
|
-
}>;
|
|
512
|
-
name: z.ZodMiniString<string>;
|
|
513
|
-
}, z.core.$strip>;
|
|
514
|
-
destinationToken: z.ZodMiniObject<{
|
|
515
|
-
address: z.ZodMiniString<string>;
|
|
516
|
-
currency: z.ZodMiniString<string>;
|
|
517
|
-
decimals: z.ZodMiniNumber<number>;
|
|
518
|
-
name: z.ZodMiniString<string>;
|
|
519
|
-
standard: z.ZodMiniString<string>;
|
|
520
|
-
symbol: z.ZodMiniString<string>;
|
|
521
|
-
tokenKey: z.ZodMiniString<string>;
|
|
522
|
-
verified: z.ZodMiniBoolean<boolean>;
|
|
523
|
-
}, z.core.$strip>;
|
|
524
|
-
destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
525
|
-
id: z.ZodMiniString<string>;
|
|
526
|
-
provider: z.ZodMiniObject<{
|
|
527
|
-
id: z.ZodMiniString<string>;
|
|
528
|
-
name: z.ZodMiniString<string>;
|
|
529
|
-
}, z.core.$strip>;
|
|
530
|
-
recipient: z.ZodMiniString<string>;
|
|
531
|
-
refundAddress: z.ZodMiniString<string>;
|
|
532
|
-
refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
533
|
-
baseUnits: z.ZodMiniString<string>;
|
|
534
|
-
currency: z.ZodMiniString<string>;
|
|
535
|
-
decimals: z.ZodMiniNumber<number>;
|
|
536
|
-
formatted: z.ZodMiniString<string>;
|
|
537
|
-
}, z.core.$strip>>;
|
|
538
|
-
refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
539
|
-
sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
540
|
-
sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
541
|
-
baseUnits: z.ZodMiniString<string>;
|
|
542
|
-
currency: z.ZodMiniString<string>;
|
|
543
|
-
decimals: z.ZodMiniNumber<number>;
|
|
544
|
-
formatted: z.ZodMiniString<string>;
|
|
545
|
-
}, z.core.$strip>>;
|
|
546
|
-
sourceChain: z.ZodMiniObject<{
|
|
547
|
-
addressFormat: z.ZodMiniEnum<{
|
|
548
|
-
base58: "base58";
|
|
549
|
-
base58check: "base58check";
|
|
550
|
-
hex: "hex";
|
|
551
|
-
}>;
|
|
552
|
-
id: z.ZodMiniString<string>;
|
|
553
|
-
kind: z.ZodMiniEnum<{
|
|
554
|
-
evm: "evm";
|
|
555
|
-
solana: "solana";
|
|
556
|
-
tron: "tron";
|
|
557
|
-
}>;
|
|
558
|
-
name: z.ZodMiniString<string>;
|
|
559
|
-
}, z.core.$strip>;
|
|
560
|
-
sourceToken: z.ZodMiniObject<{
|
|
561
|
-
address: z.ZodMiniString<string>;
|
|
562
|
-
currency: z.ZodMiniString<string>;
|
|
563
|
-
decimals: z.ZodMiniNumber<number>;
|
|
564
|
-
name: z.ZodMiniString<string>;
|
|
565
|
-
standard: z.ZodMiniString<string>;
|
|
566
|
-
symbol: z.ZodMiniString<string>;
|
|
567
|
-
tokenKey: z.ZodMiniString<string>;
|
|
568
|
-
verified: z.ZodMiniBoolean<boolean>;
|
|
569
|
-
}, z.core.$strip>;
|
|
570
|
-
sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
571
|
-
sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
572
|
-
status: z.ZodMiniEnum<{
|
|
573
|
-
"action-required": "action-required";
|
|
574
|
-
bridging: "bridging";
|
|
575
|
-
completed: "completed";
|
|
576
|
-
detected: "detected";
|
|
577
|
-
refunded: "refunded";
|
|
578
|
-
refunding: "refunding";
|
|
579
|
-
settling: "settling";
|
|
580
|
-
}>;
|
|
581
|
-
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
582
|
-
code: z.ZodMiniEnum<{
|
|
583
|
-
delivery_failed: "delivery_failed";
|
|
584
|
-
delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
|
|
585
|
-
manual_recovery_required: "manual_recovery_required";
|
|
586
|
-
refund_failed: "refund_failed";
|
|
587
|
-
source_amount_not_supported: "source_amount_not_supported";
|
|
588
|
-
source_token_mismatch: "source_token_mismatch";
|
|
589
|
-
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
590
|
-
subsidy_failed: "subsidy_failed";
|
|
591
|
-
}>;
|
|
592
|
-
message: z.ZodMiniString<string>;
|
|
593
|
-
}, z.core.$strip>>;
|
|
594
|
-
updatedAt: z.ZodMiniString<string>;
|
|
595
|
-
}, z.core.$strip>>;
|
|
596
|
-
nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
597
|
-
}, z.core.$strip>;
|
|
598
|
-
}
|
|
599
466
|
/** Schemas for the listFundingDeposits operation. */
|
|
600
467
|
namespace listFundingDeposits {
|
|
601
|
-
/** Query parameters for listing
|
|
468
|
+
/** Query parameters for listing funding deposits. */
|
|
602
469
|
const Query: z.ZodMiniObject<{
|
|
470
|
+
depositAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
603
471
|
cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
604
472
|
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
|
|
605
|
-
recipient: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}
|
|
473
|
+
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
606
474
|
}, z.core.$strip>;
|
|
607
475
|
/** One page of detected deposits. */
|
|
608
476
|
const Response: z.ZodMiniObject<{
|
|
@@ -1308,273 +1176,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1308
1176
|
};
|
|
1309
1177
|
};
|
|
1310
1178
|
};
|
|
1311
|
-
} & {
|
|
1312
|
-
"/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/deposits": {
|
|
1313
|
-
$get: {
|
|
1314
|
-
output: {
|
|
1315
|
-
error: {
|
|
1316
|
-
code: "api_key_malformed";
|
|
1317
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1318
|
-
message: string;
|
|
1319
|
-
};
|
|
1320
|
-
requestId: string;
|
|
1321
|
-
};
|
|
1322
|
-
outputFormat: "json";
|
|
1323
|
-
status: 400;
|
|
1324
|
-
input: {
|
|
1325
|
-
param: {
|
|
1326
|
-
id: string;
|
|
1327
|
-
};
|
|
1328
|
-
} & {
|
|
1329
|
-
query?: {
|
|
1330
|
-
cursor?: string | string[];
|
|
1331
|
-
limit?: string | string[];
|
|
1332
|
-
} | undefined;
|
|
1333
|
-
};
|
|
1334
|
-
} | {
|
|
1335
|
-
output: {
|
|
1336
|
-
error: {
|
|
1337
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
1338
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1339
|
-
message: string;
|
|
1340
|
-
};
|
|
1341
|
-
requestId: string;
|
|
1342
|
-
};
|
|
1343
|
-
outputFormat: "json";
|
|
1344
|
-
status: 401;
|
|
1345
|
-
input: {
|
|
1346
|
-
param: {
|
|
1347
|
-
id: string;
|
|
1348
|
-
};
|
|
1349
|
-
} & {
|
|
1350
|
-
query?: {
|
|
1351
|
-
cursor?: string | string[];
|
|
1352
|
-
limit?: string | string[];
|
|
1353
|
-
} | undefined;
|
|
1354
|
-
};
|
|
1355
|
-
} | {
|
|
1356
|
-
output: {
|
|
1357
|
-
error: {
|
|
1358
|
-
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1359
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1360
|
-
message: string;
|
|
1361
|
-
};
|
|
1362
|
-
requestId: string;
|
|
1363
|
-
};
|
|
1364
|
-
outputFormat: "json";
|
|
1365
|
-
status: 403;
|
|
1366
|
-
input: {
|
|
1367
|
-
param: {
|
|
1368
|
-
id: string;
|
|
1369
|
-
};
|
|
1370
|
-
} & {
|
|
1371
|
-
query?: {
|
|
1372
|
-
cursor?: string | string[];
|
|
1373
|
-
limit?: string | string[];
|
|
1374
|
-
} | undefined;
|
|
1375
|
-
};
|
|
1376
|
-
} | {
|
|
1377
|
-
output: {
|
|
1378
|
-
error: {
|
|
1379
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
1380
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1381
|
-
message: string;
|
|
1382
|
-
};
|
|
1383
|
-
requestId: string;
|
|
1384
|
-
};
|
|
1385
|
-
outputFormat: "json";
|
|
1386
|
-
status: 429;
|
|
1387
|
-
input: {
|
|
1388
|
-
param: {
|
|
1389
|
-
id: string;
|
|
1390
|
-
};
|
|
1391
|
-
} & {
|
|
1392
|
-
query?: {
|
|
1393
|
-
cursor?: string | string[];
|
|
1394
|
-
limit?: string | string[];
|
|
1395
|
-
} | undefined;
|
|
1396
|
-
};
|
|
1397
|
-
} | {
|
|
1398
|
-
output: {
|
|
1399
|
-
error: {
|
|
1400
|
-
code: "query_invalid";
|
|
1401
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1402
|
-
message: string;
|
|
1403
|
-
};
|
|
1404
|
-
requestId: string;
|
|
1405
|
-
};
|
|
1406
|
-
outputFormat: "json";
|
|
1407
|
-
status: 400;
|
|
1408
|
-
input: {
|
|
1409
|
-
param: {
|
|
1410
|
-
id: string;
|
|
1411
|
-
};
|
|
1412
|
-
} & {
|
|
1413
|
-
query?: {
|
|
1414
|
-
cursor?: string | string[];
|
|
1415
|
-
limit?: string | string[];
|
|
1416
|
-
} | undefined;
|
|
1417
|
-
};
|
|
1418
|
-
} | {
|
|
1419
|
-
output: {
|
|
1420
|
-
error: {
|
|
1421
|
-
code: "upstream_error";
|
|
1422
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1423
|
-
message: string;
|
|
1424
|
-
};
|
|
1425
|
-
requestId: string;
|
|
1426
|
-
};
|
|
1427
|
-
outputFormat: "json";
|
|
1428
|
-
status: 502;
|
|
1429
|
-
input: {
|
|
1430
|
-
param: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
};
|
|
1433
|
-
} & {
|
|
1434
|
-
query?: {
|
|
1435
|
-
cursor?: string | string[];
|
|
1436
|
-
limit?: string | string[];
|
|
1437
|
-
} | undefined;
|
|
1438
|
-
};
|
|
1439
|
-
} | {
|
|
1440
|
-
output: {
|
|
1441
|
-
error: {
|
|
1442
|
-
code: "unauthorized";
|
|
1443
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1444
|
-
message: string;
|
|
1445
|
-
};
|
|
1446
|
-
requestId: string;
|
|
1447
|
-
};
|
|
1448
|
-
outputFormat: "json";
|
|
1449
|
-
status: 401;
|
|
1450
|
-
input: {
|
|
1451
|
-
param: {
|
|
1452
|
-
id: string;
|
|
1453
|
-
};
|
|
1454
|
-
} & {
|
|
1455
|
-
query?: {
|
|
1456
|
-
cursor?: string | string[];
|
|
1457
|
-
limit?: string | string[];
|
|
1458
|
-
} | undefined;
|
|
1459
|
-
};
|
|
1460
|
-
} | {
|
|
1461
|
-
output: {
|
|
1462
|
-
error: {
|
|
1463
|
-
code: "funding_deposit_address_not_found";
|
|
1464
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1465
|
-
message: string;
|
|
1466
|
-
};
|
|
1467
|
-
requestId: string;
|
|
1468
|
-
};
|
|
1469
|
-
outputFormat: "json";
|
|
1470
|
-
status: 404;
|
|
1471
|
-
input: {
|
|
1472
|
-
param: {
|
|
1473
|
-
id: string;
|
|
1474
|
-
};
|
|
1475
|
-
} & {
|
|
1476
|
-
query?: {
|
|
1477
|
-
cursor?: string | string[];
|
|
1478
|
-
limit?: string | string[];
|
|
1479
|
-
} | undefined;
|
|
1480
|
-
};
|
|
1481
|
-
} | {
|
|
1482
|
-
output: {
|
|
1483
|
-
data: {
|
|
1484
|
-
createdAt: string;
|
|
1485
|
-
depositAddressId: string;
|
|
1486
|
-
detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
|
|
1487
|
-
destinationAmount?: {
|
|
1488
|
-
baseUnits: string;
|
|
1489
|
-
currency: string;
|
|
1490
|
-
decimals: number;
|
|
1491
|
-
formatted: string;
|
|
1492
|
-
} | undefined;
|
|
1493
|
-
destinationAmountRequired?: {
|
|
1494
|
-
baseUnits: string;
|
|
1495
|
-
currency: string;
|
|
1496
|
-
decimals: number;
|
|
1497
|
-
formatted: string;
|
|
1498
|
-
} | undefined;
|
|
1499
|
-
destinationChain: {
|
|
1500
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
1501
|
-
id: string;
|
|
1502
|
-
kind: "evm" | "solana" | "tron";
|
|
1503
|
-
name: string;
|
|
1504
|
-
};
|
|
1505
|
-
destinationToken: {
|
|
1506
|
-
address: string;
|
|
1507
|
-
currency: string;
|
|
1508
|
-
decimals: number;
|
|
1509
|
-
name: string;
|
|
1510
|
-
standard: string;
|
|
1511
|
-
symbol: string;
|
|
1512
|
-
tokenKey: string;
|
|
1513
|
-
verified: boolean;
|
|
1514
|
-
};
|
|
1515
|
-
destinationTransactionHashes?: readonly string[] | undefined;
|
|
1516
|
-
id: string;
|
|
1517
|
-
provider: {
|
|
1518
|
-
id: string;
|
|
1519
|
-
name: string;
|
|
1520
|
-
};
|
|
1521
|
-
recipient: string;
|
|
1522
|
-
refundAddress: string;
|
|
1523
|
-
refundAmount?: {
|
|
1524
|
-
baseUnits: string;
|
|
1525
|
-
currency: string;
|
|
1526
|
-
decimals: number;
|
|
1527
|
-
formatted: string;
|
|
1528
|
-
} | undefined;
|
|
1529
|
-
refundTransactionHashes?: readonly string[] | undefined;
|
|
1530
|
-
sender?: string | undefined;
|
|
1531
|
-
sourceAmount?: {
|
|
1532
|
-
baseUnits: string;
|
|
1533
|
-
currency: string;
|
|
1534
|
-
decimals: number;
|
|
1535
|
-
formatted: string;
|
|
1536
|
-
} | undefined;
|
|
1537
|
-
sourceChain: {
|
|
1538
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
1539
|
-
id: string;
|
|
1540
|
-
kind: "evm" | "solana" | "tron";
|
|
1541
|
-
name: string;
|
|
1542
|
-
};
|
|
1543
|
-
sourceToken: {
|
|
1544
|
-
address: string;
|
|
1545
|
-
currency: string;
|
|
1546
|
-
decimals: number;
|
|
1547
|
-
name: string;
|
|
1548
|
-
standard: string;
|
|
1549
|
-
symbol: string;
|
|
1550
|
-
tokenKey: string;
|
|
1551
|
-
verified: boolean;
|
|
1552
|
-
};
|
|
1553
|
-
sourceTransactionHashes: readonly string[];
|
|
1554
|
-
sourceTransferIndex?: number | undefined;
|
|
1555
|
-
status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
|
|
1556
|
-
statusReason?: {
|
|
1557
|
-
code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
1558
|
-
message: string;
|
|
1559
|
-
} | undefined;
|
|
1560
|
-
updatedAt: string;
|
|
1561
|
-
}[];
|
|
1562
|
-
nextCursor: string | null;
|
|
1563
|
-
};
|
|
1564
|
-
outputFormat: "json";
|
|
1565
|
-
status: 200;
|
|
1566
|
-
input: {
|
|
1567
|
-
param: {
|
|
1568
|
-
id: string;
|
|
1569
|
-
};
|
|
1570
|
-
} & {
|
|
1571
|
-
query?: {
|
|
1572
|
-
cursor?: string | string[];
|
|
1573
|
-
limit?: string | string[];
|
|
1574
|
-
} | undefined;
|
|
1575
|
-
};
|
|
1576
|
-
};
|
|
1577
|
-
};
|
|
1578
1179
|
} & {
|
|
1579
1180
|
"/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
|
|
1580
1181
|
$get: {
|
|
@@ -1730,14 +1331,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1730
1331
|
} | {
|
|
1731
1332
|
output: {
|
|
1732
1333
|
error: {
|
|
1733
|
-
code: "
|
|
1334
|
+
code: "param_invalid";
|
|
1734
1335
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1735
1336
|
message: string;
|
|
1736
1337
|
};
|
|
1737
1338
|
requestId: string;
|
|
1738
1339
|
};
|
|
1739
1340
|
outputFormat: "json";
|
|
1740
|
-
status:
|
|
1341
|
+
status: 400;
|
|
1741
1342
|
input: {
|
|
1742
1343
|
param: {
|
|
1743
1344
|
id: string;
|
|
@@ -1746,14 +1347,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1746
1347
|
} | {
|
|
1747
1348
|
output: {
|
|
1748
1349
|
error: {
|
|
1749
|
-
code: "
|
|
1350
|
+
code: "funding_deposit_address_not_found";
|
|
1750
1351
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1751
1352
|
message: string;
|
|
1752
1353
|
};
|
|
1753
1354
|
requestId: string;
|
|
1754
1355
|
};
|
|
1755
1356
|
outputFormat: "json";
|
|
1756
|
-
status:
|
|
1357
|
+
status: 404;
|
|
1757
1358
|
input: {
|
|
1758
1359
|
param: {
|
|
1759
1360
|
id: string;
|
|
@@ -1871,14 +1472,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1871
1472
|
} | {
|
|
1872
1473
|
output: {
|
|
1873
1474
|
error: {
|
|
1874
|
-
code: "
|
|
1475
|
+
code: "param_invalid";
|
|
1875
1476
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1876
1477
|
message: string;
|
|
1877
1478
|
};
|
|
1878
1479
|
requestId: string;
|
|
1879
1480
|
};
|
|
1880
1481
|
outputFormat: "json";
|
|
1881
|
-
status:
|
|
1482
|
+
status: 400;
|
|
1882
1483
|
input: {
|
|
1883
1484
|
param: {
|
|
1884
1485
|
id: string;
|
|
@@ -1887,14 +1488,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1887
1488
|
} | {
|
|
1888
1489
|
output: {
|
|
1889
1490
|
error: {
|
|
1890
|
-
code: "
|
|
1491
|
+
code: "funding_deposit_address_not_found";
|
|
1891
1492
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1892
1493
|
message: string;
|
|
1893
1494
|
};
|
|
1894
1495
|
requestId: string;
|
|
1895
1496
|
};
|
|
1896
1497
|
outputFormat: "json";
|
|
1897
|
-
status:
|
|
1498
|
+
status: 404;
|
|
1898
1499
|
input: {
|
|
1899
1500
|
param: {
|
|
1900
1501
|
id: string;
|
|
@@ -1948,11 +1549,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1948
1549
|
outputFormat: "json";
|
|
1949
1550
|
status: 400;
|
|
1950
1551
|
input: {
|
|
1951
|
-
query
|
|
1552
|
+
query?: {
|
|
1553
|
+
depositAddress?: string | string[];
|
|
1952
1554
|
cursor?: string | string[];
|
|
1953
1555
|
limit?: string | string[];
|
|
1954
|
-
recipient
|
|
1955
|
-
};
|
|
1556
|
+
recipient?: string | string[];
|
|
1557
|
+
} | undefined;
|
|
1956
1558
|
};
|
|
1957
1559
|
} | {
|
|
1958
1560
|
output: {
|
|
@@ -1966,11 +1568,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1966
1568
|
outputFormat: "json";
|
|
1967
1569
|
status: 401;
|
|
1968
1570
|
input: {
|
|
1969
|
-
query
|
|
1571
|
+
query?: {
|
|
1572
|
+
depositAddress?: string | string[];
|
|
1970
1573
|
cursor?: string | string[];
|
|
1971
1574
|
limit?: string | string[];
|
|
1972
|
-
recipient
|
|
1973
|
-
};
|
|
1575
|
+
recipient?: string | string[];
|
|
1576
|
+
} | undefined;
|
|
1974
1577
|
};
|
|
1975
1578
|
} | {
|
|
1976
1579
|
output: {
|
|
@@ -1984,11 +1587,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1984
1587
|
outputFormat: "json";
|
|
1985
1588
|
status: 403;
|
|
1986
1589
|
input: {
|
|
1987
|
-
query
|
|
1590
|
+
query?: {
|
|
1591
|
+
depositAddress?: string | string[];
|
|
1988
1592
|
cursor?: string | string[];
|
|
1989
1593
|
limit?: string | string[];
|
|
1990
|
-
recipient
|
|
1991
|
-
};
|
|
1594
|
+
recipient?: string | string[];
|
|
1595
|
+
} | undefined;
|
|
1992
1596
|
};
|
|
1993
1597
|
} | {
|
|
1994
1598
|
output: {
|
|
@@ -2002,11 +1606,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
2002
1606
|
outputFormat: "json";
|
|
2003
1607
|
status: 429;
|
|
2004
1608
|
input: {
|
|
2005
|
-
query
|
|
1609
|
+
query?: {
|
|
1610
|
+
depositAddress?: string | string[];
|
|
2006
1611
|
cursor?: string | string[];
|
|
2007
1612
|
limit?: string | string[];
|
|
2008
|
-
recipient
|
|
2009
|
-
};
|
|
1613
|
+
recipient?: string | string[];
|
|
1614
|
+
} | undefined;
|
|
2010
1615
|
};
|
|
2011
1616
|
} | {
|
|
2012
1617
|
output: {
|
|
@@ -2020,11 +1625,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
2020
1625
|
outputFormat: "json";
|
|
2021
1626
|
status: 400;
|
|
2022
1627
|
input: {
|
|
2023
|
-
query
|
|
1628
|
+
query?: {
|
|
1629
|
+
depositAddress?: string | string[];
|
|
2024
1630
|
cursor?: string | string[];
|
|
2025
1631
|
limit?: string | string[];
|
|
2026
|
-
recipient
|
|
2027
|
-
};
|
|
1632
|
+
recipient?: string | string[];
|
|
1633
|
+
} | undefined;
|
|
2028
1634
|
};
|
|
2029
1635
|
} | {
|
|
2030
1636
|
output: {
|
|
@@ -2038,11 +1644,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
2038
1644
|
outputFormat: "json";
|
|
2039
1645
|
status: 502;
|
|
2040
1646
|
input: {
|
|
2041
|
-
query
|
|
1647
|
+
query?: {
|
|
1648
|
+
depositAddress?: string | string[];
|
|
2042
1649
|
cursor?: string | string[];
|
|
2043
1650
|
limit?: string | string[];
|
|
2044
|
-
recipient
|
|
2045
|
-
};
|
|
1651
|
+
recipient?: string | string[];
|
|
1652
|
+
} | undefined;
|
|
2046
1653
|
};
|
|
2047
1654
|
} | {
|
|
2048
1655
|
output: {
|
|
@@ -2056,11 +1663,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
2056
1663
|
outputFormat: "json";
|
|
2057
1664
|
status: 401;
|
|
2058
1665
|
input: {
|
|
2059
|
-
query
|
|
1666
|
+
query?: {
|
|
1667
|
+
depositAddress?: string | string[];
|
|
2060
1668
|
cursor?: string | string[];
|
|
2061
1669
|
limit?: string | string[];
|
|
2062
|
-
recipient
|
|
2063
|
-
};
|
|
1670
|
+
recipient?: string | string[];
|
|
1671
|
+
} | undefined;
|
|
2064
1672
|
};
|
|
2065
1673
|
} | {
|
|
2066
1674
|
output: {
|
|
@@ -2148,11 +1756,12 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
2148
1756
|
outputFormat: "json";
|
|
2149
1757
|
status: 200;
|
|
2150
1758
|
input: {
|
|
2151
|
-
query
|
|
1759
|
+
query?: {
|
|
1760
|
+
depositAddress?: string | string[];
|
|
2152
1761
|
cursor?: string | string[];
|
|
2153
1762
|
limit?: string | string[];
|
|
2154
|
-
recipient
|
|
2155
|
-
};
|
|
1763
|
+
recipient?: string | string[];
|
|
1764
|
+
} | undefined;
|
|
2156
1765
|
};
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