tapimo 0.10.1 → 0.10.2

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.
Files changed (144) hide show
  1. package/dist/App.d.ts +1776 -1543
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/Webhooks.d.ts +1 -1
  4. package/dist/Webhooks.d.ts.map +1 -1
  5. package/dist/Webhooks.js +1 -1
  6. package/dist/Webhooks.js.map +1 -1
  7. package/dist/admin/apps/api-keys.d.ts +4 -4
  8. package/dist/analytics/Analytics.d.ts.map +1 -1
  9. package/dist/analytics/Analytics.js +206 -0
  10. package/dist/analytics/Analytics.js.map +1 -1
  11. package/dist/analytics/tables/requestEvents.d.ts +4 -0
  12. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  13. package/dist/analytics/tables/requestEvents.js +2 -0
  14. package/dist/analytics/tables/requestEvents.js.map +1 -1
  15. package/dist/apps/data/App.d.ts.map +1 -1
  16. package/dist/apps/data/App.js +2 -0
  17. package/dist/apps/data/App.js.map +1 -1
  18. package/dist/apps/data/routes/addresses.d.ts +340 -340
  19. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  20. package/dist/apps/data/routes/balances.js +2 -6
  21. package/dist/apps/data/routes/balances.js.map +1 -1
  22. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  23. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  24. package/dist/apps/data/routes/earn.js +63 -34
  25. package/dist/apps/data/routes/earn.js.map +1 -1
  26. package/dist/apps/data/routes/exchanges.d.ts +4 -0
  27. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  28. package/dist/apps/data/routes/exchanges.js +115 -77
  29. package/dist/apps/data/routes/exchanges.js.map +1 -1
  30. package/dist/apps/data/routes/indexer.d.ts +34 -34
  31. package/dist/apps/data/routes/receipts.d.ts +4 -3
  32. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  33. package/dist/apps/data/routes/receipts.js +15 -14
  34. package/dist/apps/data/routes/receipts.js.map +1 -1
  35. package/dist/apps/data/routes/tokens.d.ts +1 -1
  36. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  37. package/dist/apps/data/routes/tokens.js +4 -3
  38. package/dist/apps/data/routes/tokens.js.map +1 -1
  39. package/dist/apps/data/routes/transactions.d.ts +281 -281
  40. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  41. package/dist/apps/data/routes/transfers.js +25 -7
  42. package/dist/apps/data/routes/transfers.js.map +1 -1
  43. package/dist/apps/data/routes/webhooks.d.ts +380 -364
  44. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  45. package/dist/apps/data/routes/webhooks.js +16 -9
  46. package/dist/apps/data/routes/webhooks.js.map +1 -1
  47. package/dist/apps/data/routes/zones.d.ts +31 -31
  48. package/dist/apps/funding/App.d.ts +233 -0
  49. package/dist/apps/funding/App.d.ts.map +1 -1
  50. package/dist/apps/funding/routes/deposit-addresses.d.ts +330 -0
  51. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  52. package/dist/apps/funding/routes/deposit-addresses.js +207 -11
  53. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  54. package/dist/apps/funding/routes/providers.d.ts +13 -13
  55. package/dist/apps/management/routes/faucet.d.ts +32 -32
  56. package/dist/apps/management/routes/members.d.ts +79 -79
  57. package/dist/apps/management/routes/usage.d.ts +80 -80
  58. package/dist/db/Db.d.ts.map +1 -1
  59. package/dist/db/Db.js +32 -0
  60. package/dist/db/Db.js.map +1 -1
  61. package/dist/db/tables/fundingDepositAddresses.d.ts +20 -0
  62. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  63. package/dist/db/tables/fundingDepositAddresses.js +17 -0
  64. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  65. package/dist/db/tables/fundingDeposits.d.ts +41 -0
  66. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  67. package/dist/db/tables/fundingDeposits.js +69 -0
  68. package/dist/db/tables/fundingDeposits.js.map +1 -1
  69. package/dist/internal/Auth.d.ts +0 -26
  70. package/dist/internal/Auth.d.ts.map +1 -1
  71. package/dist/internal/Auth.js +0 -33
  72. package/dist/internal/Auth.js.map +1 -1
  73. package/dist/internal/Credential.d.ts +27 -0
  74. package/dist/internal/Credential.d.ts.map +1 -0
  75. package/dist/internal/Credential.js +34 -0
  76. package/dist/internal/Credential.js.map +1 -0
  77. package/dist/internal/EarnRates.js +11 -7
  78. package/dist/internal/EarnRates.js.map +1 -1
  79. package/dist/internal/Log.d.ts +8 -0
  80. package/dist/internal/Log.d.ts.map +1 -1
  81. package/dist/internal/Log.js +4 -0
  82. package/dist/internal/Log.js.map +1 -1
  83. package/dist/internal/MetricSink.d.ts +24 -0
  84. package/dist/internal/MetricSink.d.ts.map +1 -1
  85. package/dist/internal/MetricSink.js +25 -0
  86. package/dist/internal/MetricSink.js.map +1 -1
  87. package/dist/internal/Tidx.d.ts +4 -3
  88. package/dist/internal/Tidx.d.ts.map +1 -1
  89. package/dist/internal/Tidx.js +2 -2
  90. package/dist/internal/Tidx.js.map +1 -1
  91. package/dist/internal/Viem.d.ts +4 -3
  92. package/dist/internal/Viem.d.ts.map +1 -1
  93. package/dist/internal/Viem.js +3 -2
  94. package/dist/internal/Viem.js.map +1 -1
  95. package/dist/internal/Webhooks.d.ts +2 -0
  96. package/dist/internal/Webhooks.d.ts.map +1 -1
  97. package/dist/internal/Webhooks.js +10 -3
  98. package/dist/internal/Webhooks.js.map +1 -1
  99. package/dist/internal/index.d.ts +1 -0
  100. package/dist/internal/index.d.ts.map +1 -1
  101. package/dist/internal/index.js +1 -0
  102. package/dist/internal/index.js.map +1 -1
  103. package/package.json +1 -1
  104. package/src/App.test.ts +30 -0
  105. package/src/Client.test-d.ts +33 -1
  106. package/src/Webhooks.ts +1 -1
  107. package/src/analytics/Analytics.test.ts +34 -0
  108. package/src/analytics/Analytics.ts +206 -0
  109. package/src/analytics/tables/requestEvents.ts +6 -0
  110. package/src/apps/composition.test.ts +1 -0
  111. package/src/apps/data/App.ts +2 -0
  112. package/src/apps/data/routes/balances.ts +2 -6
  113. package/src/apps/data/routes/earn.ts +64 -34
  114. package/src/apps/data/routes/exchanges.test.ts +8 -3
  115. package/src/apps/data/routes/exchanges.ts +134 -82
  116. package/src/apps/data/routes/receipts.ts +16 -14
  117. package/src/apps/data/routes/tokens.ts +3 -2
  118. package/src/apps/data/routes/transactions.bench.ts +8 -0
  119. package/src/apps/data/routes/transfers.ts +36 -10
  120. package/src/apps/data/routes/webhooks.ts +31 -10
  121. package/src/apps/funding/routes/deposit-addresses.test.ts +216 -2
  122. package/src/apps/funding/routes/deposit-addresses.ts +254 -18
  123. package/src/apps/funding/routes/transfers.test.ts +17 -2
  124. package/src/db/Db.ts +36 -0
  125. package/src/db/tables/fundingDepositAddresses.test.ts +28 -0
  126. package/src/db/tables/fundingDepositAddresses.ts +39 -0
  127. package/src/db/tables/fundingDeposits.test.ts +82 -0
  128. package/src/db/tables/fundingDeposits.ts +130 -0
  129. package/src/internal/Auth.test.ts +0 -48
  130. package/src/internal/Auth.ts +0 -59
  131. package/src/internal/Credential.test.ts +51 -0
  132. package/src/internal/Credential.ts +58 -0
  133. package/src/internal/EarnRates.ts +13 -7
  134. package/src/internal/Log.test.ts +3 -1
  135. package/src/internal/Log.ts +14 -0
  136. package/src/internal/MetricSink.test.ts +50 -1
  137. package/src/internal/MetricSink.ts +52 -0
  138. package/src/internal/Tidx.ts +5 -4
  139. package/src/internal/Viem.test.ts +4 -0
  140. package/src/internal/Viem.ts +6 -4
  141. package/src/internal/Webhooks.test.ts +9 -0
  142. package/src/internal/Webhooks.ts +10 -3
  143. package/src/internal/index.test.ts +1 -0
  144. package/src/internal/index.ts +1 -0
package/dist/App.d.ts CHANGED
@@ -15234,48 +15234,25 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15234
15234
  };
15235
15235
  };
15236
15236
  }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
15237
- "/webhooks/funding/:providerId": {
15238
- $post: {
15239
- output: null;
15240
- outputFormat: "body";
15241
- status: 204;
15242
- input: {
15243
- param: {
15244
- providerId: string;
15245
- };
15246
- };
15247
- } | {
15248
- output: null;
15249
- outputFormat: "body";
15250
- status: 400;
15251
- input: {
15252
- param: {
15253
- providerId: string;
15254
- };
15255
- };
15256
- } | {
15237
+ "/v1/tokens": {
15238
+ $get: {
15257
15239
  output: null;
15258
15240
  outputFormat: "body";
15259
- status: 401;
15241
+ status: 402;
15260
15242
  input: {
15261
- param: {
15262
- providerId: string;
15263
- };
15243
+ query?: {
15244
+ addresses?: string | string[];
15245
+ chainId?: string | string[];
15246
+ currency?: string | string[];
15247
+ cursor?: string | string[];
15248
+ include?: string | string[];
15249
+ limit?: string | string[];
15250
+ order?: string | string[];
15251
+ page?: string | string[];
15252
+ verified?: string | string[];
15253
+ } | undefined;
15264
15254
  };
15265
15255
  } | {
15266
- output: null;
15267
- outputFormat: "body";
15268
- status: 404;
15269
- input: {
15270
- param: {
15271
- providerId: string;
15272
- };
15273
- };
15274
- };
15275
- };
15276
- } & {
15277
- "/v1/funding/deposit-addresses": {
15278
- $post: {
15279
15256
  output: {
15280
15257
  error: {
15281
15258
  code: "api_key_malformed";
@@ -15287,19 +15264,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15287
15264
  outputFormat: "json";
15288
15265
  status: 400;
15289
15266
  input: {
15290
- header: {
15291
- 'idempotency-key': string;
15292
- };
15293
- } & {
15294
- json: {
15295
- amount: string;
15296
- destinationToken: string;
15297
- recipient: string;
15298
- refundAddress: string;
15299
- sourceChain: string;
15300
- sourceToken: string;
15301
- subsidize?: boolean | undefined;
15302
- };
15267
+ query?: {
15268
+ addresses?: string | string[];
15269
+ chainId?: string | string[];
15270
+ currency?: string | string[];
15271
+ cursor?: string | string[];
15272
+ include?: string | string[];
15273
+ limit?: string | string[];
15274
+ order?: string | string[];
15275
+ page?: string | string[];
15276
+ verified?: string | string[];
15277
+ } | undefined;
15303
15278
  };
15304
15279
  } | {
15305
15280
  output: {
@@ -15313,19 +15288,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15313
15288
  outputFormat: "json";
15314
15289
  status: 401;
15315
15290
  input: {
15316
- header: {
15317
- 'idempotency-key': string;
15318
- };
15319
- } & {
15320
- json: {
15321
- amount: string;
15322
- destinationToken: string;
15323
- recipient: string;
15324
- refundAddress: string;
15325
- sourceChain: string;
15326
- sourceToken: string;
15327
- subsidize?: boolean | undefined;
15328
- };
15291
+ query?: {
15292
+ addresses?: string | string[];
15293
+ chainId?: string | string[];
15294
+ currency?: string | string[];
15295
+ cursor?: string | string[];
15296
+ include?: string | string[];
15297
+ limit?: string | string[];
15298
+ order?: string | string[];
15299
+ page?: string | string[];
15300
+ verified?: string | string[];
15301
+ } | undefined;
15329
15302
  };
15330
15303
  } | {
15331
15304
  output: {
@@ -15339,19 +15312,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15339
15312
  outputFormat: "json";
15340
15313
  status: 403;
15341
15314
  input: {
15342
- header: {
15343
- 'idempotency-key': string;
15344
- };
15345
- } & {
15346
- json: {
15347
- amount: string;
15348
- destinationToken: string;
15349
- recipient: string;
15350
- refundAddress: string;
15351
- sourceChain: string;
15352
- sourceToken: string;
15353
- subsidize?: boolean | undefined;
15354
- };
15315
+ query?: {
15316
+ addresses?: string | string[];
15317
+ chainId?: string | string[];
15318
+ currency?: string | string[];
15319
+ cursor?: string | string[];
15320
+ include?: string | string[];
15321
+ limit?: string | string[];
15322
+ order?: string | string[];
15323
+ page?: string | string[];
15324
+ verified?: string | string[];
15325
+ } | undefined;
15355
15326
  };
15356
15327
  } | {
15357
15328
  output: {
@@ -15365,19 +15336,41 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15365
15336
  outputFormat: "json";
15366
15337
  status: 429;
15367
15338
  input: {
15368
- header: {
15369
- 'idempotency-key': string;
15370
- };
15371
- } & {
15372
- json: {
15373
- amount: string;
15374
- destinationToken: string;
15375
- recipient: string;
15376
- refundAddress: string;
15377
- sourceChain: string;
15378
- sourceToken: string;
15379
- subsidize?: boolean | undefined;
15339
+ query?: {
15340
+ addresses?: string | string[];
15341
+ chainId?: string | string[];
15342
+ currency?: string | string[];
15343
+ cursor?: string | string[];
15344
+ include?: string | string[];
15345
+ limit?: string | string[];
15346
+ order?: string | string[];
15347
+ page?: string | string[];
15348
+ verified?: string | string[];
15349
+ } | undefined;
15350
+ };
15351
+ } | {
15352
+ output: {
15353
+ error: {
15354
+ code: "query_invalid";
15355
+ details?: readonly Response.error.Detail[] | undefined;
15356
+ message: string;
15380
15357
  };
15358
+ requestId: string;
15359
+ };
15360
+ outputFormat: "json";
15361
+ status: 400;
15362
+ input: {
15363
+ query?: {
15364
+ addresses?: string | string[];
15365
+ chainId?: string | string[];
15366
+ currency?: string | string[];
15367
+ cursor?: string | string[];
15368
+ include?: string | string[];
15369
+ limit?: string | string[];
15370
+ order?: string | string[];
15371
+ page?: string | string[];
15372
+ verified?: string | string[];
15373
+ } | undefined;
15381
15374
  };
15382
15375
  } | {
15383
15376
  output: {
@@ -15391,24 +15384,79 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15391
15384
  outputFormat: "json";
15392
15385
  status: 502;
15393
15386
  input: {
15394
- header: {
15395
- 'idempotency-key': string;
15387
+ query?: {
15388
+ addresses?: string | string[];
15389
+ chainId?: string | string[];
15390
+ currency?: string | string[];
15391
+ cursor?: string | string[];
15392
+ include?: string | string[];
15393
+ limit?: string | string[];
15394
+ order?: string | string[];
15395
+ page?: string | string[];
15396
+ verified?: string | string[];
15397
+ } | undefined;
15398
+ };
15399
+ } | {
15400
+ output: {
15401
+ data: {
15402
+ address: `0x${string}`;
15403
+ admin?: `0x${string}` | undefined;
15404
+ currency: string;
15405
+ createdAt?: string | undefined;
15406
+ decimals: number;
15407
+ holderCount?: number | undefined;
15408
+ id: string;
15409
+ logoUri?: string | undefined;
15410
+ name: string;
15411
+ quoteToken?: `0x${string}` | undefined;
15412
+ symbol: string;
15413
+ totalSupply?: string | undefined;
15414
+ transferStats?: {
15415
+ count: number;
15416
+ firstAt: string | null;
15417
+ lastAt: string | null;
15418
+ } | undefined;
15419
+ verified: boolean;
15420
+ }[];
15421
+ nextCursor: string | null;
15422
+ };
15423
+ outputFormat: "json";
15424
+ status: 200;
15425
+ input: {
15426
+ query?: {
15427
+ addresses?: string | string[];
15428
+ chainId?: string | string[];
15429
+ currency?: string | string[];
15430
+ cursor?: string | string[];
15431
+ include?: string | string[];
15432
+ limit?: string | string[];
15433
+ order?: string | string[];
15434
+ page?: string | string[];
15435
+ verified?: string | string[];
15436
+ } | undefined;
15437
+ };
15438
+ };
15439
+ };
15440
+ } & {
15441
+ "/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
15442
+ $get: {
15443
+ output: null;
15444
+ outputFormat: "body";
15445
+ status: 402;
15446
+ input: {
15447
+ param: {
15448
+ symbol: string;
15396
15449
  };
15397
15450
  } & {
15398
- json: {
15399
- amount: string;
15400
- destinationToken: string;
15401
- recipient: string;
15402
- refundAddress: string;
15403
- sourceChain: string;
15404
- sourceToken: string;
15405
- subsidize?: boolean | undefined;
15406
- };
15451
+ query?: {
15452
+ chainId?: string | string[];
15453
+ include?: string | string[];
15454
+ } | undefined;
15407
15455
  };
15408
15456
  } | {
15409
15457
  output: {
15410
15458
  error: {
15411
- code: "body_invalid";
15459
+ code: "api_key_malformed";
15412
15460
  details?: readonly Response.error.Detail[] | undefined;
15413
15461
  message: string;
15414
15462
  };
@@ -15417,24 +15465,19 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15417
15465
  outputFormat: "json";
15418
15466
  status: 400;
15419
15467
  input: {
15420
- header: {
15421
- 'idempotency-key': string;
15468
+ param: {
15469
+ symbol: string;
15422
15470
  };
15423
15471
  } & {
15424
- json: {
15425
- amount: string;
15426
- destinationToken: string;
15427
- recipient: string;
15428
- refundAddress: string;
15429
- sourceChain: string;
15430
- sourceToken: string;
15431
- subsidize?: boolean | undefined;
15432
- };
15472
+ query?: {
15473
+ chainId?: string | string[];
15474
+ include?: string | string[];
15475
+ } | undefined;
15433
15476
  };
15434
15477
  } | {
15435
15478
  output: {
15436
15479
  error: {
15437
- code: "unauthorized";
15480
+ code: "api_key_invalid" | "api_key_missing";
15438
15481
  details?: readonly Response.error.Detail[] | undefined;
15439
15482
  message: string;
15440
15483
  };
@@ -15443,337 +15486,217 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15443
15486
  outputFormat: "json";
15444
15487
  status: 401;
15445
15488
  input: {
15446
- header: {
15447
- 'idempotency-key': string;
15489
+ param: {
15490
+ symbol: string;
15448
15491
  };
15449
15492
  } & {
15450
- json: {
15451
- amount: string;
15452
- destinationToken: string;
15453
- recipient: string;
15454
- refundAddress: string;
15455
- sourceChain: string;
15456
- sourceToken: string;
15457
- subsidize?: boolean | undefined;
15458
- };
15493
+ query?: {
15494
+ chainId?: string | string[];
15495
+ include?: string | string[];
15496
+ } | undefined;
15459
15497
  };
15460
15498
  } | {
15461
15499
  output: {
15462
15500
  error: {
15463
- code: "idempotency_conflict";
15501
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
15464
15502
  details?: readonly Response.error.Detail[] | undefined;
15465
15503
  message: string;
15466
15504
  };
15467
15505
  requestId: string;
15468
15506
  };
15469
15507
  outputFormat: "json";
15470
- status: 409;
15508
+ status: 403;
15471
15509
  input: {
15472
- header: {
15473
- 'idempotency-key': string;
15510
+ param: {
15511
+ symbol: string;
15474
15512
  };
15475
15513
  } & {
15476
- json: {
15477
- amount: string;
15478
- destinationToken: string;
15479
- recipient: string;
15480
- refundAddress: string;
15481
- sourceChain: string;
15482
- sourceToken: string;
15483
- subsidize?: boolean | undefined;
15484
- };
15514
+ query?: {
15515
+ chainId?: string | string[];
15516
+ include?: string | string[];
15517
+ } | undefined;
15485
15518
  };
15486
15519
  } | {
15487
15520
  output: {
15488
15521
  error: {
15489
- code: "idempotency_in_progress";
15522
+ code: "payment_required" | "rate_limit_exceeded";
15490
15523
  details?: readonly Response.error.Detail[] | undefined;
15491
15524
  message: string;
15492
15525
  };
15493
15526
  requestId: string;
15494
15527
  };
15495
15528
  outputFormat: "json";
15496
- status: 409;
15529
+ status: 429;
15497
15530
  input: {
15498
- header: {
15499
- 'idempotency-key': string;
15531
+ param: {
15532
+ symbol: string;
15500
15533
  };
15501
15534
  } & {
15502
- json: {
15503
- amount: string;
15504
- destinationToken: string;
15505
- recipient: string;
15506
- refundAddress: string;
15507
- sourceChain: string;
15508
- sourceToken: string;
15509
- subsidize?: boolean | undefined;
15510
- };
15535
+ query?: {
15536
+ chainId?: string | string[];
15537
+ include?: string | string[];
15538
+ } | undefined;
15511
15539
  };
15512
15540
  } | {
15513
15541
  output: {
15514
15542
  error: {
15515
- code: "deposit_address_not_available";
15543
+ code: "query_invalid";
15516
15544
  details?: readonly Response.error.Detail[] | undefined;
15517
15545
  message: string;
15518
15546
  };
15519
15547
  requestId: string;
15520
15548
  };
15521
15549
  outputFormat: "json";
15522
- status: 404;
15550
+ status: 400;
15523
15551
  input: {
15524
- header: {
15525
- 'idempotency-key': string;
15552
+ param: {
15553
+ symbol: string;
15526
15554
  };
15527
15555
  } & {
15528
- json: {
15529
- amount: string;
15530
- destinationToken: string;
15531
- recipient: string;
15532
- refundAddress: string;
15533
- sourceChain: string;
15534
- sourceToken: string;
15535
- subsidize?: boolean | undefined;
15536
- };
15556
+ query?: {
15557
+ chainId?: string | string[];
15558
+ include?: string | string[];
15559
+ } | undefined;
15537
15560
  };
15538
15561
  } | {
15539
15562
  output: {
15540
- address: string;
15541
- createdAt: string;
15542
- destinationChain: {
15543
- addressFormat: "base58" | "base58check" | "hex";
15544
- id: string;
15545
- kind: "evm" | "solana" | "tron";
15546
- name: string;
15547
- };
15548
- destinationToken: {
15549
- address: string;
15550
- currency: string;
15551
- decimals: number;
15552
- name: string;
15553
- standard: string;
15554
- symbol: string;
15555
- tokenKey: string;
15556
- verified: boolean;
15557
- };
15558
- id: string;
15559
- provider: {
15560
- id: string;
15561
- name: string;
15562
- };
15563
- recipient: string;
15564
- refundAddress: string;
15565
- sourceChain: {
15566
- addressFormat: "base58" | "base58check" | "hex";
15567
- id: string;
15568
- kind: "evm" | "solana" | "tron";
15569
- name: string;
15570
- };
15571
- sourceToken: {
15572
- address: string;
15573
- currency: string;
15574
- decimals: number;
15575
- name: string;
15576
- standard: string;
15577
- symbol: string;
15578
- tokenKey: string;
15579
- verified: boolean;
15580
- };
15581
- status: "action-required" | "active";
15582
- subsidize: boolean;
15583
- updatedAt: string;
15584
- } | {
15585
- address: string;
15586
- createdAt: string;
15587
- destinationChain: {
15588
- addressFormat: "base58" | "base58check" | "hex";
15589
- id: string;
15590
- kind: "evm" | "solana" | "tron";
15591
- name: string;
15592
- };
15593
- destinationToken: {
15594
- address: string;
15595
- currency: string;
15596
- decimals: number;
15597
- name: string;
15598
- standard: string;
15599
- symbol: string;
15600
- tokenKey: string;
15601
- verified: boolean;
15602
- };
15603
- id: string;
15604
- provider: {
15605
- id: string;
15606
- name: string;
15607
- };
15608
- recipient: string;
15609
- refundAddress: string;
15610
- sourceChain: {
15611
- addressFormat: "base58" | "base58check" | "hex";
15612
- id: string;
15613
- kind: "evm" | "solana" | "tron";
15614
- name: string;
15615
- };
15616
- sourceToken: {
15617
- address: string;
15618
- currency: string;
15619
- decimals: number;
15620
- name: string;
15621
- standard: string;
15622
- symbol: string;
15623
- tokenKey: string;
15624
- verified: boolean;
15625
- };
15626
- status: "action-required" | "active";
15627
- subsidize: boolean;
15628
- updatedAt: string;
15629
- destinationAmount: {
15630
- baseUnits: string;
15631
- currency: string;
15632
- decimals: number;
15633
- formatted: string;
15634
- };
15635
- destinationAmountMin?: {
15636
- baseUnits: string;
15637
- currency: string;
15638
- decimals: number;
15639
- formatted: string;
15640
- } | undefined;
15641
- fees: {
15642
- amount: {
15643
- baseUnits: string;
15644
- currency: string;
15645
- decimals: number;
15646
- formatted: string;
15647
- };
15648
- side: "destination" | "source";
15649
- token: {
15650
- address: string;
15651
- currency: string;
15652
- decimals: number;
15653
- name: string;
15654
- standard: string;
15655
- symbol: string;
15656
- tokenKey: string;
15657
- verified: boolean;
15658
- };
15659
- type: "provider";
15660
- }[];
15661
- quote: {
15662
- expiresAt?: string | undefined;
15663
- sampledAt: string;
15664
- };
15665
- sourceAmount: {
15666
- baseUnits: string;
15667
- currency: string;
15668
- decimals: number;
15669
- formatted: string;
15563
+ error: {
15564
+ code: "upstream_error";
15565
+ details?: readonly Response.error.Detail[] | undefined;
15566
+ message: string;
15670
15567
  };
15568
+ requestId: string;
15671
15569
  };
15672
15570
  outputFormat: "json";
15673
- status: 200;
15571
+ status: 502;
15674
15572
  input: {
15675
- header: {
15676
- 'idempotency-key': string;
15573
+ param: {
15574
+ symbol: string;
15677
15575
  };
15678
15576
  } & {
15679
- json: {
15680
- amount: string;
15681
- destinationToken: string;
15682
- recipient: string;
15683
- refundAddress: string;
15684
- sourceChain: string;
15685
- sourceToken: string;
15686
- subsidize?: boolean | undefined;
15687
- };
15577
+ query?: {
15578
+ chainId?: string | string[];
15579
+ include?: string | string[];
15580
+ } | undefined;
15688
15581
  };
15689
- };
15690
- };
15691
- } & {
15692
- "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
15693
- $get: {
15582
+ } | {
15694
15583
  output: {
15695
15584
  error: {
15696
- code: "api_key_malformed";
15585
+ code: "token_not_found";
15697
15586
  details?: readonly Response.error.Detail[] | undefined;
15698
15587
  message: string;
15699
15588
  };
15700
15589
  requestId: string;
15701
15590
  };
15702
15591
  outputFormat: "json";
15703
- status: 400;
15592
+ status: 404;
15704
15593
  input: {
15705
15594
  param: {
15706
- id: string;
15595
+ symbol: string;
15707
15596
  };
15597
+ } & {
15598
+ query?: {
15599
+ chainId?: string | string[];
15600
+ include?: string | string[];
15601
+ } | undefined;
15708
15602
  };
15709
15603
  } | {
15710
15604
  output: {
15711
15605
  error: {
15712
- code: "api_key_invalid" | "api_key_missing";
15606
+ code: "symbol_invalid";
15713
15607
  details?: readonly Response.error.Detail[] | undefined;
15714
15608
  message: string;
15715
15609
  };
15716
15610
  requestId: string;
15717
15611
  };
15718
15612
  outputFormat: "json";
15719
- status: 401;
15613
+ status: 400;
15720
15614
  input: {
15721
15615
  param: {
15722
- id: string;
15616
+ symbol: string;
15723
15617
  };
15618
+ } & {
15619
+ query?: {
15620
+ chainId?: string | string[];
15621
+ include?: string | string[];
15622
+ } | undefined;
15724
15623
  };
15725
15624
  } | {
15726
15625
  output: {
15727
- error: {
15728
- code: "api_key_forbidden" | "api_key_ip_forbidden";
15729
- details?: readonly Response.error.Detail[] | undefined;
15730
- message: string;
15731
- };
15732
- requestId: string;
15626
+ address: `0x${string}`;
15627
+ admin?: `0x${string}` | undefined;
15628
+ currency: string;
15629
+ createdAt?: string | undefined;
15630
+ decimals: number;
15631
+ holderCount?: number | undefined;
15632
+ id: string;
15633
+ logoUri?: string | undefined;
15634
+ name: string;
15635
+ quoteToken?: `0x${string}` | undefined;
15636
+ symbol: string;
15637
+ totalSupply?: string | undefined;
15638
+ transferStats?: {
15639
+ count: number;
15640
+ firstAt: string | null;
15641
+ lastAt: string | null;
15642
+ } | undefined;
15643
+ verified: boolean;
15733
15644
  };
15734
15645
  outputFormat: "json";
15735
- status: 403;
15646
+ status: 200;
15736
15647
  input: {
15737
15648
  param: {
15738
- id: string;
15739
- };
15740
- };
15741
- } | {
15742
- output: {
15743
- error: {
15744
- code: "payment_required" | "rate_limit_exceeded";
15745
- details?: readonly Response.error.Detail[] | undefined;
15746
- message: string;
15649
+ symbol: string;
15747
15650
  };
15748
- requestId: string;
15651
+ } & {
15652
+ query?: {
15653
+ chainId?: string | string[];
15654
+ include?: string | string[];
15655
+ } | undefined;
15749
15656
  };
15750
- outputFormat: "json";
15751
- status: 429;
15657
+ };
15658
+ };
15659
+ } & {
15660
+ "/v1/tokens/:token": {
15661
+ $get: {
15662
+ output: null;
15663
+ outputFormat: "body";
15664
+ status: 402;
15752
15665
  input: {
15753
15666
  param: {
15754
- id: string;
15667
+ token: `0x${string}`;
15755
15668
  };
15669
+ } & {
15670
+ query?: {
15671
+ chainId?: string | string[];
15672
+ include?: string | string[];
15673
+ } | undefined;
15756
15674
  };
15757
15675
  } | {
15758
15676
  output: {
15759
15677
  error: {
15760
- code: "upstream_error";
15678
+ code: "api_key_malformed";
15761
15679
  details?: readonly Response.error.Detail[] | undefined;
15762
15680
  message: string;
15763
15681
  };
15764
15682
  requestId: string;
15765
15683
  };
15766
15684
  outputFormat: "json";
15767
- status: 502;
15685
+ status: 400;
15768
15686
  input: {
15769
15687
  param: {
15770
- id: string;
15688
+ token: `0x${string}`;
15771
15689
  };
15690
+ } & {
15691
+ query?: {
15692
+ chainId?: string | string[];
15693
+ include?: string | string[];
15694
+ } | undefined;
15772
15695
  };
15773
15696
  } | {
15774
15697
  output: {
15775
15698
  error: {
15776
- code: "unauthorized";
15699
+ code: "api_key_invalid" | "api_key_missing";
15777
15700
  details?: readonly Response.error.Detail[] | undefined;
15778
15701
  message: string;
15779
15702
  };
@@ -15783,112 +15706,60 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15783
15706
  status: 401;
15784
15707
  input: {
15785
15708
  param: {
15786
- id: string;
15787
- };
15788
- };
15789
- } | {
15790
- output: {
15791
- address: string;
15792
- createdAt: string;
15793
- destinationChain: {
15794
- addressFormat: "base58" | "base58check" | "hex";
15795
- id: string;
15796
- kind: "evm" | "solana" | "tron";
15797
- name: string;
15798
- };
15799
- destinationToken: {
15800
- address: string;
15801
- currency: string;
15802
- decimals: number;
15803
- name: string;
15804
- standard: string;
15805
- symbol: string;
15806
- tokenKey: string;
15807
- verified: boolean;
15808
- };
15809
- id: string;
15810
- provider: {
15811
- id: string;
15812
- name: string;
15813
- };
15814
- recipient: string;
15815
- refundAddress: string;
15816
- sourceChain: {
15817
- addressFormat: "base58" | "base58check" | "hex";
15818
- id: string;
15819
- kind: "evm" | "solana" | "tron";
15820
- name: string;
15821
- };
15822
- sourceToken: {
15823
- address: string;
15824
- currency: string;
15825
- decimals: number;
15826
- name: string;
15827
- standard: string;
15828
- symbol: string;
15829
- tokenKey: string;
15830
- verified: boolean;
15831
- };
15832
- status: "action-required" | "active";
15833
- subsidize: boolean;
15834
- updatedAt: string;
15835
- };
15836
- outputFormat: "json";
15837
- status: 200;
15838
- input: {
15839
- param: {
15840
- id: string;
15709
+ token: `0x${string}`;
15841
15710
  };
15711
+ } & {
15712
+ query?: {
15713
+ chainId?: string | string[];
15714
+ include?: string | string[];
15715
+ } | undefined;
15842
15716
  };
15843
15717
  } | {
15844
15718
  output: {
15845
15719
  error: {
15846
- code: "param_invalid";
15720
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
15847
15721
  details?: readonly Response.error.Detail[] | undefined;
15848
15722
  message: string;
15849
15723
  };
15850
15724
  requestId: string;
15851
15725
  };
15852
15726
  outputFormat: "json";
15853
- status: 400;
15727
+ status: 403;
15854
15728
  input: {
15855
15729
  param: {
15856
- id: string;
15730
+ token: `0x${string}`;
15857
15731
  };
15732
+ } & {
15733
+ query?: {
15734
+ chainId?: string | string[];
15735
+ include?: string | string[];
15736
+ } | undefined;
15858
15737
  };
15859
15738
  } | {
15860
15739
  output: {
15861
15740
  error: {
15862
- code: "funding_deposit_address_not_found";
15741
+ code: "payment_required" | "rate_limit_exceeded";
15863
15742
  details?: readonly Response.error.Detail[] | undefined;
15864
15743
  message: string;
15865
15744
  };
15866
15745
  requestId: string;
15867
15746
  };
15868
15747
  outputFormat: "json";
15869
- status: 404;
15870
- input: {
15871
- param: {
15872
- id: string;
15873
- };
15874
- };
15875
- };
15876
- };
15877
- } & {
15878
- "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/reconcile": {
15879
- $post: {
15880
- output: null;
15881
- outputFormat: "body";
15882
- status: 202;
15748
+ status: 429;
15883
15749
  input: {
15884
15750
  param: {
15885
- id: string;
15751
+ token: `0x${string}`;
15886
15752
  };
15753
+ } & {
15754
+ query?: {
15755
+ chainId?: string | string[];
15756
+ include?: string | string[];
15757
+ } | undefined;
15887
15758
  };
15888
15759
  } | {
15889
15760
  output: {
15890
15761
  error: {
15891
- code: "api_key_malformed";
15762
+ code: "query_invalid";
15892
15763
  details?: readonly Response.error.Detail[] | undefined;
15893
15764
  message: string;
15894
15765
  };
@@ -15898,77 +15769,164 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15898
15769
  status: 400;
15899
15770
  input: {
15900
15771
  param: {
15901
- id: string;
15772
+ token: `0x${string}`;
15902
15773
  };
15774
+ } & {
15775
+ query?: {
15776
+ chainId?: string | string[];
15777
+ include?: string | string[];
15778
+ } | undefined;
15903
15779
  };
15904
15780
  } | {
15905
15781
  output: {
15906
15782
  error: {
15907
- code: "api_key_invalid" | "api_key_missing";
15783
+ code: "upstream_error";
15908
15784
  details?: readonly Response.error.Detail[] | undefined;
15909
15785
  message: string;
15910
15786
  };
15911
15787
  requestId: string;
15912
15788
  };
15913
15789
  outputFormat: "json";
15914
- status: 401;
15790
+ status: 502;
15915
15791
  input: {
15916
15792
  param: {
15917
- id: string;
15793
+ token: `0x${string}`;
15918
15794
  };
15795
+ } & {
15796
+ query?: {
15797
+ chainId?: string | string[];
15798
+ include?: string | string[];
15799
+ } | undefined;
15919
15800
  };
15920
15801
  } | {
15921
15802
  output: {
15922
15803
  error: {
15923
- code: "api_key_forbidden" | "api_key_ip_forbidden";
15804
+ code: "token_not_found";
15924
15805
  details?: readonly Response.error.Detail[] | undefined;
15925
15806
  message: string;
15926
15807
  };
15927
15808
  requestId: string;
15928
15809
  };
15929
15810
  outputFormat: "json";
15930
- status: 403;
15811
+ status: 404;
15931
15812
  input: {
15932
15813
  param: {
15933
- id: string;
15814
+ token: `0x${string}`;
15934
15815
  };
15816
+ } & {
15817
+ query?: {
15818
+ chainId?: string | string[];
15819
+ include?: string | string[];
15820
+ } | undefined;
15935
15821
  };
15936
15822
  } | {
15937
15823
  output: {
15938
- error: {
15939
- code: "payment_required" | "rate_limit_exceeded";
15940
- details?: readonly Response.error.Detail[] | undefined;
15941
- message: string;
15942
- };
15943
- requestId: string;
15824
+ address: `0x${string}`;
15825
+ admin?: `0x${string}` | undefined;
15826
+ currency: string;
15827
+ createdAt?: string | undefined;
15828
+ decimals: number;
15829
+ holderCount?: number | undefined;
15830
+ id: string;
15831
+ logoUri?: string | undefined;
15832
+ name: string;
15833
+ quoteToken?: `0x${string}` | undefined;
15834
+ symbol: string;
15835
+ totalSupply?: string | undefined;
15836
+ transferStats?: {
15837
+ count: number;
15838
+ firstAt: string | null;
15839
+ lastAt: string | null;
15840
+ } | undefined;
15841
+ verified: boolean;
15944
15842
  };
15945
15843
  outputFormat: "json";
15946
- status: 429;
15844
+ status: 200;
15947
15845
  input: {
15948
15846
  param: {
15949
- id: string;
15847
+ token: `0x${string}`;
15950
15848
  };
15849
+ } & {
15850
+ query?: {
15851
+ chainId?: string | string[];
15852
+ include?: string | string[];
15853
+ } | undefined;
15951
15854
  };
15952
15855
  } | {
15953
15856
  output: {
15954
15857
  error: {
15955
- code: "upstream_error";
15858
+ code: "token_invalid";
15956
15859
  details?: readonly Response.error.Detail[] | undefined;
15957
15860
  message: string;
15958
15861
  };
15959
15862
  requestId: string;
15960
15863
  };
15961
15864
  outputFormat: "json";
15962
- status: 502;
15865
+ status: 400;
15963
15866
  input: {
15964
15867
  param: {
15965
- id: string;
15868
+ token: `0x${string}`;
15966
15869
  };
15967
- };
15870
+ } & {
15871
+ query?: {
15872
+ chainId?: string | string[];
15873
+ include?: string | string[];
15874
+ } | undefined;
15875
+ };
15876
+ };
15877
+ };
15878
+ } & {
15879
+ "/v1/tokens/:token/logo": {
15880
+ $get: {
15881
+ output: null;
15882
+ outputFormat: "body";
15883
+ status: 402;
15884
+ input: {
15885
+ param: {
15886
+ token: `0x${string}`;
15887
+ };
15888
+ } & {
15889
+ query?: {
15890
+ chainId?: string | string[];
15891
+ } | undefined;
15892
+ };
15893
+ } | {
15894
+ output: ArrayBuffer;
15895
+ outputFormat: "body";
15896
+ status: 200;
15897
+ input: {
15898
+ param: {
15899
+ token: `0x${string}`;
15900
+ };
15901
+ } & {
15902
+ query?: {
15903
+ chainId?: string | string[];
15904
+ } | undefined;
15905
+ };
15968
15906
  } | {
15969
15907
  output: {
15970
15908
  error: {
15971
- code: "unauthorized";
15909
+ code: "api_key_malformed";
15910
+ details?: readonly Response.error.Detail[] | undefined;
15911
+ message: string;
15912
+ };
15913
+ requestId: string;
15914
+ };
15915
+ outputFormat: "json";
15916
+ status: 400;
15917
+ input: {
15918
+ param: {
15919
+ token: `0x${string}`;
15920
+ };
15921
+ } & {
15922
+ query?: {
15923
+ chainId?: string | string[];
15924
+ } | undefined;
15925
+ };
15926
+ } | {
15927
+ output: {
15928
+ error: {
15929
+ code: "api_key_invalid" | "api_key_missing";
15972
15930
  details?: readonly Response.error.Detail[] | undefined;
15973
15931
  message: string;
15974
15932
  };
@@ -15978,13 +15936,57 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15978
15936
  status: 401;
15979
15937
  input: {
15980
15938
  param: {
15981
- id: string;
15939
+ token: `0x${string}`;
15940
+ };
15941
+ } & {
15942
+ query?: {
15943
+ chainId?: string | string[];
15944
+ } | undefined;
15945
+ };
15946
+ } | {
15947
+ output: {
15948
+ error: {
15949
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
15950
+ details?: readonly Response.error.Detail[] | undefined;
15951
+ message: string;
15952
+ };
15953
+ requestId: string;
15954
+ };
15955
+ outputFormat: "json";
15956
+ status: 403;
15957
+ input: {
15958
+ param: {
15959
+ token: `0x${string}`;
15982
15960
  };
15961
+ } & {
15962
+ query?: {
15963
+ chainId?: string | string[];
15964
+ } | undefined;
15983
15965
  };
15984
15966
  } | {
15985
15967
  output: {
15986
15968
  error: {
15987
- code: "param_invalid";
15969
+ code: "payment_required" | "rate_limit_exceeded";
15970
+ details?: readonly Response.error.Detail[] | undefined;
15971
+ message: string;
15972
+ };
15973
+ requestId: string;
15974
+ };
15975
+ outputFormat: "json";
15976
+ status: 429;
15977
+ input: {
15978
+ param: {
15979
+ token: `0x${string}`;
15980
+ };
15981
+ } & {
15982
+ query?: {
15983
+ chainId?: string | string[];
15984
+ } | undefined;
15985
+ };
15986
+ } | {
15987
+ output: {
15988
+ error: {
15989
+ code: "query_invalid";
15988
15990
  details?: readonly Response.error.Detail[] | undefined;
15989
15991
  message: string;
15990
15992
  };
@@ -15994,62 +15996,95 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
15994
15996
  status: 400;
15995
15997
  input: {
15996
15998
  param: {
15997
- id: string;
15999
+ token: `0x${string}`;
15998
16000
  };
16001
+ } & {
16002
+ query?: {
16003
+ chainId?: string | string[];
16004
+ } | undefined;
15999
16005
  };
16000
16006
  } | {
16001
16007
  output: {
16002
16008
  error: {
16003
- code: "funding_deposit_address_not_found";
16009
+ code: "upstream_error";
16004
16010
  details?: readonly Response.error.Detail[] | undefined;
16005
16011
  message: string;
16006
16012
  };
16007
16013
  requestId: string;
16008
16014
  };
16009
16015
  outputFormat: "json";
16010
- status: 404;
16016
+ status: 502;
16011
16017
  input: {
16012
16018
  param: {
16013
- id: string;
16019
+ token: `0x${string}`;
16014
16020
  };
16021
+ } & {
16022
+ query?: {
16023
+ chainId?: string | string[];
16024
+ } | undefined;
16015
16025
  };
16016
16026
  } | {
16017
16027
  output: {
16018
16028
  error: {
16019
- code: "funding_deposit_address_not_active";
16029
+ code: "token_invalid";
16020
16030
  details?: readonly Response.error.Detail[] | undefined;
16021
16031
  message: string;
16022
16032
  };
16023
16033
  requestId: string;
16024
16034
  };
16025
16035
  outputFormat: "json";
16026
- status: 409;
16036
+ status: 400;
16027
16037
  input: {
16028
16038
  param: {
16029
- id: string;
16039
+ token: `0x${string}`;
16030
16040
  };
16041
+ } & {
16042
+ query?: {
16043
+ chainId?: string | string[];
16044
+ } | undefined;
16031
16045
  };
16032
16046
  } | {
16033
16047
  output: {
16034
16048
  error: {
16035
- code: "not_implemented";
16049
+ code: "token_logo_not_found";
16036
16050
  details?: readonly Response.error.Detail[] | undefined;
16037
16051
  message: string;
16038
16052
  };
16039
16053
  requestId: string;
16040
16054
  };
16041
16055
  outputFormat: "json";
16042
- status: 501;
16056
+ status: 404;
16043
16057
  input: {
16044
16058
  param: {
16045
- id: string;
16059
+ token: `0x${string}`;
16046
16060
  };
16061
+ } & {
16062
+ query?: {
16063
+ chainId?: string | string[];
16064
+ } | undefined;
16047
16065
  };
16048
16066
  };
16049
16067
  };
16050
16068
  } & {
16051
- "/v1/funding/deposits": {
16069
+ "/v1/tokens/:token/holders": {
16052
16070
  $get: {
16071
+ output: null;
16072
+ outputFormat: "body";
16073
+ status: 402;
16074
+ input: {
16075
+ param: {
16076
+ token: `0x${string}`;
16077
+ };
16078
+ } & {
16079
+ query?: {
16080
+ chainId?: string | string[];
16081
+ cursor?: string | string[];
16082
+ include?: string | string[];
16083
+ limit?: string | string[];
16084
+ page?: string | string[];
16085
+ } | undefined;
16086
+ };
16087
+ } | {
16053
16088
  output: {
16054
16089
  error: {
16055
16090
  code: "api_key_malformed";
@@ -16061,11 +16096,16 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16061
16096
  outputFormat: "json";
16062
16097
  status: 400;
16063
16098
  input: {
16099
+ param: {
16100
+ token: `0x${string}`;
16101
+ };
16102
+ } & {
16064
16103
  query?: {
16065
- depositAddress?: string | string[];
16104
+ chainId?: string | string[];
16066
16105
  cursor?: string | string[];
16106
+ include?: string | string[];
16067
16107
  limit?: string | string[];
16068
- recipient?: string | string[];
16108
+ page?: string | string[];
16069
16109
  } | undefined;
16070
16110
  };
16071
16111
  } | {
@@ -16080,11 +16120,16 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16080
16120
  outputFormat: "json";
16081
16121
  status: 401;
16082
16122
  input: {
16123
+ param: {
16124
+ token: `0x${string}`;
16125
+ };
16126
+ } & {
16083
16127
  query?: {
16084
- depositAddress?: string | string[];
16128
+ chainId?: string | string[];
16085
16129
  cursor?: string | string[];
16130
+ include?: string | string[];
16086
16131
  limit?: string | string[];
16087
- recipient?: string | string[];
16132
+ page?: string | string[];
16088
16133
  } | undefined;
16089
16134
  };
16090
16135
  } | {
@@ -16099,11 +16144,16 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16099
16144
  outputFormat: "json";
16100
16145
  status: 403;
16101
16146
  input: {
16147
+ param: {
16148
+ token: `0x${string}`;
16149
+ };
16150
+ } & {
16102
16151
  query?: {
16103
- depositAddress?: string | string[];
16152
+ chainId?: string | string[];
16104
16153
  cursor?: string | string[];
16154
+ include?: string | string[];
16105
16155
  limit?: string | string[];
16106
- recipient?: string | string[];
16156
+ page?: string | string[];
16107
16157
  } | undefined;
16108
16158
  };
16109
16159
  } | {
@@ -16118,11 +16168,16 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16118
16168
  outputFormat: "json";
16119
16169
  status: 429;
16120
16170
  input: {
16171
+ param: {
16172
+ token: `0x${string}`;
16173
+ };
16174
+ } & {
16121
16175
  query?: {
16122
- depositAddress?: string | string[];
16176
+ chainId?: string | string[];
16123
16177
  cursor?: string | string[];
16178
+ include?: string | string[];
16124
16179
  limit?: string | string[];
16125
- recipient?: string | string[];
16180
+ page?: string | string[];
16126
16181
  } | undefined;
16127
16182
  };
16128
16183
  } | {
@@ -16137,11 +16192,16 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16137
16192
  outputFormat: "json";
16138
16193
  status: 400;
16139
16194
  input: {
16195
+ param: {
16196
+ token: `0x${string}`;
16197
+ };
16198
+ } & {
16140
16199
  query?: {
16141
- depositAddress?: string | string[];
16200
+ chainId?: string | string[];
16142
16201
  cursor?: string | string[];
16202
+ include?: string | string[];
16143
16203
  limit?: string | string[];
16144
- recipient?: string | string[];
16204
+ page?: string | string[];
16145
16205
  } | undefined;
16146
16206
  };
16147
16207
  } | {
@@ -16156,130 +16216,109 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16156
16216
  outputFormat: "json";
16157
16217
  status: 502;
16158
16218
  input: {
16219
+ param: {
16220
+ token: `0x${string}`;
16221
+ };
16222
+ } & {
16159
16223
  query?: {
16160
- depositAddress?: string | string[];
16224
+ chainId?: string | string[];
16161
16225
  cursor?: string | string[];
16226
+ include?: string | string[];
16162
16227
  limit?: string | string[];
16163
- recipient?: string | string[];
16228
+ page?: string | string[];
16164
16229
  } | undefined;
16165
16230
  };
16166
16231
  } | {
16167
16232
  output: {
16168
16233
  error: {
16169
- code: "unauthorized";
16234
+ code: "token_invalid";
16170
16235
  details?: readonly Response.error.Detail[] | undefined;
16171
16236
  message: string;
16172
16237
  };
16173
16238
  requestId: string;
16174
16239
  };
16175
16240
  outputFormat: "json";
16176
- status: 401;
16241
+ status: 400;
16177
16242
  input: {
16243
+ param: {
16244
+ token: `0x${string}`;
16245
+ };
16246
+ } & {
16178
16247
  query?: {
16179
- depositAddress?: string | string[];
16248
+ chainId?: string | string[];
16180
16249
  cursor?: string | string[];
16250
+ include?: string | string[];
16181
16251
  limit?: string | string[];
16182
- recipient?: string | string[];
16252
+ page?: string | string[];
16183
16253
  } | undefined;
16184
16254
  };
16185
16255
  } | {
16186
16256
  output: {
16187
16257
  data: {
16188
- createdAt: string;
16189
- depositAddressId: string;
16190
- detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
16191
- destinationAmount?: {
16192
- baseUnits: string;
16193
- currency: string;
16194
- decimals: number;
16195
- formatted: string;
16196
- } | undefined;
16197
- destinationAmountRequired?: {
16198
- baseUnits: string;
16258
+ address: `0x${string}`;
16259
+ balance: string;
16260
+ id: string;
16261
+ }[];
16262
+ meta?: {
16263
+ totalCountCapped?: boolean | undefined;
16264
+ token?: {
16265
+ address: `0x${string}`;
16199
16266
  currency: string;
16200
16267
  decimals: number;
16201
- formatted: string;
16202
- } | undefined;
16203
- destinationChain: {
16204
- addressFormat: "base58" | "base58check" | "hex";
16205
16268
  id: string;
16206
- kind: "evm" | "solana" | "tron";
16269
+ logoUri?: string | undefined;
16207
16270
  name: string;
16208
- };
16209
- destinationToken: {
16210
- address: string;
16211
- currency: string;
16212
- decimals: number;
16213
- name: string;
16214
- standard: string;
16215
- symbol: string;
16216
- tokenKey: string;
16217
- verified: boolean;
16218
- };
16219
- destinationTransactionHashes?: readonly string[] | undefined;
16220
- id: string;
16221
- provider: {
16222
- id: string;
16223
- name: string;
16224
- };
16225
- recipient: string;
16226
- refundAddress: string;
16227
- refundAmount?: {
16228
- baseUnits: string;
16229
- currency: string;
16230
- decimals: number;
16231
- formatted: string;
16232
- } | undefined;
16233
- refundTransactionHashes?: readonly string[] | undefined;
16234
- sender?: string | undefined;
16235
- sourceAmount?: {
16236
- baseUnits: string;
16237
- currency: string;
16238
- decimals: number;
16239
- formatted: string;
16240
- } | undefined;
16241
- sourceChain: {
16242
- addressFormat: "base58" | "base58check" | "hex";
16243
- id: string;
16244
- kind: "evm" | "solana" | "tron";
16245
- name: string;
16246
- };
16247
- sourceToken: {
16248
- address: string;
16249
- currency: string;
16250
- decimals: number;
16251
- name: string;
16252
- standard: string;
16253
16271
  symbol: string;
16254
- tokenKey: string;
16255
16272
  verified: boolean;
16256
- };
16257
- sourceTransactionHashes: readonly string[];
16258
- sourceTransferIndex?: number | undefined;
16259
- status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
16260
- statusReason?: {
16261
- code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
16262
- message: string;
16263
16273
  } | undefined;
16264
- updatedAt: string;
16265
- }[];
16274
+ totalCount?: number | undefined;
16275
+ } | undefined;
16266
16276
  nextCursor: string | null;
16267
16277
  };
16268
16278
  outputFormat: "json";
16269
16279
  status: 200;
16270
16280
  input: {
16281
+ param: {
16282
+ token: `0x${string}`;
16283
+ };
16284
+ } & {
16271
16285
  query?: {
16272
- depositAddress?: string | string[];
16286
+ chainId?: string | string[];
16273
16287
  cursor?: string | string[];
16288
+ include?: string | string[];
16274
16289
  limit?: string | string[];
16275
- recipient?: string | string[];
16290
+ page?: string | string[];
16276
16291
  } | undefined;
16277
16292
  };
16278
16293
  };
16279
16294
  };
16280
16295
  } & {
16281
- "/v1/funding/deposits/:id{fdp_[A-Za-z0-9_-]+}": {
16296
+ "/v1/tokens/:token/transactions": {
16282
16297
  $get: {
16298
+ output: null;
16299
+ outputFormat: "body";
16300
+ status: 402;
16301
+ input: {
16302
+ param: {
16303
+ token: `0x${string}`;
16304
+ };
16305
+ } & {
16306
+ query?: {
16307
+ 'blockNumber.from'?: string | string[];
16308
+ 'blockNumber.to'?: string | string[];
16309
+ chainId?: string | string[];
16310
+ cursor?: string | string[];
16311
+ feePayer?: string | string[];
16312
+ feeToken?: string | string[];
16313
+ include?: string | string[];
16314
+ limit?: string | string[];
16315
+ order?: string | string[];
16316
+ page?: string | string[];
16317
+ 'timestamp.from'?: string | string[];
16318
+ 'timestamp.to'?: string | string[];
16319
+ } | undefined;
16320
+ };
16321
+ } | {
16283
16322
  output: {
16284
16323
  error: {
16285
16324
  code: "api_key_malformed";
@@ -16292,8 +16331,23 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16292
16331
  status: 400;
16293
16332
  input: {
16294
16333
  param: {
16295
- id: string;
16334
+ token: `0x${string}`;
16296
16335
  };
16336
+ } & {
16337
+ query?: {
16338
+ 'blockNumber.from'?: string | string[];
16339
+ 'blockNumber.to'?: string | string[];
16340
+ chainId?: string | string[];
16341
+ cursor?: string | string[];
16342
+ feePayer?: string | string[];
16343
+ feeToken?: string | string[];
16344
+ include?: string | string[];
16345
+ limit?: string | string[];
16346
+ order?: string | string[];
16347
+ page?: string | string[];
16348
+ 'timestamp.from'?: string | string[];
16349
+ 'timestamp.to'?: string | string[];
16350
+ } | undefined;
16297
16351
  };
16298
16352
  } | {
16299
16353
  output: {
@@ -16308,8 +16362,23 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16308
16362
  status: 401;
16309
16363
  input: {
16310
16364
  param: {
16311
- id: string;
16365
+ token: `0x${string}`;
16312
16366
  };
16367
+ } & {
16368
+ query?: {
16369
+ 'blockNumber.from'?: string | string[];
16370
+ 'blockNumber.to'?: string | string[];
16371
+ chainId?: string | string[];
16372
+ cursor?: string | string[];
16373
+ feePayer?: string | string[];
16374
+ feeToken?: string | string[];
16375
+ include?: string | string[];
16376
+ limit?: string | string[];
16377
+ order?: string | string[];
16378
+ page?: string | string[];
16379
+ 'timestamp.from'?: string | string[];
16380
+ 'timestamp.to'?: string | string[];
16381
+ } | undefined;
16313
16382
  };
16314
16383
  } | {
16315
16384
  output: {
@@ -16324,8 +16393,23 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16324
16393
  status: 403;
16325
16394
  input: {
16326
16395
  param: {
16327
- id: string;
16396
+ token: `0x${string}`;
16328
16397
  };
16398
+ } & {
16399
+ query?: {
16400
+ 'blockNumber.from'?: string | string[];
16401
+ 'blockNumber.to'?: string | string[];
16402
+ chainId?: string | string[];
16403
+ cursor?: string | string[];
16404
+ feePayer?: string | string[];
16405
+ feeToken?: string | string[];
16406
+ include?: string | string[];
16407
+ limit?: string | string[];
16408
+ order?: string | string[];
16409
+ page?: string | string[];
16410
+ 'timestamp.from'?: string | string[];
16411
+ 'timestamp.to'?: string | string[];
16412
+ } | undefined;
16329
16413
  };
16330
16414
  } | {
16331
16415
  output: {
@@ -16340,45 +16424,90 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16340
16424
  status: 429;
16341
16425
  input: {
16342
16426
  param: {
16343
- id: string;
16427
+ token: `0x${string}`;
16344
16428
  };
16429
+ } & {
16430
+ query?: {
16431
+ 'blockNumber.from'?: string | string[];
16432
+ 'blockNumber.to'?: string | string[];
16433
+ chainId?: string | string[];
16434
+ cursor?: string | string[];
16435
+ feePayer?: string | string[];
16436
+ feeToken?: string | string[];
16437
+ include?: string | string[];
16438
+ limit?: string | string[];
16439
+ order?: string | string[];
16440
+ page?: string | string[];
16441
+ 'timestamp.from'?: string | string[];
16442
+ 'timestamp.to'?: string | string[];
16443
+ } | undefined;
16345
16444
  };
16346
16445
  } | {
16347
16446
  output: {
16348
16447
  error: {
16349
- code: "upstream_error";
16448
+ code: "query_invalid";
16350
16449
  details?: readonly Response.error.Detail[] | undefined;
16351
16450
  message: string;
16352
16451
  };
16353
16452
  requestId: string;
16354
16453
  };
16355
16454
  outputFormat: "json";
16356
- status: 502;
16455
+ status: 400;
16357
16456
  input: {
16358
16457
  param: {
16359
- id: string;
16458
+ token: `0x${string}`;
16360
16459
  };
16460
+ } & {
16461
+ query?: {
16462
+ 'blockNumber.from'?: string | string[];
16463
+ 'blockNumber.to'?: string | string[];
16464
+ chainId?: string | string[];
16465
+ cursor?: string | string[];
16466
+ feePayer?: string | string[];
16467
+ feeToken?: string | string[];
16468
+ include?: string | string[];
16469
+ limit?: string | string[];
16470
+ order?: string | string[];
16471
+ page?: string | string[];
16472
+ 'timestamp.from'?: string | string[];
16473
+ 'timestamp.to'?: string | string[];
16474
+ } | undefined;
16361
16475
  };
16362
16476
  } | {
16363
16477
  output: {
16364
16478
  error: {
16365
- code: "unauthorized";
16479
+ code: "upstream_error";
16366
16480
  details?: readonly Response.error.Detail[] | undefined;
16367
16481
  message: string;
16368
16482
  };
16369
16483
  requestId: string;
16370
16484
  };
16371
16485
  outputFormat: "json";
16372
- status: 401;
16486
+ status: 502;
16373
16487
  input: {
16374
16488
  param: {
16375
- id: string;
16489
+ token: `0x${string}`;
16376
16490
  };
16491
+ } & {
16492
+ query?: {
16493
+ 'blockNumber.from'?: string | string[];
16494
+ 'blockNumber.to'?: string | string[];
16495
+ chainId?: string | string[];
16496
+ cursor?: string | string[];
16497
+ feePayer?: string | string[];
16498
+ feeToken?: string | string[];
16499
+ include?: string | string[];
16500
+ limit?: string | string[];
16501
+ order?: string | string[];
16502
+ page?: string | string[];
16503
+ 'timestamp.from'?: string | string[];
16504
+ 'timestamp.to'?: string | string[];
16505
+ } | undefined;
16377
16506
  };
16378
16507
  } | {
16379
16508
  output: {
16380
16509
  error: {
16381
- code: "param_invalid";
16510
+ code: "token_invalid";
16382
16511
  details?: readonly Response.error.Detail[] | undefined;
16383
16512
  message: string;
16384
16513
  };
@@ -16388,233 +16517,299 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16388
16517
  status: 400;
16389
16518
  input: {
16390
16519
  param: {
16391
- id: string;
16392
- };
16393
- };
16394
- } | {
16395
- output: {
16396
- error: {
16397
- code: "funding_deposit_not_found";
16398
- details?: readonly Response.error.Detail[] | undefined;
16399
- message: string;
16400
- };
16401
- requestId: string;
16402
- };
16403
- outputFormat: "json";
16404
- status: 404;
16405
- input: {
16406
- param: {
16407
- id: string;
16520
+ token: `0x${string}`;
16408
16521
  };
16522
+ } & {
16523
+ query?: {
16524
+ 'blockNumber.from'?: string | string[];
16525
+ 'blockNumber.to'?: string | string[];
16526
+ chainId?: string | string[];
16527
+ cursor?: string | string[];
16528
+ feePayer?: string | string[];
16529
+ feeToken?: string | string[];
16530
+ include?: string | string[];
16531
+ limit?: string | string[];
16532
+ order?: string | string[];
16533
+ page?: string | string[];
16534
+ 'timestamp.from'?: string | string[];
16535
+ 'timestamp.to'?: string | string[];
16536
+ } | undefined;
16409
16537
  };
16410
16538
  } | {
16411
16539
  output: {
16412
- createdAt: string;
16413
- depositAddressId: string;
16414
- detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
16415
- destinationAmount?: {
16416
- baseUnits: string;
16417
- currency: string;
16418
- decimals: number;
16419
- formatted: string;
16420
- } | undefined;
16421
- destinationAmountRequired?: {
16422
- baseUnits: string;
16423
- currency: string;
16424
- decimals: number;
16425
- formatted: string;
16426
- } | undefined;
16427
- destinationChain: {
16428
- addressFormat: "base58" | "base58check" | "hex";
16429
- id: string;
16430
- kind: "evm" | "solana" | "tron";
16431
- name: string;
16432
- };
16433
- destinationToken: {
16434
- address: string;
16435
- currency: string;
16436
- decimals: number;
16437
- name: string;
16438
- standard: string;
16439
- symbol: string;
16440
- tokenKey: string;
16441
- verified: boolean;
16442
- };
16443
- destinationTransactionHashes?: readonly string[] | undefined;
16444
- id: string;
16445
- provider: {
16446
- id: string;
16447
- name: string;
16448
- };
16449
- recipient: string;
16450
- refundAddress: string;
16451
- refundAmount?: {
16452
- baseUnits: string;
16453
- currency: string;
16454
- decimals: number;
16455
- formatted: string;
16456
- } | undefined;
16457
- refundTransactionHashes?: readonly string[] | undefined;
16458
- sender?: string | undefined;
16459
- sourceAmount?: {
16460
- baseUnits: string;
16461
- currency: string;
16462
- decimals: number;
16463
- formatted: string;
16464
- } | undefined;
16465
- sourceChain: {
16466
- addressFormat: "base58" | "base58check" | "hex";
16467
- id: string;
16468
- kind: "evm" | "solana" | "tron";
16469
- name: string;
16470
- };
16471
- sourceToken: {
16472
- address: string;
16473
- currency: string;
16474
- decimals: number;
16475
- name: string;
16476
- standard: string;
16477
- symbol: string;
16478
- tokenKey: string;
16479
- verified: boolean;
16480
- };
16481
- sourceTransactionHashes: readonly string[];
16482
- sourceTransferIndex?: number | undefined;
16483
- status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
16484
- statusReason?: {
16485
- code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
16486
- message: string;
16540
+ data: {
16541
+ blockHash: `0x${string}` | null;
16542
+ blockNumber: number | null;
16543
+ calls?: {
16544
+ data?: `0x${string}` | undefined;
16545
+ to: `0x${string}` | null;
16546
+ }[] | undefined;
16547
+ chainId?: number | undefined;
16548
+ feeToken?: {
16549
+ address: `0x${string}`;
16550
+ currency: string;
16551
+ decimals: number;
16552
+ logoUri?: string | undefined;
16553
+ name: string;
16554
+ symbol: string;
16555
+ verified?: boolean | undefined;
16556
+ } | undefined;
16557
+ gas: number;
16558
+ gasPrice?: string | undefined;
16559
+ hash: `0x${string}`;
16560
+ id: `0x${string}`;
16561
+ input?: `0x${string}` | undefined;
16562
+ maxFeePerGas?: string | undefined;
16563
+ maxPriorityFeePerGas?: string | undefined;
16564
+ meta: {
16565
+ receipt?: {
16566
+ blockHash: `0x${string}` | null;
16567
+ blockNumber: number;
16568
+ contractAddress: `0x${string}` | null;
16569
+ cumulativeGasUsed: number;
16570
+ effectiveGasPrice: string;
16571
+ feeAmount: {
16572
+ baseUnits: string;
16573
+ currency: string;
16574
+ decimals: number;
16575
+ formatted: string;
16576
+ valuation?: {
16577
+ amount: string;
16578
+ currency: string;
16579
+ } | null | undefined;
16580
+ };
16581
+ feePayer?: `0x${string}` | undefined;
16582
+ feeToken?: {
16583
+ address: `0x${string}`;
16584
+ currency: string;
16585
+ decimals: number;
16586
+ logoUri?: string | undefined;
16587
+ name: string;
16588
+ symbol: string;
16589
+ verified?: boolean | undefined;
16590
+ } | undefined;
16591
+ gasUsed: number;
16592
+ id: `0x${string}`;
16593
+ logs: {
16594
+ [x: string]: import("hono/utils/types").JSONValue;
16595
+ address: `0x${string}`;
16596
+ blockHash: `0x${string}` | null;
16597
+ blockNumber: `0x${string}` | null;
16598
+ blockTimestamp?: `0x${string}` | null | undefined;
16599
+ data: `0x${string}`;
16600
+ logIndex: `0x${string}` | null;
16601
+ removed: boolean;
16602
+ topics: `0x${string}`[];
16603
+ transactionHash: `0x${string}` | null;
16604
+ transactionIndex: `0x${string}` | null;
16605
+ }[];
16606
+ meta: {
16607
+ valuation?: {
16608
+ asOf: string;
16609
+ basis: "nominal";
16610
+ source: string;
16611
+ } | undefined;
16612
+ rpc: {
16613
+ [x: string]: import("hono/utils/types").JSONValue;
16614
+ blobGasPrice?: `0x${string}` | undefined;
16615
+ blobGasUsed?: `0x${string}` | undefined;
16616
+ blockHash: `0x${string}` | null;
16617
+ blockNumber: `0x${string}`;
16618
+ blockTimestamp?: `0x${string}` | null | undefined;
16619
+ contractAddress?: `0x${string}` | null | undefined;
16620
+ cumulativeGasUsed: `0x${string}`;
16621
+ effectiveGasPrice: `0x${string}`;
16622
+ feePayer?: `0x${string}` | null | undefined;
16623
+ feeToken?: `0x${string}` | null | undefined;
16624
+ from: `0x${string}`;
16625
+ gasUsed: `0x${string}`;
16626
+ logs: {
16627
+ [x: string]: import("hono/utils/types").JSONValue;
16628
+ address: `0x${string}`;
16629
+ blockHash: `0x${string}` | null;
16630
+ blockNumber: `0x${string}` | null;
16631
+ blockTimestamp?: `0x${string}` | null | undefined;
16632
+ data: `0x${string}`;
16633
+ logIndex: `0x${string}` | null;
16634
+ removed: boolean;
16635
+ topics: `0x${string}`[];
16636
+ transactionHash: `0x${string}` | null;
16637
+ transactionIndex: `0x${string}` | null;
16638
+ }[];
16639
+ logsBloom?: `0x${string}` | undefined;
16640
+ root?: `0x${string}` | undefined;
16641
+ status: `0x${string}`;
16642
+ to: `0x${string}` | null;
16643
+ transactionHash: `0x${string}`;
16644
+ transactionIndex: `0x${string}`;
16645
+ type: `0x${string}`;
16646
+ };
16647
+ };
16648
+ recipient: `0x${string}` | null;
16649
+ sender: `0x${string}`;
16650
+ status: "reverted" | "success";
16651
+ timestamp: string | null;
16652
+ transactionHash: `0x${string}`;
16653
+ transactionIndex: number;
16654
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
16655
+ } | undefined;
16656
+ rpc: {
16657
+ [x: string]: import("hono/utils/types").JSONValue;
16658
+ aaAuthorizationList?: {
16659
+ [x: string]: import("hono/utils/types").JSONValue;
16660
+ }[] | undefined;
16661
+ accessList?: {
16662
+ [x: string]: import("hono/utils/types").JSONValue;
16663
+ address: `0x${string}`;
16664
+ storageKeys: `0x${string}`[];
16665
+ }[] | undefined;
16666
+ authorizationList?: {
16667
+ [x: string]: import("hono/utils/types").JSONValue;
16668
+ }[] | undefined;
16669
+ blobVersionedHashes?: `0x${string}`[] | undefined;
16670
+ blockHash: `0x${string}` | null;
16671
+ blockNumber: `0x${string}` | null;
16672
+ blockTimestamp?: `0x${string}` | null | undefined;
16673
+ calls?: {
16674
+ [x: string]: import("hono/utils/types").JSONValue;
16675
+ data?: `0x${string}` | null | undefined;
16676
+ input?: `0x${string}` | null | undefined;
16677
+ to?: `0x${string}` | null | undefined;
16678
+ value?: `0x${string}` | null | undefined;
16679
+ }[] | null | undefined;
16680
+ chainId?: `0x${string}` | undefined;
16681
+ feePayer?: `0x${string}` | undefined;
16682
+ feePayerSignature?: {
16683
+ [x: string]: import("hono/utils/types").JSONValue;
16684
+ type?: string | undefined;
16685
+ } | null | undefined;
16686
+ feeToken?: `0x${string}` | null | undefined;
16687
+ from: `0x${string}`;
16688
+ gas: `0x${string}`;
16689
+ gasPrice?: `0x${string}` | undefined;
16690
+ hash: `0x${string}`;
16691
+ input?: `0x${string}` | undefined;
16692
+ keyAuthorization?: {
16693
+ [x: string]: import("hono/utils/types").JSONValue;
16694
+ } | null | undefined;
16695
+ maxFeePerBlobGas?: `0x${string}` | undefined;
16696
+ maxFeePerGas?: `0x${string}` | undefined;
16697
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
16698
+ nonce: `0x${string}`;
16699
+ nonceKey?: `0x${string}` | undefined;
16700
+ r?: `0x${string}` | undefined;
16701
+ s?: `0x${string}` | undefined;
16702
+ signature?: {
16703
+ [x: string]: import("hono/utils/types").JSONValue;
16704
+ type?: string | undefined;
16705
+ } | undefined;
16706
+ to?: `0x${string}` | null | undefined;
16707
+ transactionIndex: `0x${string}` | null;
16708
+ type: `0x${string}`;
16709
+ v?: `0x${string}` | undefined;
16710
+ validAfter?: `0x${string}` | null | undefined;
16711
+ validBefore?: `0x${string}` | null | undefined;
16712
+ value?: `0x${string}` | undefined;
16713
+ yParity?: `0x${string}` | undefined;
16714
+ };
16715
+ };
16716
+ nonce: number;
16717
+ nonceKey?: `0x${string}` | undefined;
16718
+ recipient: `0x${string}` | null;
16719
+ sender: `0x${string}`;
16720
+ timestamp: string | null;
16721
+ transactionIndex: number | null;
16722
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
16723
+ validAfter?: string | null | undefined;
16724
+ validBefore?: string | null | undefined;
16725
+ value: string;
16726
+ }[];
16727
+ meta?: {
16728
+ totalCountCapped?: boolean | undefined;
16729
+ token?: {
16730
+ address: `0x${string}`;
16731
+ currency: string;
16732
+ decimals: number;
16733
+ id: string;
16734
+ logoUri?: string | undefined;
16735
+ name: string;
16736
+ symbol: string;
16737
+ verified: boolean;
16738
+ } | undefined;
16739
+ totalCount?: number | undefined;
16487
16740
  } | undefined;
16488
- updatedAt: string;
16741
+ nextCursor: string | null;
16489
16742
  };
16490
16743
  outputFormat: "json";
16491
16744
  status: 200;
16492
16745
  input: {
16493
16746
  param: {
16494
- id: string;
16747
+ token: `0x${string}`;
16495
16748
  };
16496
- };
16497
- };
16498
- };
16499
- }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
16500
- "/v1/tokens": {
16501
- $get: {
16502
- output: null;
16503
- outputFormat: "body";
16504
- status: 402;
16505
- input: {
16749
+ } & {
16506
16750
  query?: {
16507
- addresses?: string | string[];
16751
+ 'blockNumber.from'?: string | string[];
16752
+ 'blockNumber.to'?: string | string[];
16508
16753
  chainId?: string | string[];
16509
- currency?: string | string[];
16510
16754
  cursor?: string | string[];
16755
+ feePayer?: string | string[];
16756
+ feeToken?: string | string[];
16511
16757
  include?: string | string[];
16512
16758
  limit?: string | string[];
16513
16759
  order?: string | string[];
16514
16760
  page?: string | string[];
16515
- verified?: string | string[];
16761
+ 'timestamp.from'?: string | string[];
16762
+ 'timestamp.to'?: string | string[];
16516
16763
  } | undefined;
16517
16764
  };
16518
- } | {
16519
- output: {
16520
- error: {
16521
- code: "api_key_malformed";
16522
- details?: readonly Response.error.Detail[] | undefined;
16523
- message: string;
16765
+ };
16766
+ };
16767
+ }, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
16768
+ "/webhooks/funding/:providerId": {
16769
+ $post: {
16770
+ output: null;
16771
+ outputFormat: "body";
16772
+ status: 204;
16773
+ input: {
16774
+ param: {
16775
+ providerId: string;
16524
16776
  };
16525
- requestId: string;
16526
16777
  };
16527
- outputFormat: "json";
16778
+ } | {
16779
+ output: null;
16780
+ outputFormat: "body";
16528
16781
  status: 400;
16529
16782
  input: {
16530
- query?: {
16531
- addresses?: string | string[];
16532
- chainId?: string | string[];
16533
- currency?: string | string[];
16534
- cursor?: string | string[];
16535
- include?: string | string[];
16536
- limit?: string | string[];
16537
- order?: string | string[];
16538
- page?: string | string[];
16539
- verified?: string | string[];
16540
- } | undefined;
16541
- };
16542
- } | {
16543
- output: {
16544
- error: {
16545
- code: "api_key_invalid" | "api_key_missing";
16546
- details?: readonly Response.error.Detail[] | undefined;
16547
- message: string;
16783
+ param: {
16784
+ providerId: string;
16548
16785
  };
16549
- requestId: string;
16550
16786
  };
16551
- outputFormat: "json";
16787
+ } | {
16788
+ output: null;
16789
+ outputFormat: "body";
16552
16790
  status: 401;
16553
16791
  input: {
16554
- query?: {
16555
- addresses?: string | string[];
16556
- chainId?: string | string[];
16557
- currency?: string | string[];
16558
- cursor?: string | string[];
16559
- include?: string | string[];
16560
- limit?: string | string[];
16561
- order?: string | string[];
16562
- page?: string | string[];
16563
- verified?: string | string[];
16564
- } | undefined;
16565
- };
16566
- } | {
16567
- output: {
16568
- error: {
16569
- code: "api_key_forbidden" | "api_key_ip_forbidden";
16570
- details?: readonly Response.error.Detail[] | undefined;
16571
- message: string;
16792
+ param: {
16793
+ providerId: string;
16572
16794
  };
16573
- requestId: string;
16574
- };
16575
- outputFormat: "json";
16576
- status: 403;
16577
- input: {
16578
- query?: {
16579
- addresses?: string | string[];
16580
- chainId?: string | string[];
16581
- currency?: string | string[];
16582
- cursor?: string | string[];
16583
- include?: string | string[];
16584
- limit?: string | string[];
16585
- order?: string | string[];
16586
- page?: string | string[];
16587
- verified?: string | string[];
16588
- } | undefined;
16589
16795
  };
16590
16796
  } | {
16591
- output: {
16592
- error: {
16593
- code: "payment_required" | "rate_limit_exceeded";
16594
- details?: readonly Response.error.Detail[] | undefined;
16595
- message: string;
16596
- };
16597
- requestId: string;
16598
- };
16599
- outputFormat: "json";
16600
- status: 429;
16797
+ output: null;
16798
+ outputFormat: "body";
16799
+ status: 404;
16601
16800
  input: {
16602
- query?: {
16603
- addresses?: string | string[];
16604
- chainId?: string | string[];
16605
- currency?: string | string[];
16606
- cursor?: string | string[];
16607
- include?: string | string[];
16608
- limit?: string | string[];
16609
- order?: string | string[];
16610
- page?: string | string[];
16611
- verified?: string | string[];
16612
- } | undefined;
16801
+ param: {
16802
+ providerId: string;
16803
+ };
16613
16804
  };
16614
- } | {
16805
+ };
16806
+ };
16807
+ } & {
16808
+ "/v1/funding/deposit-addresses": {
16809
+ $post: {
16615
16810
  output: {
16616
16811
  error: {
16617
- code: "query_invalid";
16812
+ code: "api_key_malformed";
16618
16813
  details?: readonly Response.error.Detail[] | undefined;
16619
16814
  message: string;
16620
16815
  };
@@ -16623,229 +16818,232 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16623
16818
  outputFormat: "json";
16624
16819
  status: 400;
16625
16820
  input: {
16626
- query?: {
16627
- addresses?: string | string[];
16628
- chainId?: string | string[];
16629
- currency?: string | string[];
16630
- cursor?: string | string[];
16631
- include?: string | string[];
16632
- limit?: string | string[];
16633
- order?: string | string[];
16634
- page?: string | string[];
16635
- verified?: string | string[];
16636
- } | undefined;
16821
+ header: {
16822
+ 'idempotency-key': string;
16823
+ };
16824
+ } & {
16825
+ json: {
16826
+ amount: string;
16827
+ destinationToken: string;
16828
+ recipient: string;
16829
+ refundAddress: string;
16830
+ sourceChain: string;
16831
+ sourceToken: string;
16832
+ subsidize?: boolean | undefined;
16833
+ };
16637
16834
  };
16638
16835
  } | {
16639
16836
  output: {
16640
16837
  error: {
16641
- code: "upstream_error";
16838
+ code: "api_key_invalid" | "api_key_missing";
16642
16839
  details?: readonly Response.error.Detail[] | undefined;
16643
16840
  message: string;
16644
16841
  };
16645
16842
  requestId: string;
16646
16843
  };
16647
16844
  outputFormat: "json";
16648
- status: 502;
16845
+ status: 401;
16649
16846
  input: {
16650
- query?: {
16651
- addresses?: string | string[];
16652
- chainId?: string | string[];
16653
- currency?: string | string[];
16654
- cursor?: string | string[];
16655
- include?: string | string[];
16656
- limit?: string | string[];
16657
- order?: string | string[];
16658
- page?: string | string[];
16659
- verified?: string | string[];
16660
- } | undefined;
16847
+ header: {
16848
+ 'idempotency-key': string;
16849
+ };
16850
+ } & {
16851
+ json: {
16852
+ amount: string;
16853
+ destinationToken: string;
16854
+ recipient: string;
16855
+ refundAddress: string;
16856
+ sourceChain: string;
16857
+ sourceToken: string;
16858
+ subsidize?: boolean | undefined;
16859
+ };
16661
16860
  };
16662
16861
  } | {
16663
16862
  output: {
16664
- data: {
16665
- address: `0x${string}`;
16666
- admin?: `0x${string}` | undefined;
16667
- currency: string;
16668
- createdAt?: string | undefined;
16669
- decimals: number;
16670
- holderCount?: number | undefined;
16671
- id: string;
16672
- logoUri?: string | undefined;
16673
- name: string;
16674
- quoteToken?: `0x${string}` | undefined;
16675
- symbol: string;
16676
- totalSupply?: string | undefined;
16677
- transferStats?: {
16678
- count: number;
16679
- firstAt: string | null;
16680
- lastAt: string | null;
16681
- } | undefined;
16682
- verified: boolean;
16683
- }[];
16684
- nextCursor: string | null;
16685
- };
16686
- outputFormat: "json";
16687
- status: 200;
16688
- input: {
16689
- query?: {
16690
- addresses?: string | string[];
16691
- chainId?: string | string[];
16692
- currency?: string | string[];
16693
- cursor?: string | string[];
16694
- include?: string | string[];
16695
- limit?: string | string[];
16696
- order?: string | string[];
16697
- page?: string | string[];
16698
- verified?: string | string[];
16699
- } | undefined;
16863
+ error: {
16864
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
16865
+ details?: readonly Response.error.Detail[] | undefined;
16866
+ message: string;
16867
+ };
16868
+ requestId: string;
16700
16869
  };
16701
- };
16702
- };
16703
- } & {
16704
- "/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
16705
- $get: {
16706
- output: null;
16707
- outputFormat: "body";
16708
- status: 402;
16870
+ outputFormat: "json";
16871
+ status: 403;
16709
16872
  input: {
16710
- param: {
16711
- symbol: string;
16873
+ header: {
16874
+ 'idempotency-key': string;
16712
16875
  };
16713
16876
  } & {
16714
- query?: {
16715
- chainId?: string | string[];
16716
- include?: string | string[];
16717
- } | undefined;
16877
+ json: {
16878
+ amount: string;
16879
+ destinationToken: string;
16880
+ recipient: string;
16881
+ refundAddress: string;
16882
+ sourceChain: string;
16883
+ sourceToken: string;
16884
+ subsidize?: boolean | undefined;
16885
+ };
16718
16886
  };
16719
16887
  } | {
16720
16888
  output: {
16721
16889
  error: {
16722
- code: "api_key_malformed";
16890
+ code: "payment_required" | "rate_limit_exceeded";
16723
16891
  details?: readonly Response.error.Detail[] | undefined;
16724
16892
  message: string;
16725
16893
  };
16726
16894
  requestId: string;
16727
16895
  };
16728
16896
  outputFormat: "json";
16729
- status: 400;
16897
+ status: 429;
16730
16898
  input: {
16731
- param: {
16732
- symbol: string;
16899
+ header: {
16900
+ 'idempotency-key': string;
16733
16901
  };
16734
16902
  } & {
16735
- query?: {
16736
- chainId?: string | string[];
16737
- include?: string | string[];
16738
- } | undefined;
16903
+ json: {
16904
+ amount: string;
16905
+ destinationToken: string;
16906
+ recipient: string;
16907
+ refundAddress: string;
16908
+ sourceChain: string;
16909
+ sourceToken: string;
16910
+ subsidize?: boolean | undefined;
16911
+ };
16739
16912
  };
16740
16913
  } | {
16741
16914
  output: {
16742
16915
  error: {
16743
- code: "api_key_invalid" | "api_key_missing";
16916
+ code: "upstream_error";
16744
16917
  details?: readonly Response.error.Detail[] | undefined;
16745
16918
  message: string;
16746
16919
  };
16747
16920
  requestId: string;
16748
16921
  };
16749
16922
  outputFormat: "json";
16750
- status: 401;
16923
+ status: 502;
16751
16924
  input: {
16752
- param: {
16753
- symbol: string;
16925
+ header: {
16926
+ 'idempotency-key': string;
16754
16927
  };
16755
16928
  } & {
16756
- query?: {
16757
- chainId?: string | string[];
16758
- include?: string | string[];
16759
- } | undefined;
16929
+ json: {
16930
+ amount: string;
16931
+ destinationToken: string;
16932
+ recipient: string;
16933
+ refundAddress: string;
16934
+ sourceChain: string;
16935
+ sourceToken: string;
16936
+ subsidize?: boolean | undefined;
16937
+ };
16760
16938
  };
16761
16939
  } | {
16762
16940
  output: {
16763
16941
  error: {
16764
- code: "api_key_forbidden" | "api_key_ip_forbidden";
16942
+ code: "body_invalid";
16765
16943
  details?: readonly Response.error.Detail[] | undefined;
16766
16944
  message: string;
16767
16945
  };
16768
16946
  requestId: string;
16769
16947
  };
16770
16948
  outputFormat: "json";
16771
- status: 403;
16949
+ status: 400;
16772
16950
  input: {
16773
- param: {
16774
- symbol: string;
16951
+ header: {
16952
+ 'idempotency-key': string;
16775
16953
  };
16776
16954
  } & {
16777
- query?: {
16778
- chainId?: string | string[];
16779
- include?: string | string[];
16780
- } | undefined;
16955
+ json: {
16956
+ amount: string;
16957
+ destinationToken: string;
16958
+ recipient: string;
16959
+ refundAddress: string;
16960
+ sourceChain: string;
16961
+ sourceToken: string;
16962
+ subsidize?: boolean | undefined;
16963
+ };
16781
16964
  };
16782
16965
  } | {
16783
16966
  output: {
16784
16967
  error: {
16785
- code: "payment_required" | "rate_limit_exceeded";
16968
+ code: "unauthorized";
16786
16969
  details?: readonly Response.error.Detail[] | undefined;
16787
16970
  message: string;
16788
16971
  };
16789
16972
  requestId: string;
16790
16973
  };
16791
16974
  outputFormat: "json";
16792
- status: 429;
16975
+ status: 401;
16793
16976
  input: {
16794
- param: {
16795
- symbol: string;
16977
+ header: {
16978
+ 'idempotency-key': string;
16796
16979
  };
16797
16980
  } & {
16798
- query?: {
16799
- chainId?: string | string[];
16800
- include?: string | string[];
16801
- } | undefined;
16981
+ json: {
16982
+ amount: string;
16983
+ destinationToken: string;
16984
+ recipient: string;
16985
+ refundAddress: string;
16986
+ sourceChain: string;
16987
+ sourceToken: string;
16988
+ subsidize?: boolean | undefined;
16989
+ };
16802
16990
  };
16803
16991
  } | {
16804
16992
  output: {
16805
16993
  error: {
16806
- code: "query_invalid";
16994
+ code: "idempotency_conflict";
16807
16995
  details?: readonly Response.error.Detail[] | undefined;
16808
16996
  message: string;
16809
16997
  };
16810
16998
  requestId: string;
16811
16999
  };
16812
17000
  outputFormat: "json";
16813
- status: 400;
17001
+ status: 409;
16814
17002
  input: {
16815
- param: {
16816
- symbol: string;
17003
+ header: {
17004
+ 'idempotency-key': string;
16817
17005
  };
16818
17006
  } & {
16819
- query?: {
16820
- chainId?: string | string[];
16821
- include?: string | string[];
16822
- } | undefined;
17007
+ json: {
17008
+ amount: string;
17009
+ destinationToken: string;
17010
+ recipient: string;
17011
+ refundAddress: string;
17012
+ sourceChain: string;
17013
+ sourceToken: string;
17014
+ subsidize?: boolean | undefined;
17015
+ };
16823
17016
  };
16824
17017
  } | {
16825
17018
  output: {
16826
17019
  error: {
16827
- code: "upstream_error";
17020
+ code: "idempotency_in_progress";
16828
17021
  details?: readonly Response.error.Detail[] | undefined;
16829
17022
  message: string;
16830
17023
  };
16831
17024
  requestId: string;
16832
17025
  };
16833
17026
  outputFormat: "json";
16834
- status: 502;
17027
+ status: 409;
16835
17028
  input: {
16836
- param: {
16837
- symbol: string;
17029
+ header: {
17030
+ 'idempotency-key': string;
16838
17031
  };
16839
17032
  } & {
16840
- query?: {
16841
- chainId?: string | string[];
16842
- include?: string | string[];
16843
- } | undefined;
17033
+ json: {
17034
+ amount: string;
17035
+ destinationToken: string;
17036
+ recipient: string;
17037
+ refundAddress: string;
17038
+ sourceChain: string;
17039
+ sourceToken: string;
17040
+ subsidize?: boolean | undefined;
17041
+ };
16844
17042
  };
16845
17043
  } | {
16846
17044
  output: {
16847
17045
  error: {
16848
- code: "token_not_found";
17046
+ code: "deposit_address_not_available";
16849
17047
  details?: readonly Response.error.Detail[] | undefined;
16850
17048
  message: string;
16851
17049
  };
@@ -16854,88 +17052,176 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16854
17052
  outputFormat: "json";
16855
17053
  status: 404;
16856
17054
  input: {
16857
- param: {
17055
+ header: {
17056
+ 'idempotency-key': string;
17057
+ };
17058
+ } & {
17059
+ json: {
17060
+ amount: string;
17061
+ destinationToken: string;
17062
+ recipient: string;
17063
+ refundAddress: string;
17064
+ sourceChain: string;
17065
+ sourceToken: string;
17066
+ subsidize?: boolean | undefined;
17067
+ };
17068
+ };
17069
+ } | {
17070
+ output: {
17071
+ address: string;
17072
+ createdAt: string;
17073
+ destinationChain: {
17074
+ addressFormat: "base58" | "base58check" | "hex";
17075
+ id: string;
17076
+ kind: "evm" | "solana" | "tron";
17077
+ name: string;
17078
+ };
17079
+ destinationToken: {
17080
+ address: string;
17081
+ currency: string;
17082
+ decimals: number;
17083
+ name: string;
17084
+ standard: string;
17085
+ symbol: string;
17086
+ tokenKey: string;
17087
+ verified: boolean;
17088
+ };
17089
+ id: string;
17090
+ provider: {
17091
+ id: string;
17092
+ name: string;
17093
+ };
17094
+ recipient: string;
17095
+ refundAddress: string;
17096
+ sourceChain: {
17097
+ addressFormat: "base58" | "base58check" | "hex";
17098
+ id: string;
17099
+ kind: "evm" | "solana" | "tron";
17100
+ name: string;
17101
+ };
17102
+ sourceToken: {
17103
+ address: string;
17104
+ currency: string;
17105
+ decimals: number;
17106
+ name: string;
17107
+ standard: string;
17108
+ symbol: string;
17109
+ tokenKey: string;
17110
+ verified: boolean;
17111
+ };
17112
+ status: "action-required" | "active";
17113
+ subsidize: boolean;
17114
+ updatedAt: string;
17115
+ } | {
17116
+ address: string;
17117
+ createdAt: string;
17118
+ destinationChain: {
17119
+ addressFormat: "base58" | "base58check" | "hex";
17120
+ id: string;
17121
+ kind: "evm" | "solana" | "tron";
17122
+ name: string;
17123
+ };
17124
+ destinationToken: {
17125
+ address: string;
17126
+ currency: string;
17127
+ decimals: number;
17128
+ name: string;
17129
+ standard: string;
17130
+ symbol: string;
17131
+ tokenKey: string;
17132
+ verified: boolean;
17133
+ };
17134
+ id: string;
17135
+ provider: {
17136
+ id: string;
17137
+ name: string;
17138
+ };
17139
+ recipient: string;
17140
+ refundAddress: string;
17141
+ sourceChain: {
17142
+ addressFormat: "base58" | "base58check" | "hex";
17143
+ id: string;
17144
+ kind: "evm" | "solana" | "tron";
17145
+ name: string;
17146
+ };
17147
+ sourceToken: {
17148
+ address: string;
17149
+ currency: string;
17150
+ decimals: number;
17151
+ name: string;
17152
+ standard: string;
16858
17153
  symbol: string;
17154
+ tokenKey: string;
17155
+ verified: boolean;
16859
17156
  };
16860
- } & {
16861
- query?: {
16862
- chainId?: string | string[];
16863
- include?: string | string[];
17157
+ status: "action-required" | "active";
17158
+ subsidize: boolean;
17159
+ updatedAt: string;
17160
+ destinationAmount: {
17161
+ baseUnits: string;
17162
+ currency: string;
17163
+ decimals: number;
17164
+ formatted: string;
17165
+ };
17166
+ destinationAmountMin?: {
17167
+ baseUnits: string;
17168
+ currency: string;
17169
+ decimals: number;
17170
+ formatted: string;
16864
17171
  } | undefined;
16865
- };
16866
- } | {
16867
- output: {
16868
- error: {
16869
- code: "symbol_invalid";
16870
- details?: readonly Response.error.Detail[] | undefined;
16871
- message: string;
17172
+ fees: {
17173
+ amount: {
17174
+ baseUnits: string;
17175
+ currency: string;
17176
+ decimals: number;
17177
+ formatted: string;
17178
+ };
17179
+ side: "destination" | "source";
17180
+ token: {
17181
+ address: string;
17182
+ currency: string;
17183
+ decimals: number;
17184
+ name: string;
17185
+ standard: string;
17186
+ symbol: string;
17187
+ tokenKey: string;
17188
+ verified: boolean;
17189
+ };
17190
+ type: "provider";
17191
+ }[];
17192
+ quote: {
17193
+ expiresAt?: string | undefined;
17194
+ sampledAt: string;
16872
17195
  };
16873
- requestId: string;
16874
- };
16875
- outputFormat: "json";
16876
- status: 400;
16877
- input: {
16878
- param: {
16879
- symbol: string;
17196
+ sourceAmount: {
17197
+ baseUnits: string;
17198
+ currency: string;
17199
+ decimals: number;
17200
+ formatted: string;
16880
17201
  };
16881
- } & {
16882
- query?: {
16883
- chainId?: string | string[];
16884
- include?: string | string[];
16885
- } | undefined;
16886
- };
16887
- } | {
16888
- output: {
16889
- address: `0x${string}`;
16890
- admin?: `0x${string}` | undefined;
16891
- currency: string;
16892
- createdAt?: string | undefined;
16893
- decimals: number;
16894
- holderCount?: number | undefined;
16895
- id: string;
16896
- logoUri?: string | undefined;
16897
- name: string;
16898
- quoteToken?: `0x${string}` | undefined;
16899
- symbol: string;
16900
- totalSupply?: string | undefined;
16901
- transferStats?: {
16902
- count: number;
16903
- firstAt: string | null;
16904
- lastAt: string | null;
16905
- } | undefined;
16906
- verified: boolean;
16907
17202
  };
16908
17203
  outputFormat: "json";
16909
17204
  status: 200;
16910
17205
  input: {
16911
- param: {
16912
- symbol: string;
17206
+ header: {
17207
+ 'idempotency-key': string;
16913
17208
  };
16914
17209
  } & {
16915
- query?: {
16916
- chainId?: string | string[];
16917
- include?: string | string[];
16918
- } | undefined;
17210
+ json: {
17211
+ amount: string;
17212
+ destinationToken: string;
17213
+ recipient: string;
17214
+ refundAddress: string;
17215
+ sourceChain: string;
17216
+ sourceToken: string;
17217
+ subsidize?: boolean | undefined;
17218
+ };
16919
17219
  };
16920
17220
  };
16921
17221
  };
16922
17222
  } & {
16923
- "/v1/tokens/:token": {
17223
+ "/v1/funding/deposit-addresses": {
16924
17224
  $get: {
16925
- output: null;
16926
- outputFormat: "body";
16927
- status: 402;
16928
- input: {
16929
- param: {
16930
- token: `0x${string}`;
16931
- };
16932
- } & {
16933
- query?: {
16934
- chainId?: string | string[];
16935
- include?: string | string[];
16936
- } | undefined;
16937
- };
16938
- } | {
16939
17225
  output: {
16940
17226
  error: {
16941
17227
  code: "api_key_malformed";
@@ -16947,13 +17233,9 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16947
17233
  outputFormat: "json";
16948
17234
  status: 400;
16949
17235
  input: {
16950
- param: {
16951
- token: `0x${string}`;
16952
- };
16953
- } & {
16954
17236
  query?: {
16955
- chainId?: string | string[];
16956
- include?: string | string[];
17237
+ cursor?: string | string[];
17238
+ limit?: string | string[];
16957
17239
  } | undefined;
16958
17240
  };
16959
17241
  } | {
@@ -16968,13 +17250,9 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16968
17250
  outputFormat: "json";
16969
17251
  status: 401;
16970
17252
  input: {
16971
- param: {
16972
- token: `0x${string}`;
16973
- };
16974
- } & {
16975
17253
  query?: {
16976
- chainId?: string | string[];
16977
- include?: string | string[];
17254
+ cursor?: string | string[];
17255
+ limit?: string | string[];
16978
17256
  } | undefined;
16979
17257
  };
16980
17258
  } | {
@@ -16989,13 +17267,9 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
16989
17267
  outputFormat: "json";
16990
17268
  status: 403;
16991
17269
  input: {
16992
- param: {
16993
- token: `0x${string}`;
16994
- };
16995
- } & {
16996
17270
  query?: {
16997
- chainId?: string | string[];
16998
- include?: string | string[];
17271
+ cursor?: string | string[];
17272
+ limit?: string | string[];
16999
17273
  } | undefined;
17000
17274
  };
17001
17275
  } | {
@@ -17010,13 +17284,9 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17010
17284
  outputFormat: "json";
17011
17285
  status: 429;
17012
17286
  input: {
17013
- param: {
17014
- token: `0x${string}`;
17015
- };
17016
- } & {
17017
17287
  query?: {
17018
- chainId?: string | string[];
17019
- include?: string | string[];
17288
+ cursor?: string | string[];
17289
+ limit?: string | string[];
17020
17290
  } | undefined;
17021
17291
  };
17022
17292
  } | {
@@ -17031,13 +17301,9 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17031
17301
  outputFormat: "json";
17032
17302
  status: 400;
17033
17303
  input: {
17034
- param: {
17035
- token: `0x${string}`;
17036
- };
17037
- } & {
17038
17304
  query?: {
17039
- chainId?: string | string[];
17040
- include?: string | string[];
17305
+ cursor?: string | string[];
17306
+ limit?: string | string[];
17041
17307
  } | undefined;
17042
17308
  };
17043
17309
  } | {
@@ -17052,121 +17318,91 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17052
17318
  outputFormat: "json";
17053
17319
  status: 502;
17054
17320
  input: {
17055
- param: {
17056
- token: `0x${string}`;
17057
- };
17058
- } & {
17059
- query?: {
17060
- chainId?: string | string[];
17061
- include?: string | string[];
17062
- } | undefined;
17063
- };
17064
- } | {
17065
- output: {
17066
- error: {
17067
- code: "token_not_found";
17068
- details?: readonly Response.error.Detail[] | undefined;
17069
- message: string;
17070
- };
17071
- requestId: string;
17072
- };
17073
- outputFormat: "json";
17074
- status: 404;
17075
- input: {
17076
- param: {
17077
- token: `0x${string}`;
17078
- };
17079
- } & {
17080
- query?: {
17081
- chainId?: string | string[];
17082
- include?: string | string[];
17083
- } | undefined;
17084
- };
17085
- } | {
17086
- output: {
17087
- address: `0x${string}`;
17088
- admin?: `0x${string}` | undefined;
17089
- currency: string;
17090
- createdAt?: string | undefined;
17091
- decimals: number;
17092
- holderCount?: number | undefined;
17093
- id: string;
17094
- logoUri?: string | undefined;
17095
- name: string;
17096
- quoteToken?: `0x${string}` | undefined;
17097
- symbol: string;
17098
- totalSupply?: string | undefined;
17099
- transferStats?: {
17100
- count: number;
17101
- firstAt: string | null;
17102
- lastAt: string | null;
17103
- } | undefined;
17104
- verified: boolean;
17105
- };
17106
- outputFormat: "json";
17107
- status: 200;
17108
- input: {
17109
- param: {
17110
- token: `0x${string}`;
17111
- };
17112
- } & {
17113
- query?: {
17114
- chainId?: string | string[];
17115
- include?: string | string[];
17116
- } | undefined;
17117
- };
17118
- } | {
17119
- output: {
17120
- error: {
17121
- code: "token_invalid";
17122
- details?: readonly Response.error.Detail[] | undefined;
17123
- message: string;
17124
- };
17125
- requestId: string;
17126
- };
17127
- outputFormat: "json";
17128
- status: 400;
17129
- input: {
17130
- param: {
17131
- token: `0x${string}`;
17132
- };
17133
- } & {
17134
- query?: {
17135
- chainId?: string | string[];
17136
- include?: string | string[];
17137
- } | undefined;
17138
- };
17139
- };
17140
- };
17141
- } & {
17142
- "/v1/tokens/:token/logo": {
17143
- $get: {
17144
- output: null;
17145
- outputFormat: "body";
17146
- status: 402;
17147
- input: {
17148
- param: {
17149
- token: `0x${string}`;
17321
+ query?: {
17322
+ cursor?: string | string[];
17323
+ limit?: string | string[];
17324
+ } | undefined;
17325
+ };
17326
+ } | {
17327
+ output: {
17328
+ error: {
17329
+ code: "unauthorized";
17330
+ details?: readonly Response.error.Detail[] | undefined;
17331
+ message: string;
17150
17332
  };
17151
- } & {
17333
+ requestId: string;
17334
+ };
17335
+ outputFormat: "json";
17336
+ status: 401;
17337
+ input: {
17152
17338
  query?: {
17153
- chainId?: string | string[];
17339
+ cursor?: string | string[];
17340
+ limit?: string | string[];
17154
17341
  } | undefined;
17155
17342
  };
17156
17343
  } | {
17157
- output: ArrayBuffer;
17158
- outputFormat: "body";
17344
+ output: {
17345
+ data: {
17346
+ address: string;
17347
+ createdAt: string;
17348
+ destinationChain: {
17349
+ addressFormat: "base58" | "base58check" | "hex";
17350
+ id: string;
17351
+ kind: "evm" | "solana" | "tron";
17352
+ name: string;
17353
+ };
17354
+ destinationToken: {
17355
+ address: string;
17356
+ currency: string;
17357
+ decimals: number;
17358
+ name: string;
17359
+ standard: string;
17360
+ symbol: string;
17361
+ tokenKey: string;
17362
+ verified: boolean;
17363
+ };
17364
+ id: string;
17365
+ provider: {
17366
+ id: string;
17367
+ name: string;
17368
+ };
17369
+ recipient: string;
17370
+ refundAddress: string;
17371
+ sourceChain: {
17372
+ addressFormat: "base58" | "base58check" | "hex";
17373
+ id: string;
17374
+ kind: "evm" | "solana" | "tron";
17375
+ name: string;
17376
+ };
17377
+ sourceToken: {
17378
+ address: string;
17379
+ currency: string;
17380
+ decimals: number;
17381
+ name: string;
17382
+ standard: string;
17383
+ symbol: string;
17384
+ tokenKey: string;
17385
+ verified: boolean;
17386
+ };
17387
+ status: "action-required" | "active";
17388
+ subsidize: boolean;
17389
+ updatedAt: string;
17390
+ }[];
17391
+ nextCursor: string | null;
17392
+ };
17393
+ outputFormat: "json";
17159
17394
  status: 200;
17160
17395
  input: {
17161
- param: {
17162
- token: `0x${string}`;
17163
- };
17164
- } & {
17165
17396
  query?: {
17166
- chainId?: string | string[];
17397
+ cursor?: string | string[];
17398
+ limit?: string | string[];
17167
17399
  } | undefined;
17168
17400
  };
17169
- } | {
17401
+ };
17402
+ };
17403
+ } & {
17404
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
17405
+ $get: {
17170
17406
  output: {
17171
17407
  error: {
17172
17408
  code: "api_key_malformed";
@@ -17179,12 +17415,8 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17179
17415
  status: 400;
17180
17416
  input: {
17181
17417
  param: {
17182
- token: `0x${string}`;
17418
+ id: string;
17183
17419
  };
17184
- } & {
17185
- query?: {
17186
- chainId?: string | string[];
17187
- } | undefined;
17188
17420
  };
17189
17421
  } | {
17190
17422
  output: {
@@ -17199,12 +17431,8 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17199
17431
  status: 401;
17200
17432
  input: {
17201
17433
  param: {
17202
- token: `0x${string}`;
17434
+ id: string;
17203
17435
  };
17204
- } & {
17205
- query?: {
17206
- chainId?: string | string[];
17207
- } | undefined;
17208
17436
  };
17209
17437
  } | {
17210
17438
  output: {
@@ -17219,12 +17447,8 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17219
17447
  status: 403;
17220
17448
  input: {
17221
17449
  param: {
17222
- token: `0x${string}`;
17450
+ id: string;
17223
17451
  };
17224
- } & {
17225
- query?: {
17226
- chainId?: string | string[];
17227
- } | undefined;
17228
17452
  };
17229
17453
  } | {
17230
17454
  output: {
@@ -17239,57 +17463,99 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17239
17463
  status: 429;
17240
17464
  input: {
17241
17465
  param: {
17242
- token: `0x${string}`;
17466
+ id: string;
17243
17467
  };
17244
- } & {
17245
- query?: {
17246
- chainId?: string | string[];
17247
- } | undefined;
17248
17468
  };
17249
17469
  } | {
17250
17470
  output: {
17251
17471
  error: {
17252
- code: "query_invalid";
17472
+ code: "upstream_error";
17253
17473
  details?: readonly Response.error.Detail[] | undefined;
17254
17474
  message: string;
17255
17475
  };
17256
17476
  requestId: string;
17257
17477
  };
17258
17478
  outputFormat: "json";
17259
- status: 400;
17479
+ status: 502;
17260
17480
  input: {
17261
17481
  param: {
17262
- token: `0x${string}`;
17482
+ id: string;
17263
17483
  };
17264
- } & {
17265
- query?: {
17266
- chainId?: string | string[];
17267
- } | undefined;
17268
17484
  };
17269
17485
  } | {
17270
17486
  output: {
17271
17487
  error: {
17272
- code: "upstream_error";
17488
+ code: "unauthorized";
17273
17489
  details?: readonly Response.error.Detail[] | undefined;
17274
17490
  message: string;
17275
17491
  };
17276
17492
  requestId: string;
17277
17493
  };
17278
17494
  outputFormat: "json";
17279
- status: 502;
17495
+ status: 401;
17280
17496
  input: {
17281
17497
  param: {
17282
- token: `0x${string}`;
17498
+ id: string;
17499
+ };
17500
+ };
17501
+ } | {
17502
+ output: {
17503
+ address: string;
17504
+ createdAt: string;
17505
+ destinationChain: {
17506
+ addressFormat: "base58" | "base58check" | "hex";
17507
+ id: string;
17508
+ kind: "evm" | "solana" | "tron";
17509
+ name: string;
17510
+ };
17511
+ destinationToken: {
17512
+ address: string;
17513
+ currency: string;
17514
+ decimals: number;
17515
+ name: string;
17516
+ standard: string;
17517
+ symbol: string;
17518
+ tokenKey: string;
17519
+ verified: boolean;
17520
+ };
17521
+ id: string;
17522
+ provider: {
17523
+ id: string;
17524
+ name: string;
17525
+ };
17526
+ recipient: string;
17527
+ refundAddress: string;
17528
+ sourceChain: {
17529
+ addressFormat: "base58" | "base58check" | "hex";
17530
+ id: string;
17531
+ kind: "evm" | "solana" | "tron";
17532
+ name: string;
17533
+ };
17534
+ sourceToken: {
17535
+ address: string;
17536
+ currency: string;
17537
+ decimals: number;
17538
+ name: string;
17539
+ standard: string;
17540
+ symbol: string;
17541
+ tokenKey: string;
17542
+ verified: boolean;
17543
+ };
17544
+ status: "action-required" | "active";
17545
+ subsidize: boolean;
17546
+ updatedAt: string;
17547
+ };
17548
+ outputFormat: "json";
17549
+ status: 200;
17550
+ input: {
17551
+ param: {
17552
+ id: string;
17283
17553
  };
17284
- } & {
17285
- query?: {
17286
- chainId?: string | string[];
17287
- } | undefined;
17288
17554
  };
17289
17555
  } | {
17290
17556
  output: {
17291
17557
  error: {
17292
- code: "token_invalid";
17558
+ code: "param_invalid";
17293
17559
  details?: readonly Response.error.Detail[] | undefined;
17294
17560
  message: string;
17295
17561
  };
@@ -17299,17 +17565,13 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17299
17565
  status: 400;
17300
17566
  input: {
17301
17567
  param: {
17302
- token: `0x${string}`;
17568
+ id: string;
17303
17569
  };
17304
- } & {
17305
- query?: {
17306
- chainId?: string | string[];
17307
- } | undefined;
17308
17570
  };
17309
17571
  } | {
17310
17572
  output: {
17311
17573
  error: {
17312
- code: "token_logo_not_found";
17574
+ code: "funding_deposit_address_not_found";
17313
17575
  details?: readonly Response.error.Detail[] | undefined;
17314
17576
  message: string;
17315
17577
  };
@@ -17319,33 +17581,21 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17319
17581
  status: 404;
17320
17582
  input: {
17321
17583
  param: {
17322
- token: `0x${string}`;
17584
+ id: string;
17323
17585
  };
17324
- } & {
17325
- query?: {
17326
- chainId?: string | string[];
17327
- } | undefined;
17328
17586
  };
17329
17587
  };
17330
17588
  };
17331
17589
  } & {
17332
- "/v1/tokens/:token/holders": {
17333
- $get: {
17590
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/reconcile": {
17591
+ $post: {
17334
17592
  output: null;
17335
17593
  outputFormat: "body";
17336
- status: 402;
17594
+ status: 202;
17337
17595
  input: {
17338
17596
  param: {
17339
- token: `0x${string}`;
17597
+ id: string;
17340
17598
  };
17341
- } & {
17342
- query?: {
17343
- chainId?: string | string[];
17344
- cursor?: string | string[];
17345
- include?: string | string[];
17346
- limit?: string | string[];
17347
- page?: string | string[];
17348
- } | undefined;
17349
17599
  };
17350
17600
  } | {
17351
17601
  output: {
@@ -17360,16 +17610,8 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17360
17610
  status: 400;
17361
17611
  input: {
17362
17612
  param: {
17363
- token: `0x${string}`;
17613
+ id: string;
17364
17614
  };
17365
- } & {
17366
- query?: {
17367
- chainId?: string | string[];
17368
- cursor?: string | string[];
17369
- include?: string | string[];
17370
- limit?: string | string[];
17371
- page?: string | string[];
17372
- } | undefined;
17373
17615
  };
17374
17616
  } | {
17375
17617
  output: {
@@ -17381,72 +17623,80 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17381
17623
  requestId: string;
17382
17624
  };
17383
17625
  outputFormat: "json";
17384
- status: 401;
17626
+ status: 401;
17627
+ input: {
17628
+ param: {
17629
+ id: string;
17630
+ };
17631
+ };
17632
+ } | {
17633
+ output: {
17634
+ error: {
17635
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
17636
+ details?: readonly Response.error.Detail[] | undefined;
17637
+ message: string;
17638
+ };
17639
+ requestId: string;
17640
+ };
17641
+ outputFormat: "json";
17642
+ status: 403;
17643
+ input: {
17644
+ param: {
17645
+ id: string;
17646
+ };
17647
+ };
17648
+ } | {
17649
+ output: {
17650
+ error: {
17651
+ code: "payment_required" | "rate_limit_exceeded";
17652
+ details?: readonly Response.error.Detail[] | undefined;
17653
+ message: string;
17654
+ };
17655
+ requestId: string;
17656
+ };
17657
+ outputFormat: "json";
17658
+ status: 429;
17385
17659
  input: {
17386
17660
  param: {
17387
- token: `0x${string}`;
17661
+ id: string;
17388
17662
  };
17389
- } & {
17390
- query?: {
17391
- chainId?: string | string[];
17392
- cursor?: string | string[];
17393
- include?: string | string[];
17394
- limit?: string | string[];
17395
- page?: string | string[];
17396
- } | undefined;
17397
17663
  };
17398
17664
  } | {
17399
17665
  output: {
17400
17666
  error: {
17401
- code: "api_key_forbidden" | "api_key_ip_forbidden";
17667
+ code: "upstream_error";
17402
17668
  details?: readonly Response.error.Detail[] | undefined;
17403
17669
  message: string;
17404
17670
  };
17405
17671
  requestId: string;
17406
17672
  };
17407
17673
  outputFormat: "json";
17408
- status: 403;
17674
+ status: 502;
17409
17675
  input: {
17410
17676
  param: {
17411
- token: `0x${string}`;
17677
+ id: string;
17412
17678
  };
17413
- } & {
17414
- query?: {
17415
- chainId?: string | string[];
17416
- cursor?: string | string[];
17417
- include?: string | string[];
17418
- limit?: string | string[];
17419
- page?: string | string[];
17420
- } | undefined;
17421
17679
  };
17422
17680
  } | {
17423
17681
  output: {
17424
17682
  error: {
17425
- code: "payment_required" | "rate_limit_exceeded";
17683
+ code: "unauthorized";
17426
17684
  details?: readonly Response.error.Detail[] | undefined;
17427
17685
  message: string;
17428
17686
  };
17429
17687
  requestId: string;
17430
17688
  };
17431
17689
  outputFormat: "json";
17432
- status: 429;
17690
+ status: 401;
17433
17691
  input: {
17434
17692
  param: {
17435
- token: `0x${string}`;
17693
+ id: string;
17436
17694
  };
17437
- } & {
17438
- query?: {
17439
- chainId?: string | string[];
17440
- cursor?: string | string[];
17441
- include?: string | string[];
17442
- limit?: string | string[];
17443
- page?: string | string[];
17444
- } | undefined;
17445
17695
  };
17446
17696
  } | {
17447
17697
  output: {
17448
17698
  error: {
17449
- code: "query_invalid";
17699
+ code: "param_invalid";
17450
17700
  details?: readonly Response.error.Detail[] | undefined;
17451
17701
  message: string;
17452
17702
  };
@@ -17456,132 +17706,62 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17456
17706
  status: 400;
17457
17707
  input: {
17458
17708
  param: {
17459
- token: `0x${string}`;
17709
+ id: string;
17460
17710
  };
17461
- } & {
17462
- query?: {
17463
- chainId?: string | string[];
17464
- cursor?: string | string[];
17465
- include?: string | string[];
17466
- limit?: string | string[];
17467
- page?: string | string[];
17468
- } | undefined;
17469
17711
  };
17470
17712
  } | {
17471
17713
  output: {
17472
17714
  error: {
17473
- code: "upstream_error";
17715
+ code: "funding_deposit_address_not_found";
17474
17716
  details?: readonly Response.error.Detail[] | undefined;
17475
17717
  message: string;
17476
17718
  };
17477
17719
  requestId: string;
17478
17720
  };
17479
17721
  outputFormat: "json";
17480
- status: 502;
17722
+ status: 404;
17481
17723
  input: {
17482
17724
  param: {
17483
- token: `0x${string}`;
17725
+ id: string;
17484
17726
  };
17485
- } & {
17486
- query?: {
17487
- chainId?: string | string[];
17488
- cursor?: string | string[];
17489
- include?: string | string[];
17490
- limit?: string | string[];
17491
- page?: string | string[];
17492
- } | undefined;
17493
17727
  };
17494
17728
  } | {
17495
17729
  output: {
17496
17730
  error: {
17497
- code: "token_invalid";
17731
+ code: "funding_deposit_address_not_active";
17498
17732
  details?: readonly Response.error.Detail[] | undefined;
17499
17733
  message: string;
17500
17734
  };
17501
17735
  requestId: string;
17502
17736
  };
17503
17737
  outputFormat: "json";
17504
- status: 400;
17738
+ status: 409;
17505
17739
  input: {
17506
17740
  param: {
17507
- token: `0x${string}`;
17741
+ id: string;
17508
17742
  };
17509
- } & {
17510
- query?: {
17511
- chainId?: string | string[];
17512
- cursor?: string | string[];
17513
- include?: string | string[];
17514
- limit?: string | string[];
17515
- page?: string | string[];
17516
- } | undefined;
17517
17743
  };
17518
17744
  } | {
17519
17745
  output: {
17520
- data: {
17521
- address: `0x${string}`;
17522
- balance: string;
17523
- id: string;
17524
- }[];
17525
- meta?: {
17526
- totalCountCapped?: boolean | undefined;
17527
- token?: {
17528
- address: `0x${string}`;
17529
- currency: string;
17530
- decimals: number;
17531
- id: string;
17532
- logoUri?: string | undefined;
17533
- name: string;
17534
- symbol: string;
17535
- verified: boolean;
17536
- } | undefined;
17537
- totalCount?: number | undefined;
17538
- } | undefined;
17539
- nextCursor: string | null;
17746
+ error: {
17747
+ code: "not_implemented";
17748
+ details?: readonly Response.error.Detail[] | undefined;
17749
+ message: string;
17750
+ };
17751
+ requestId: string;
17540
17752
  };
17541
17753
  outputFormat: "json";
17542
- status: 200;
17754
+ status: 501;
17543
17755
  input: {
17544
17756
  param: {
17545
- token: `0x${string}`;
17757
+ id: string;
17546
17758
  };
17547
- } & {
17548
- query?: {
17549
- chainId?: string | string[];
17550
- cursor?: string | string[];
17551
- include?: string | string[];
17552
- limit?: string | string[];
17553
- page?: string | string[];
17554
- } | undefined;
17555
17759
  };
17556
17760
  };
17557
17761
  };
17558
17762
  } & {
17559
- "/v1/tokens/:token/transactions": {
17763
+ "/v1/funding/deposits": {
17560
17764
  $get: {
17561
- output: null;
17562
- outputFormat: "body";
17563
- status: 402;
17564
- input: {
17565
- param: {
17566
- token: `0x${string}`;
17567
- };
17568
- } & {
17569
- query?: {
17570
- 'blockNumber.from'?: string | string[];
17571
- 'blockNumber.to'?: string | string[];
17572
- chainId?: string | string[];
17573
- cursor?: string | string[];
17574
- feePayer?: string | string[];
17575
- feeToken?: string | string[];
17576
- include?: string | string[];
17577
- limit?: string | string[];
17578
- order?: string | string[];
17579
- page?: string | string[];
17580
- 'timestamp.from'?: string | string[];
17581
- 'timestamp.to'?: string | string[];
17582
- } | undefined;
17583
- };
17584
- } | {
17585
17765
  output: {
17586
17766
  error: {
17587
17767
  code: "api_key_malformed";
@@ -17593,23 +17773,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17593
17773
  outputFormat: "json";
17594
17774
  status: 400;
17595
17775
  input: {
17596
- param: {
17597
- token: `0x${string}`;
17598
- };
17599
- } & {
17600
17776
  query?: {
17601
- 'blockNumber.from'?: string | string[];
17602
- 'blockNumber.to'?: string | string[];
17603
- chainId?: string | string[];
17777
+ depositAddress?: string | string[];
17604
17778
  cursor?: string | string[];
17605
- feePayer?: string | string[];
17606
- feeToken?: string | string[];
17779
+ destinationToken?: string | string[];
17607
17780
  include?: string | string[];
17608
17781
  limit?: string | string[];
17609
- order?: string | string[];
17610
- page?: string | string[];
17611
- 'timestamp.from'?: string | string[];
17612
- 'timestamp.to'?: string | string[];
17782
+ provider?: string | string[];
17783
+ recipient?: string | string[];
17784
+ sourceChain?: string | string[];
17785
+ sourceToken?: string | string[];
17786
+ status?: string | string[];
17613
17787
  } | undefined;
17614
17788
  };
17615
17789
  } | {
@@ -17624,23 +17798,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17624
17798
  outputFormat: "json";
17625
17799
  status: 401;
17626
17800
  input: {
17627
- param: {
17628
- token: `0x${string}`;
17629
- };
17630
- } & {
17631
17801
  query?: {
17632
- 'blockNumber.from'?: string | string[];
17633
- 'blockNumber.to'?: string | string[];
17634
- chainId?: string | string[];
17802
+ depositAddress?: string | string[];
17635
17803
  cursor?: string | string[];
17636
- feePayer?: string | string[];
17637
- feeToken?: string | string[];
17804
+ destinationToken?: string | string[];
17638
17805
  include?: string | string[];
17639
17806
  limit?: string | string[];
17640
- order?: string | string[];
17641
- page?: string | string[];
17642
- 'timestamp.from'?: string | string[];
17643
- 'timestamp.to'?: string | string[];
17807
+ provider?: string | string[];
17808
+ recipient?: string | string[];
17809
+ sourceChain?: string | string[];
17810
+ sourceToken?: string | string[];
17811
+ status?: string | string[];
17644
17812
  } | undefined;
17645
17813
  };
17646
17814
  } | {
@@ -17655,23 +17823,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17655
17823
  outputFormat: "json";
17656
17824
  status: 403;
17657
17825
  input: {
17658
- param: {
17659
- token: `0x${string}`;
17660
- };
17661
- } & {
17662
17826
  query?: {
17663
- 'blockNumber.from'?: string | string[];
17664
- 'blockNumber.to'?: string | string[];
17665
- chainId?: string | string[];
17827
+ depositAddress?: string | string[];
17666
17828
  cursor?: string | string[];
17667
- feePayer?: string | string[];
17668
- feeToken?: string | string[];
17829
+ destinationToken?: string | string[];
17669
17830
  include?: string | string[];
17670
17831
  limit?: string | string[];
17671
- order?: string | string[];
17672
- page?: string | string[];
17673
- 'timestamp.from'?: string | string[];
17674
- 'timestamp.to'?: string | string[];
17832
+ provider?: string | string[];
17833
+ recipient?: string | string[];
17834
+ sourceChain?: string | string[];
17835
+ sourceToken?: string | string[];
17836
+ status?: string | string[];
17675
17837
  } | undefined;
17676
17838
  };
17677
17839
  } | {
@@ -17686,23 +17848,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17686
17848
  outputFormat: "json";
17687
17849
  status: 429;
17688
17850
  input: {
17689
- param: {
17690
- token: `0x${string}`;
17691
- };
17692
- } & {
17693
17851
  query?: {
17694
- 'blockNumber.from'?: string | string[];
17695
- 'blockNumber.to'?: string | string[];
17696
- chainId?: string | string[];
17852
+ depositAddress?: string | string[];
17697
17853
  cursor?: string | string[];
17698
- feePayer?: string | string[];
17699
- feeToken?: string | string[];
17854
+ destinationToken?: string | string[];
17700
17855
  include?: string | string[];
17701
17856
  limit?: string | string[];
17702
- order?: string | string[];
17703
- page?: string | string[];
17704
- 'timestamp.from'?: string | string[];
17705
- 'timestamp.to'?: string | string[];
17857
+ provider?: string | string[];
17858
+ recipient?: string | string[];
17859
+ sourceChain?: string | string[];
17860
+ sourceToken?: string | string[];
17861
+ status?: string | string[];
17706
17862
  } | undefined;
17707
17863
  };
17708
17864
  } | {
@@ -17717,23 +17873,17 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17717
17873
  outputFormat: "json";
17718
17874
  status: 400;
17719
17875
  input: {
17720
- param: {
17721
- token: `0x${string}`;
17722
- };
17723
- } & {
17724
17876
  query?: {
17725
- 'blockNumber.from'?: string | string[];
17726
- 'blockNumber.to'?: string | string[];
17727
- chainId?: string | string[];
17877
+ depositAddress?: string | string[];
17728
17878
  cursor?: string | string[];
17729
- feePayer?: string | string[];
17730
- feeToken?: string | string[];
17879
+ destinationToken?: string | string[];
17731
17880
  include?: string | string[];
17732
17881
  limit?: string | string[];
17733
- order?: string | string[];
17734
- page?: string | string[];
17735
- 'timestamp.from'?: string | string[];
17736
- 'timestamp.to'?: string | string[];
17882
+ provider?: string | string[];
17883
+ recipient?: string | string[];
17884
+ sourceChain?: string | string[];
17885
+ sourceToken?: string | string[];
17886
+ status?: string | string[];
17737
17887
  } | undefined;
17738
17888
  };
17739
17889
  } | {
@@ -17748,282 +17898,365 @@ declare function compose(options: create.Options): import("hono/hono-base").Hono
17748
17898
  outputFormat: "json";
17749
17899
  status: 502;
17750
17900
  input: {
17751
- param: {
17752
- token: `0x${string}`;
17753
- };
17754
- } & {
17755
17901
  query?: {
17756
- 'blockNumber.from'?: string | string[];
17757
- 'blockNumber.to'?: string | string[];
17758
- chainId?: string | string[];
17902
+ depositAddress?: string | string[];
17759
17903
  cursor?: string | string[];
17760
- feePayer?: string | string[];
17761
- feeToken?: string | string[];
17904
+ destinationToken?: string | string[];
17762
17905
  include?: string | string[];
17763
17906
  limit?: string | string[];
17764
- order?: string | string[];
17765
- page?: string | string[];
17766
- 'timestamp.from'?: string | string[];
17767
- 'timestamp.to'?: string | string[];
17907
+ provider?: string | string[];
17908
+ recipient?: string | string[];
17909
+ sourceChain?: string | string[];
17910
+ sourceToken?: string | string[];
17911
+ status?: string | string[];
17768
17912
  } | undefined;
17769
17913
  };
17770
17914
  } | {
17771
17915
  output: {
17772
17916
  error: {
17773
- code: "token_invalid";
17917
+ code: "unauthorized";
17774
17918
  details?: readonly Response.error.Detail[] | undefined;
17775
17919
  message: string;
17776
17920
  };
17777
17921
  requestId: string;
17778
17922
  };
17779
17923
  outputFormat: "json";
17780
- status: 400;
17924
+ status: 401;
17781
17925
  input: {
17782
- param: {
17783
- token: `0x${string}`;
17784
- };
17785
- } & {
17786
17926
  query?: {
17787
- 'blockNumber.from'?: string | string[];
17788
- 'blockNumber.to'?: string | string[];
17789
- chainId?: string | string[];
17927
+ depositAddress?: string | string[];
17790
17928
  cursor?: string | string[];
17791
- feePayer?: string | string[];
17792
- feeToken?: string | string[];
17929
+ destinationToken?: string | string[];
17793
17930
  include?: string | string[];
17794
17931
  limit?: string | string[];
17795
- order?: string | string[];
17796
- page?: string | string[];
17797
- 'timestamp.from'?: string | string[];
17798
- 'timestamp.to'?: string | string[];
17932
+ provider?: string | string[];
17933
+ recipient?: string | string[];
17934
+ sourceChain?: string | string[];
17935
+ sourceToken?: string | string[];
17936
+ status?: string | string[];
17799
17937
  } | undefined;
17800
17938
  };
17801
17939
  } | {
17802
17940
  output: {
17803
17941
  data: {
17804
- blockHash: `0x${string}` | null;
17805
- blockNumber: number | null;
17806
- calls?: {
17807
- data?: `0x${string}` | undefined;
17808
- to: `0x${string}` | null;
17809
- }[] | undefined;
17810
- chainId?: number | undefined;
17811
- feeToken?: {
17812
- address: `0x${string}`;
17942
+ createdAt: string;
17943
+ depositAddressId: string;
17944
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
17945
+ destinationAmount?: {
17946
+ baseUnits: string;
17947
+ currency: string;
17948
+ decimals: number;
17949
+ formatted: string;
17950
+ } | undefined;
17951
+ destinationAmountRequired?: {
17952
+ baseUnits: string;
17953
+ currency: string;
17954
+ decimals: number;
17955
+ formatted: string;
17956
+ } | undefined;
17957
+ destinationChain: {
17958
+ addressFormat: "base58" | "base58check" | "hex";
17959
+ id: string;
17960
+ kind: "evm" | "solana" | "tron";
17961
+ name: string;
17962
+ };
17963
+ destinationToken: {
17964
+ address: string;
17813
17965
  currency: string;
17814
17966
  decimals: number;
17815
- logoUri?: string | undefined;
17816
17967
  name: string;
17968
+ standard: string;
17817
17969
  symbol: string;
17818
- verified?: boolean | undefined;
17970
+ tokenKey: string;
17971
+ verified: boolean;
17972
+ };
17973
+ destinationTransactionHashes?: readonly string[] | undefined;
17974
+ id: string;
17975
+ provider: {
17976
+ id: string;
17977
+ name: string;
17978
+ };
17979
+ recipient: string;
17980
+ refundAddress: string;
17981
+ refundAmount?: {
17982
+ baseUnits: string;
17983
+ currency: string;
17984
+ decimals: number;
17985
+ formatted: string;
17819
17986
  } | undefined;
17820
- gas: number;
17821
- gasPrice?: string | undefined;
17822
- hash: `0x${string}`;
17823
- id: `0x${string}`;
17824
- input?: `0x${string}` | undefined;
17825
- maxFeePerGas?: string | undefined;
17826
- maxPriorityFeePerGas?: string | undefined;
17827
- meta: {
17828
- receipt?: {
17829
- blockHash: `0x${string}` | null;
17830
- blockNumber: number;
17831
- contractAddress: `0x${string}` | null;
17832
- cumulativeGasUsed: number;
17833
- effectiveGasPrice: string;
17834
- feeAmount: {
17835
- baseUnits: string;
17836
- currency: string;
17837
- decimals: number;
17838
- formatted: string;
17839
- valuation?: {
17840
- amount: string;
17841
- currency: string;
17842
- } | null | undefined;
17843
- };
17844
- feePayer?: `0x${string}` | undefined;
17845
- feeToken?: {
17846
- address: `0x${string}`;
17847
- currency: string;
17848
- decimals: number;
17849
- logoUri?: string | undefined;
17850
- name: string;
17851
- symbol: string;
17852
- verified?: boolean | undefined;
17853
- } | undefined;
17854
- gasUsed: number;
17855
- id: `0x${string}`;
17856
- logs: {
17857
- [x: string]: import("hono/utils/types").JSONValue;
17858
- address: `0x${string}`;
17859
- blockHash: `0x${string}` | null;
17860
- blockNumber: `0x${string}` | null;
17861
- blockTimestamp?: `0x${string}` | null | undefined;
17862
- data: `0x${string}`;
17863
- logIndex: `0x${string}` | null;
17864
- removed: boolean;
17865
- topics: `0x${string}`[];
17866
- transactionHash: `0x${string}` | null;
17867
- transactionIndex: `0x${string}` | null;
17868
- }[];
17869
- meta: {
17870
- valuation?: {
17871
- asOf: string;
17872
- basis: "nominal";
17873
- source: string;
17874
- } | undefined;
17875
- rpc: {
17876
- [x: string]: import("hono/utils/types").JSONValue;
17877
- blobGasPrice?: `0x${string}` | undefined;
17878
- blobGasUsed?: `0x${string}` | undefined;
17879
- blockHash: `0x${string}` | null;
17880
- blockNumber: `0x${string}`;
17881
- blockTimestamp?: `0x${string}` | null | undefined;
17882
- contractAddress?: `0x${string}` | null | undefined;
17883
- cumulativeGasUsed: `0x${string}`;
17884
- effectiveGasPrice: `0x${string}`;
17885
- feePayer?: `0x${string}` | null | undefined;
17886
- feeToken?: `0x${string}` | null | undefined;
17887
- from: `0x${string}`;
17888
- gasUsed: `0x${string}`;
17889
- logs: {
17890
- [x: string]: import("hono/utils/types").JSONValue;
17891
- address: `0x${string}`;
17892
- blockHash: `0x${string}` | null;
17893
- blockNumber: `0x${string}` | null;
17894
- blockTimestamp?: `0x${string}` | null | undefined;
17895
- data: `0x${string}`;
17896
- logIndex: `0x${string}` | null;
17897
- removed: boolean;
17898
- topics: `0x${string}`[];
17899
- transactionHash: `0x${string}` | null;
17900
- transactionIndex: `0x${string}` | null;
17901
- }[];
17902
- logsBloom?: `0x${string}` | undefined;
17903
- root?: `0x${string}` | undefined;
17904
- status: `0x${string}`;
17905
- to: `0x${string}` | null;
17906
- transactionHash: `0x${string}`;
17907
- transactionIndex: `0x${string}`;
17908
- type: `0x${string}`;
17909
- };
17910
- };
17911
- recipient: `0x${string}` | null;
17912
- sender: `0x${string}`;
17913
- status: "reverted" | "success";
17914
- timestamp: string | null;
17915
- transactionHash: `0x${string}`;
17916
- transactionIndex: number;
17917
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
17918
- } | undefined;
17919
- rpc: {
17920
- [x: string]: import("hono/utils/types").JSONValue;
17921
- aaAuthorizationList?: {
17922
- [x: string]: import("hono/utils/types").JSONValue;
17923
- }[] | undefined;
17924
- accessList?: {
17925
- [x: string]: import("hono/utils/types").JSONValue;
17926
- address: `0x${string}`;
17927
- storageKeys: `0x${string}`[];
17928
- }[] | undefined;
17929
- authorizationList?: {
17930
- [x: string]: import("hono/utils/types").JSONValue;
17931
- }[] | undefined;
17932
- blobVersionedHashes?: `0x${string}`[] | undefined;
17933
- blockHash: `0x${string}` | null;
17934
- blockNumber: `0x${string}` | null;
17935
- blockTimestamp?: `0x${string}` | null | undefined;
17936
- calls?: {
17937
- [x: string]: import("hono/utils/types").JSONValue;
17938
- data?: `0x${string}` | null | undefined;
17939
- input?: `0x${string}` | null | undefined;
17940
- to?: `0x${string}` | null | undefined;
17941
- value?: `0x${string}` | null | undefined;
17942
- }[] | null | undefined;
17943
- chainId?: `0x${string}` | undefined;
17944
- feePayer?: `0x${string}` | undefined;
17945
- feePayerSignature?: {
17946
- [x: string]: import("hono/utils/types").JSONValue;
17947
- type?: string | undefined;
17948
- } | null | undefined;
17949
- feeToken?: `0x${string}` | null | undefined;
17950
- from: `0x${string}`;
17951
- gas: `0x${string}`;
17952
- gasPrice?: `0x${string}` | undefined;
17953
- hash: `0x${string}`;
17954
- input?: `0x${string}` | undefined;
17955
- keyAuthorization?: {
17956
- [x: string]: import("hono/utils/types").JSONValue;
17957
- } | null | undefined;
17958
- maxFeePerBlobGas?: `0x${string}` | undefined;
17959
- maxFeePerGas?: `0x${string}` | undefined;
17960
- maxPriorityFeePerGas?: `0x${string}` | undefined;
17961
- nonce: `0x${string}`;
17962
- nonceKey?: `0x${string}` | undefined;
17963
- r?: `0x${string}` | undefined;
17964
- s?: `0x${string}` | undefined;
17965
- signature?: {
17966
- [x: string]: import("hono/utils/types").JSONValue;
17967
- type?: string | undefined;
17968
- } | undefined;
17969
- to?: `0x${string}` | null | undefined;
17970
- transactionIndex: `0x${string}` | null;
17971
- type: `0x${string}`;
17972
- v?: `0x${string}` | undefined;
17973
- validAfter?: `0x${string}` | null | undefined;
17974
- validBefore?: `0x${string}` | null | undefined;
17975
- value?: `0x${string}` | undefined;
17976
- yParity?: `0x${string}` | undefined;
17977
- };
17987
+ refundTransactionHashes?: readonly string[] | undefined;
17988
+ sender?: string | undefined;
17989
+ sourceAmount?: {
17990
+ baseUnits: string;
17991
+ currency: string;
17992
+ decimals: number;
17993
+ formatted: string;
17994
+ } | undefined;
17995
+ sourceChain: {
17996
+ addressFormat: "base58" | "base58check" | "hex";
17997
+ id: string;
17998
+ kind: "evm" | "solana" | "tron";
17999
+ name: string;
17978
18000
  };
17979
- nonce: number;
17980
- nonceKey?: `0x${string}` | undefined;
17981
- recipient: `0x${string}` | null;
17982
- sender: `0x${string}`;
17983
- timestamp: string | null;
17984
- transactionIndex: number | null;
17985
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
17986
- validAfter?: string | null | undefined;
17987
- validBefore?: string | null | undefined;
17988
- value: string;
17989
- }[];
17990
- meta?: {
17991
- totalCountCapped?: boolean | undefined;
17992
- token?: {
17993
- address: `0x${string}`;
18001
+ sourceToken: {
18002
+ address: string;
17994
18003
  currency: string;
17995
18004
  decimals: number;
17996
- id: string;
17997
- logoUri?: string | undefined;
17998
18005
  name: string;
18006
+ standard: string;
17999
18007
  symbol: string;
18008
+ tokenKey: string;
18000
18009
  verified: boolean;
18010
+ };
18011
+ sourceTransactionHashes: readonly string[];
18012
+ sourceTransferIndex?: number | undefined;
18013
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
18014
+ statusReason?: {
18015
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
18016
+ message: string;
18001
18017
  } | undefined;
18002
- totalCount?: number | undefined;
18018
+ updatedAt: string;
18019
+ }[];
18020
+ meta?: {
18021
+ totalCountCapped: boolean;
18022
+ totalCount: number;
18003
18023
  } | undefined;
18004
18024
  nextCursor: string | null;
18005
18025
  };
18006
18026
  outputFormat: "json";
18007
18027
  status: 200;
18008
18028
  input: {
18009
- param: {
18010
- token: `0x${string}`;
18011
- };
18012
- } & {
18013
18029
  query?: {
18014
- 'blockNumber.from'?: string | string[];
18015
- 'blockNumber.to'?: string | string[];
18016
- chainId?: string | string[];
18030
+ depositAddress?: string | string[];
18017
18031
  cursor?: string | string[];
18018
- feePayer?: string | string[];
18019
- feeToken?: string | string[];
18032
+ destinationToken?: string | string[];
18020
18033
  include?: string | string[];
18021
18034
  limit?: string | string[];
18022
- order?: string | string[];
18023
- page?: string | string[];
18024
- 'timestamp.from'?: string | string[];
18025
- 'timestamp.to'?: string | string[];
18035
+ provider?: string | string[];
18036
+ recipient?: string | string[];
18037
+ sourceChain?: string | string[];
18038
+ sourceToken?: string | string[];
18039
+ status?: string | string[];
18040
+ } | undefined;
18041
+ };
18042
+ };
18043
+ };
18044
+ } & {
18045
+ "/v1/funding/deposits/:id{fdp_[A-Za-z0-9_-]+}": {
18046
+ $get: {
18047
+ output: {
18048
+ error: {
18049
+ code: "api_key_malformed";
18050
+ details?: readonly Response.error.Detail[] | undefined;
18051
+ message: string;
18052
+ };
18053
+ requestId: string;
18054
+ };
18055
+ outputFormat: "json";
18056
+ status: 400;
18057
+ input: {
18058
+ param: {
18059
+ id: string;
18060
+ };
18061
+ };
18062
+ } | {
18063
+ output: {
18064
+ error: {
18065
+ code: "api_key_invalid" | "api_key_missing";
18066
+ details?: readonly Response.error.Detail[] | undefined;
18067
+ message: string;
18068
+ };
18069
+ requestId: string;
18070
+ };
18071
+ outputFormat: "json";
18072
+ status: 401;
18073
+ input: {
18074
+ param: {
18075
+ id: string;
18076
+ };
18077
+ };
18078
+ } | {
18079
+ output: {
18080
+ error: {
18081
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
18082
+ details?: readonly Response.error.Detail[] | undefined;
18083
+ message: string;
18084
+ };
18085
+ requestId: string;
18086
+ };
18087
+ outputFormat: "json";
18088
+ status: 403;
18089
+ input: {
18090
+ param: {
18091
+ id: string;
18092
+ };
18093
+ };
18094
+ } | {
18095
+ output: {
18096
+ error: {
18097
+ code: "payment_required" | "rate_limit_exceeded";
18098
+ details?: readonly Response.error.Detail[] | undefined;
18099
+ message: string;
18100
+ };
18101
+ requestId: string;
18102
+ };
18103
+ outputFormat: "json";
18104
+ status: 429;
18105
+ input: {
18106
+ param: {
18107
+ id: string;
18108
+ };
18109
+ };
18110
+ } | {
18111
+ output: {
18112
+ error: {
18113
+ code: "upstream_error";
18114
+ details?: readonly Response.error.Detail[] | undefined;
18115
+ message: string;
18116
+ };
18117
+ requestId: string;
18118
+ };
18119
+ outputFormat: "json";
18120
+ status: 502;
18121
+ input: {
18122
+ param: {
18123
+ id: string;
18124
+ };
18125
+ };
18126
+ } | {
18127
+ output: {
18128
+ error: {
18129
+ code: "unauthorized";
18130
+ details?: readonly Response.error.Detail[] | undefined;
18131
+ message: string;
18132
+ };
18133
+ requestId: string;
18134
+ };
18135
+ outputFormat: "json";
18136
+ status: 401;
18137
+ input: {
18138
+ param: {
18139
+ id: string;
18140
+ };
18141
+ };
18142
+ } | {
18143
+ output: {
18144
+ error: {
18145
+ code: "param_invalid";
18146
+ details?: readonly Response.error.Detail[] | undefined;
18147
+ message: string;
18148
+ };
18149
+ requestId: string;
18150
+ };
18151
+ outputFormat: "json";
18152
+ status: 400;
18153
+ input: {
18154
+ param: {
18155
+ id: string;
18156
+ };
18157
+ };
18158
+ } | {
18159
+ output: {
18160
+ error: {
18161
+ code: "funding_deposit_not_found";
18162
+ details?: readonly Response.error.Detail[] | undefined;
18163
+ message: string;
18164
+ };
18165
+ requestId: string;
18166
+ };
18167
+ outputFormat: "json";
18168
+ status: 404;
18169
+ input: {
18170
+ param: {
18171
+ id: string;
18172
+ };
18173
+ };
18174
+ } | {
18175
+ output: {
18176
+ createdAt: string;
18177
+ depositAddressId: string;
18178
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
18179
+ destinationAmount?: {
18180
+ baseUnits: string;
18181
+ currency: string;
18182
+ decimals: number;
18183
+ formatted: string;
18184
+ } | undefined;
18185
+ destinationAmountRequired?: {
18186
+ baseUnits: string;
18187
+ currency: string;
18188
+ decimals: number;
18189
+ formatted: string;
18190
+ } | undefined;
18191
+ destinationChain: {
18192
+ addressFormat: "base58" | "base58check" | "hex";
18193
+ id: string;
18194
+ kind: "evm" | "solana" | "tron";
18195
+ name: string;
18196
+ };
18197
+ destinationToken: {
18198
+ address: string;
18199
+ currency: string;
18200
+ decimals: number;
18201
+ name: string;
18202
+ standard: string;
18203
+ symbol: string;
18204
+ tokenKey: string;
18205
+ verified: boolean;
18206
+ };
18207
+ destinationTransactionHashes?: readonly string[] | undefined;
18208
+ id: string;
18209
+ provider: {
18210
+ id: string;
18211
+ name: string;
18212
+ };
18213
+ recipient: string;
18214
+ refundAddress: string;
18215
+ refundAmount?: {
18216
+ baseUnits: string;
18217
+ currency: string;
18218
+ decimals: number;
18219
+ formatted: string;
18220
+ } | undefined;
18221
+ refundTransactionHashes?: readonly string[] | undefined;
18222
+ sender?: string | undefined;
18223
+ sourceAmount?: {
18224
+ baseUnits: string;
18225
+ currency: string;
18226
+ decimals: number;
18227
+ formatted: string;
18228
+ } | undefined;
18229
+ sourceChain: {
18230
+ addressFormat: "base58" | "base58check" | "hex";
18231
+ id: string;
18232
+ kind: "evm" | "solana" | "tron";
18233
+ name: string;
18234
+ };
18235
+ sourceToken: {
18236
+ address: string;
18237
+ currency: string;
18238
+ decimals: number;
18239
+ name: string;
18240
+ standard: string;
18241
+ symbol: string;
18242
+ tokenKey: string;
18243
+ verified: boolean;
18244
+ };
18245
+ sourceTransactionHashes: readonly string[];
18246
+ sourceTransferIndex?: number | undefined;
18247
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
18248
+ statusReason?: {
18249
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
18250
+ message: string;
18026
18251
  } | undefined;
18252
+ updatedAt: string;
18253
+ };
18254
+ outputFormat: "json";
18255
+ status: 200;
18256
+ input: {
18257
+ param: {
18258
+ id: string;
18259
+ };
18027
18260
  };
18028
18261
  };
18029
18262
  };