tapimo 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +4887 -5074
- package/dist/App.d.ts.map +1 -1
- package/dist/Webhooks.d.ts +21 -20
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +66 -23
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +168 -168
- package/dist/apps/Zones.d.ts +34 -22
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +9 -8
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +5198 -5099
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +4 -5
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.js +19 -4
- package/dist/apps/data/FxOracle.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +270 -270
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +32 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +52 -52
- package/dist/apps/data/routes/balances.d.ts +36 -36
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +135 -81
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/coingecko.d.ts +54 -54
- package/dist/apps/data/routes/earn.d.ts +512 -58
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +368 -44
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +120 -120
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +114 -118
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +68 -47
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokens.d.ts +461 -459
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +59 -51
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +25 -23
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +108 -86
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +618 -105
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
- package/dist/apps/data/routes/webhooks.d.ts +102 -505
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +484 -342
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +12 -12
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +3 -1
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/funding/App.d.ts +96 -96
- package/dist/apps/funding/routes/deposit-addresses.d.ts +52 -52
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.d.ts +4 -4
- package/dist/apps/management/App.d.ts +429 -727
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +24 -24
- package/dist/apps/management/routes/billing.d.ts +72 -72
- package/dist/apps/management/routes/faucet.d.ts +6 -6
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/invite-links.d.ts +38 -38
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/members.d.ts +30 -30
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +20 -20
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/management/routes/webhooks.d.ts +158 -573
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/mpp/App.d.ts +56 -44
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +3 -0
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +3 -0
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +9 -2
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/db/Db.d.ts +2 -2
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +17 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +4 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +56 -3
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +76 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +112 -3
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +116 -3
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.js +1 -1
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Tidx.d.ts +1 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +1 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +2 -1
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts +2 -0
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +11 -0
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +55 -0
- package/dist/internal/WebhookTransfer.d.ts.map +1 -0
- package/dist/internal/WebhookTransfer.js +296 -0
- package/dist/internal/WebhookTransfer.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +37 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -13
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +4 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +11 -7
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +128 -0
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts +3 -0
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +12 -1
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +3 -3
- package/src/Client.test-d.ts +60 -5
- package/src/Webhooks.bench.ts +714 -0
- package/src/Webhooks.memory.bench.ts +250 -0
- package/src/Webhooks.test.ts +77 -6
- package/src/Webhooks.ts +83 -29
- package/src/apps/Zones.test.ts +5 -4
- package/src/apps/Zones.ts +9 -8
- package/src/apps/data/FxOracle.test.ts +18 -0
- package/src/apps/data/FxOracle.ts +28 -5
- package/src/apps/data/routes/activities.test.ts +19 -0
- package/src/apps/data/routes/activities.ts +34 -30
- package/src/apps/data/routes/balances.test.ts +119 -10
- package/src/apps/data/routes/balances.ts +154 -95
- package/src/apps/data/routes/blocks.test.ts +12 -6
- package/src/apps/data/routes/earn.test.ts +197 -0
- package/src/apps/data/routes/earn.ts +486 -44
- package/src/apps/data/routes/exchanges.test.ts +7 -6
- package/src/apps/data/routes/exchanges.ts +124 -117
- package/src/apps/data/routes/receipts.test.ts +24 -7
- package/src/apps/data/routes/receipts.ts +67 -50
- package/src/apps/data/routes/tokens.test.ts +51 -0
- package/src/apps/data/routes/transactions.test.ts +42 -0
- package/src/apps/data/routes/transactions.ts +44 -39
- package/src/apps/data/routes/transfers.test.ts +402 -24
- package/src/apps/data/routes/transfers.ts +708 -101
- package/src/apps/data/routes/valuation.test.ts +26 -0
- package/src/apps/data/routes/valuation.ts +6 -2
- package/src/apps/data/routes/webhooks.test.ts +414 -130
- package/src/apps/data/routes/webhooks.ts +603 -419
- package/src/apps/data/routes/zones.ts +6 -1
- package/src/apps/funding/routes/quotes.test.ts +1 -1
- package/src/apps/mpp/Mpp.test.ts +13 -1
- package/src/apps/mpp/Mpp.ts +8 -0
- package/src/apps/mpp/internal/Adapter.ts +10 -2
- package/src/db/Db.test.ts +40 -6
- package/src/db/Db.ts +33 -19
- package/src/db/tables/sponsoredTransactions.ts +9 -2
- package/src/db/tables/webhookSubscriptions.ts +116 -4
- package/src/internal/EarnVaults.test.ts +2 -2
- package/src/internal/MetricSink.test.ts +518 -0
- package/src/internal/MetricSink.ts +266 -9
- package/src/internal/Schema.ts +1 -1
- package/src/internal/Tidx.test.ts +4 -4
- package/src/internal/Tidx.ts +1 -3
- package/src/internal/Viem.test.ts +8 -0
- package/src/internal/Viem.ts +2 -1
- package/src/internal/WebhookDestination.test.ts +20 -0
- package/src/internal/WebhookDestination.ts +10 -0
- package/src/internal/WebhookTransfer.ts +426 -0
- package/src/internal/Webhooks.test.ts +137 -0
- package/src/internal/Webhooks.ts +131 -17
- package/src/internal/funding/Provider.test.ts +47 -7
- package/src/internal/funding/Provider.ts +12 -7
- package/src/internal/funding/Reconciliation.local.test.ts +3 -1
- package/src/internal/funding/Reconciliation.test.ts +1240 -0
- package/src/internal/funding/Reconciliation.ts +136 -0
- package/src/internal/funding/SourceObservation.test.ts +1 -0
- package/src/internal/funding/providers/relay.test.ts +1 -4
- package/src/internal/funding/providers/relay.ts +16 -1
|
@@ -766,14 +766,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
766
766
|
$post: {
|
|
767
767
|
output: {
|
|
768
768
|
error: {
|
|
769
|
-
code: "
|
|
769
|
+
code: "upstream_error";
|
|
770
770
|
details?: readonly Response.error.Detail[] | undefined;
|
|
771
771
|
message: string;
|
|
772
772
|
};
|
|
773
773
|
requestId: string;
|
|
774
774
|
};
|
|
775
775
|
outputFormat: "json";
|
|
776
|
-
status:
|
|
776
|
+
status: 502;
|
|
777
777
|
input: {
|
|
778
778
|
header: {
|
|
779
779
|
'idempotency-key': string;
|
|
@@ -792,14 +792,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
792
792
|
} | {
|
|
793
793
|
output: {
|
|
794
794
|
error: {
|
|
795
|
-
code: "
|
|
795
|
+
code: "api_key_malformed";
|
|
796
796
|
details?: readonly Response.error.Detail[] | undefined;
|
|
797
797
|
message: string;
|
|
798
798
|
};
|
|
799
799
|
requestId: string;
|
|
800
800
|
};
|
|
801
801
|
outputFormat: "json";
|
|
802
|
-
status:
|
|
802
|
+
status: 400;
|
|
803
803
|
input: {
|
|
804
804
|
header: {
|
|
805
805
|
'idempotency-key': string;
|
|
@@ -818,14 +818,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
818
818
|
} | {
|
|
819
819
|
output: {
|
|
820
820
|
error: {
|
|
821
|
-
code: "
|
|
821
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
822
822
|
details?: readonly Response.error.Detail[] | undefined;
|
|
823
823
|
message: string;
|
|
824
824
|
};
|
|
825
825
|
requestId: string;
|
|
826
826
|
};
|
|
827
827
|
outputFormat: "json";
|
|
828
|
-
status:
|
|
828
|
+
status: 401;
|
|
829
829
|
input: {
|
|
830
830
|
header: {
|
|
831
831
|
'idempotency-key': string;
|
|
@@ -844,14 +844,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
844
844
|
} | {
|
|
845
845
|
output: {
|
|
846
846
|
error: {
|
|
847
|
-
code: "
|
|
847
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
848
848
|
details?: readonly Response.error.Detail[] | undefined;
|
|
849
849
|
message: string;
|
|
850
850
|
};
|
|
851
851
|
requestId: string;
|
|
852
852
|
};
|
|
853
853
|
outputFormat: "json";
|
|
854
|
-
status:
|
|
854
|
+
status: 403;
|
|
855
855
|
input: {
|
|
856
856
|
header: {
|
|
857
857
|
'idempotency-key': string;
|
|
@@ -870,14 +870,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
870
870
|
} | {
|
|
871
871
|
output: {
|
|
872
872
|
error: {
|
|
873
|
-
code: "
|
|
873
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
874
874
|
details?: readonly Response.error.Detail[] | undefined;
|
|
875
875
|
message: string;
|
|
876
876
|
};
|
|
877
877
|
requestId: string;
|
|
878
878
|
};
|
|
879
879
|
outputFormat: "json";
|
|
880
|
-
status:
|
|
880
|
+
status: 429;
|
|
881
881
|
input: {
|
|
882
882
|
header: {
|
|
883
883
|
'idempotency-key': string;
|
|
@@ -1181,14 +1181,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1181
1181
|
$get: {
|
|
1182
1182
|
output: {
|
|
1183
1183
|
error: {
|
|
1184
|
-
code: "
|
|
1184
|
+
code: "upstream_error";
|
|
1185
1185
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1186
1186
|
message: string;
|
|
1187
1187
|
};
|
|
1188
1188
|
requestId: string;
|
|
1189
1189
|
};
|
|
1190
1190
|
outputFormat: "json";
|
|
1191
|
-
status:
|
|
1191
|
+
status: 502;
|
|
1192
1192
|
input: {
|
|
1193
1193
|
param: {
|
|
1194
1194
|
id: string;
|
|
@@ -1197,14 +1197,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1197
1197
|
} | {
|
|
1198
1198
|
output: {
|
|
1199
1199
|
error: {
|
|
1200
|
-
code: "
|
|
1200
|
+
code: "api_key_malformed";
|
|
1201
1201
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1202
1202
|
message: string;
|
|
1203
1203
|
};
|
|
1204
1204
|
requestId: string;
|
|
1205
1205
|
};
|
|
1206
1206
|
outputFormat: "json";
|
|
1207
|
-
status:
|
|
1207
|
+
status: 400;
|
|
1208
1208
|
input: {
|
|
1209
1209
|
param: {
|
|
1210
1210
|
id: string;
|
|
@@ -1213,14 +1213,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1213
1213
|
} | {
|
|
1214
1214
|
output: {
|
|
1215
1215
|
error: {
|
|
1216
|
-
code: "
|
|
1216
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1217
1217
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1218
1218
|
message: string;
|
|
1219
1219
|
};
|
|
1220
1220
|
requestId: string;
|
|
1221
1221
|
};
|
|
1222
1222
|
outputFormat: "json";
|
|
1223
|
-
status:
|
|
1223
|
+
status: 401;
|
|
1224
1224
|
input: {
|
|
1225
1225
|
param: {
|
|
1226
1226
|
id: string;
|
|
@@ -1229,14 +1229,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1229
1229
|
} | {
|
|
1230
1230
|
output: {
|
|
1231
1231
|
error: {
|
|
1232
|
-
code: "
|
|
1232
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1233
1233
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1234
1234
|
message: string;
|
|
1235
1235
|
};
|
|
1236
1236
|
requestId: string;
|
|
1237
1237
|
};
|
|
1238
1238
|
outputFormat: "json";
|
|
1239
|
-
status:
|
|
1239
|
+
status: 403;
|
|
1240
1240
|
input: {
|
|
1241
1241
|
param: {
|
|
1242
1242
|
id: string;
|
|
@@ -1245,14 +1245,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1245
1245
|
} | {
|
|
1246
1246
|
output: {
|
|
1247
1247
|
error: {
|
|
1248
|
-
code: "
|
|
1248
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1249
1249
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1250
1250
|
message: string;
|
|
1251
1251
|
};
|
|
1252
1252
|
requestId: string;
|
|
1253
1253
|
};
|
|
1254
1254
|
outputFormat: "json";
|
|
1255
|
-
status:
|
|
1255
|
+
status: 429;
|
|
1256
1256
|
input: {
|
|
1257
1257
|
param: {
|
|
1258
1258
|
id: string;
|
|
@@ -1376,14 +1376,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1376
1376
|
} | {
|
|
1377
1377
|
output: {
|
|
1378
1378
|
error: {
|
|
1379
|
-
code: "
|
|
1379
|
+
code: "upstream_error";
|
|
1380
1380
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1381
1381
|
message: string;
|
|
1382
1382
|
};
|
|
1383
1383
|
requestId: string;
|
|
1384
1384
|
};
|
|
1385
1385
|
outputFormat: "json";
|
|
1386
|
-
status:
|
|
1386
|
+
status: 502;
|
|
1387
1387
|
input: {
|
|
1388
1388
|
param: {
|
|
1389
1389
|
id: string;
|
|
@@ -1392,14 +1392,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1392
1392
|
} | {
|
|
1393
1393
|
output: {
|
|
1394
1394
|
error: {
|
|
1395
|
-
code: "
|
|
1395
|
+
code: "api_key_malformed";
|
|
1396
1396
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1397
1397
|
message: string;
|
|
1398
1398
|
};
|
|
1399
1399
|
requestId: string;
|
|
1400
1400
|
};
|
|
1401
1401
|
outputFormat: "json";
|
|
1402
|
-
status:
|
|
1402
|
+
status: 400;
|
|
1403
1403
|
input: {
|
|
1404
1404
|
param: {
|
|
1405
1405
|
id: string;
|
|
@@ -1408,14 +1408,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1408
1408
|
} | {
|
|
1409
1409
|
output: {
|
|
1410
1410
|
error: {
|
|
1411
|
-
code: "
|
|
1411
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1412
1412
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1413
1413
|
message: string;
|
|
1414
1414
|
};
|
|
1415
1415
|
requestId: string;
|
|
1416
1416
|
};
|
|
1417
1417
|
outputFormat: "json";
|
|
1418
|
-
status:
|
|
1418
|
+
status: 401;
|
|
1419
1419
|
input: {
|
|
1420
1420
|
param: {
|
|
1421
1421
|
id: string;
|
|
@@ -1424,14 +1424,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1424
1424
|
} | {
|
|
1425
1425
|
output: {
|
|
1426
1426
|
error: {
|
|
1427
|
-
code: "
|
|
1427
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1428
1428
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1429
1429
|
message: string;
|
|
1430
1430
|
};
|
|
1431
1431
|
requestId: string;
|
|
1432
1432
|
};
|
|
1433
1433
|
outputFormat: "json";
|
|
1434
|
-
status:
|
|
1434
|
+
status: 403;
|
|
1435
1435
|
input: {
|
|
1436
1436
|
param: {
|
|
1437
1437
|
id: string;
|
|
@@ -1440,14 +1440,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1440
1440
|
} | {
|
|
1441
1441
|
output: {
|
|
1442
1442
|
error: {
|
|
1443
|
-
code: "
|
|
1443
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1444
1444
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1445
1445
|
message: string;
|
|
1446
1446
|
};
|
|
1447
1447
|
requestId: string;
|
|
1448
1448
|
};
|
|
1449
1449
|
outputFormat: "json";
|
|
1450
|
-
status:
|
|
1450
|
+
status: 429;
|
|
1451
1451
|
input: {
|
|
1452
1452
|
param: {
|
|
1453
1453
|
id: string;
|
|
@@ -1540,14 +1540,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1540
1540
|
$get: {
|
|
1541
1541
|
output: {
|
|
1542
1542
|
error: {
|
|
1543
|
-
code: "
|
|
1543
|
+
code: "upstream_error";
|
|
1544
1544
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1545
1545
|
message: string;
|
|
1546
1546
|
};
|
|
1547
1547
|
requestId: string;
|
|
1548
1548
|
};
|
|
1549
1549
|
outputFormat: "json";
|
|
1550
|
-
status:
|
|
1550
|
+
status: 502;
|
|
1551
1551
|
input: {
|
|
1552
1552
|
query?: {
|
|
1553
1553
|
depositAddress?: string | string[];
|
|
@@ -1559,14 +1559,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1559
1559
|
} | {
|
|
1560
1560
|
output: {
|
|
1561
1561
|
error: {
|
|
1562
|
-
code: "
|
|
1562
|
+
code: "api_key_malformed";
|
|
1563
1563
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1564
1564
|
message: string;
|
|
1565
1565
|
};
|
|
1566
1566
|
requestId: string;
|
|
1567
1567
|
};
|
|
1568
1568
|
outputFormat: "json";
|
|
1569
|
-
status:
|
|
1569
|
+
status: 400;
|
|
1570
1570
|
input: {
|
|
1571
1571
|
query?: {
|
|
1572
1572
|
depositAddress?: string | string[];
|
|
@@ -1578,14 +1578,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1578
1578
|
} | {
|
|
1579
1579
|
output: {
|
|
1580
1580
|
error: {
|
|
1581
|
-
code: "
|
|
1581
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1582
1582
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1583
1583
|
message: string;
|
|
1584
1584
|
};
|
|
1585
1585
|
requestId: string;
|
|
1586
1586
|
};
|
|
1587
1587
|
outputFormat: "json";
|
|
1588
|
-
status:
|
|
1588
|
+
status: 401;
|
|
1589
1589
|
input: {
|
|
1590
1590
|
query?: {
|
|
1591
1591
|
depositAddress?: string | string[];
|
|
@@ -1597,14 +1597,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1597
1597
|
} | {
|
|
1598
1598
|
output: {
|
|
1599
1599
|
error: {
|
|
1600
|
-
code: "
|
|
1600
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1601
1601
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1602
1602
|
message: string;
|
|
1603
1603
|
};
|
|
1604
1604
|
requestId: string;
|
|
1605
1605
|
};
|
|
1606
1606
|
outputFormat: "json";
|
|
1607
|
-
status:
|
|
1607
|
+
status: 403;
|
|
1608
1608
|
input: {
|
|
1609
1609
|
query?: {
|
|
1610
1610
|
depositAddress?: string | string[];
|
|
@@ -1616,14 +1616,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1616
1616
|
} | {
|
|
1617
1617
|
output: {
|
|
1618
1618
|
error: {
|
|
1619
|
-
code: "
|
|
1619
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1620
1620
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1621
1621
|
message: string;
|
|
1622
1622
|
};
|
|
1623
1623
|
requestId: string;
|
|
1624
1624
|
};
|
|
1625
1625
|
outputFormat: "json";
|
|
1626
|
-
status:
|
|
1626
|
+
status: 429;
|
|
1627
1627
|
input: {
|
|
1628
1628
|
query?: {
|
|
1629
1629
|
depositAddress?: string | string[];
|
|
@@ -1635,14 +1635,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1635
1635
|
} | {
|
|
1636
1636
|
output: {
|
|
1637
1637
|
error: {
|
|
1638
|
-
code: "
|
|
1638
|
+
code: "query_invalid";
|
|
1639
1639
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1640
1640
|
message: string;
|
|
1641
1641
|
};
|
|
1642
1642
|
requestId: string;
|
|
1643
1643
|
};
|
|
1644
1644
|
outputFormat: "json";
|
|
1645
|
-
status:
|
|
1645
|
+
status: 400;
|
|
1646
1646
|
input: {
|
|
1647
1647
|
query?: {
|
|
1648
1648
|
depositAddress?: string | string[];
|
|
@@ -1770,14 +1770,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1770
1770
|
$get: {
|
|
1771
1771
|
output: {
|
|
1772
1772
|
error: {
|
|
1773
|
-
code: "
|
|
1773
|
+
code: "upstream_error";
|
|
1774
1774
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1775
1775
|
message: string;
|
|
1776
1776
|
};
|
|
1777
1777
|
requestId: string;
|
|
1778
1778
|
};
|
|
1779
1779
|
outputFormat: "json";
|
|
1780
|
-
status:
|
|
1780
|
+
status: 502;
|
|
1781
1781
|
input: {
|
|
1782
1782
|
param: {
|
|
1783
1783
|
id: string;
|
|
@@ -1786,14 +1786,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1786
1786
|
} | {
|
|
1787
1787
|
output: {
|
|
1788
1788
|
error: {
|
|
1789
|
-
code: "
|
|
1789
|
+
code: "api_key_malformed";
|
|
1790
1790
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1791
1791
|
message: string;
|
|
1792
1792
|
};
|
|
1793
1793
|
requestId: string;
|
|
1794
1794
|
};
|
|
1795
1795
|
outputFormat: "json";
|
|
1796
|
-
status:
|
|
1796
|
+
status: 400;
|
|
1797
1797
|
input: {
|
|
1798
1798
|
param: {
|
|
1799
1799
|
id: string;
|
|
@@ -1802,14 +1802,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1802
1802
|
} | {
|
|
1803
1803
|
output: {
|
|
1804
1804
|
error: {
|
|
1805
|
-
code: "
|
|
1805
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1806
1806
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1807
1807
|
message: string;
|
|
1808
1808
|
};
|
|
1809
1809
|
requestId: string;
|
|
1810
1810
|
};
|
|
1811
1811
|
outputFormat: "json";
|
|
1812
|
-
status:
|
|
1812
|
+
status: 401;
|
|
1813
1813
|
input: {
|
|
1814
1814
|
param: {
|
|
1815
1815
|
id: string;
|
|
@@ -1818,14 +1818,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1818
1818
|
} | {
|
|
1819
1819
|
output: {
|
|
1820
1820
|
error: {
|
|
1821
|
-
code: "
|
|
1821
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1822
1822
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1823
1823
|
message: string;
|
|
1824
1824
|
};
|
|
1825
1825
|
requestId: string;
|
|
1826
1826
|
};
|
|
1827
1827
|
outputFormat: "json";
|
|
1828
|
-
status:
|
|
1828
|
+
status: 403;
|
|
1829
1829
|
input: {
|
|
1830
1830
|
param: {
|
|
1831
1831
|
id: string;
|
|
@@ -1834,14 +1834,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
|
|
|
1834
1834
|
} | {
|
|
1835
1835
|
output: {
|
|
1836
1836
|
error: {
|
|
1837
|
-
code: "
|
|
1837
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1838
1838
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1839
1839
|
message: string;
|
|
1840
1840
|
};
|
|
1841
1841
|
requestId: string;
|
|
1842
1842
|
};
|
|
1843
1843
|
outputFormat: "json";
|
|
1844
|
-
status:
|
|
1844
|
+
status: 429;
|
|
1845
1845
|
input: {
|
|
1846
1846
|
param: {
|
|
1847
1847
|
id: string;
|
|
@@ -199,77 +199,9 @@ export declare namespace schema {
|
|
|
199
199
|
export declare function quotes(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
200
200
|
"/v1/funding/quotes": {
|
|
201
201
|
$get: {
|
|
202
|
-
output:
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
baseUnits: string;
|
|
206
|
-
currency: string;
|
|
207
|
-
decimals: number;
|
|
208
|
-
formatted: string;
|
|
209
|
-
};
|
|
210
|
-
destinationAmountMin?: {
|
|
211
|
-
baseUnits: string;
|
|
212
|
-
currency: string;
|
|
213
|
-
decimals: number;
|
|
214
|
-
formatted: string;
|
|
215
|
-
} | undefined;
|
|
216
|
-
destinationChain: {
|
|
217
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
218
|
-
id: string;
|
|
219
|
-
kind: "evm" | "solana" | "tron";
|
|
220
|
-
name: string;
|
|
221
|
-
};
|
|
222
|
-
destinationToken: {
|
|
223
|
-
address: string;
|
|
224
|
-
currency: string;
|
|
225
|
-
decimals: number;
|
|
226
|
-
name: string;
|
|
227
|
-
standard: string;
|
|
228
|
-
symbol: string;
|
|
229
|
-
tokenKey: string;
|
|
230
|
-
verified: boolean;
|
|
231
|
-
};
|
|
232
|
-
id: string;
|
|
233
|
-
provider: {
|
|
234
|
-
id: string;
|
|
235
|
-
name: string;
|
|
236
|
-
};
|
|
237
|
-
quality: {
|
|
238
|
-
estimatedSeconds?: number | undefined;
|
|
239
|
-
liquiditySource: string;
|
|
240
|
-
sourceDetail?: string | undefined;
|
|
241
|
-
tier: "liquid" | "thin";
|
|
242
|
-
};
|
|
243
|
-
quote: {
|
|
244
|
-
expiresAt?: string | undefined;
|
|
245
|
-
sampledAt: string;
|
|
246
|
-
};
|
|
247
|
-
sourceAmount: {
|
|
248
|
-
baseUnits: string;
|
|
249
|
-
currency: string;
|
|
250
|
-
decimals: number;
|
|
251
|
-
formatted: string;
|
|
252
|
-
};
|
|
253
|
-
sourceChain: {
|
|
254
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
255
|
-
id: string;
|
|
256
|
-
kind: "evm" | "solana" | "tron";
|
|
257
|
-
name: string;
|
|
258
|
-
};
|
|
259
|
-
sourceToken: {
|
|
260
|
-
address: string;
|
|
261
|
-
currency: string;
|
|
262
|
-
decimals: number;
|
|
263
|
-
name: string;
|
|
264
|
-
standard: string;
|
|
265
|
-
symbol: string;
|
|
266
|
-
tokenKey: string;
|
|
267
|
-
verified: boolean;
|
|
268
|
-
};
|
|
269
|
-
}[];
|
|
270
|
-
};
|
|
271
|
-
outputFormat: "json";
|
|
272
|
-
status: 200;
|
|
202
|
+
output: null;
|
|
203
|
+
outputFormat: "body";
|
|
204
|
+
status: 402;
|
|
273
205
|
input: {
|
|
274
206
|
query: {
|
|
275
207
|
destinationToken?: string | string[];
|
|
@@ -304,14 +236,14 @@ export declare function quotes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
304
236
|
} | {
|
|
305
237
|
output: {
|
|
306
238
|
error: {
|
|
307
|
-
code: "
|
|
239
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
308
240
|
details?: readonly Response.error.Detail[] | undefined;
|
|
309
241
|
message: string;
|
|
310
242
|
};
|
|
311
243
|
requestId: string;
|
|
312
244
|
};
|
|
313
245
|
outputFormat: "json";
|
|
314
|
-
status:
|
|
246
|
+
status: 401;
|
|
315
247
|
input: {
|
|
316
248
|
query: {
|
|
317
249
|
destinationToken?: string | string[];
|
|
@@ -325,14 +257,14 @@ export declare function quotes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
325
257
|
} | {
|
|
326
258
|
output: {
|
|
327
259
|
error: {
|
|
328
|
-
code: "
|
|
260
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
329
261
|
details?: readonly Response.error.Detail[] | undefined;
|
|
330
262
|
message: string;
|
|
331
263
|
};
|
|
332
264
|
requestId: string;
|
|
333
265
|
};
|
|
334
266
|
outputFormat: "json";
|
|
335
|
-
status:
|
|
267
|
+
status: 403;
|
|
336
268
|
input: {
|
|
337
269
|
query: {
|
|
338
270
|
destinationToken?: string | string[];
|
|
@@ -344,9 +276,16 @@ export declare function quotes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
344
276
|
};
|
|
345
277
|
};
|
|
346
278
|
} | {
|
|
347
|
-
output:
|
|
348
|
-
|
|
349
|
-
|
|
279
|
+
output: {
|
|
280
|
+
error: {
|
|
281
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
282
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
283
|
+
message: string;
|
|
284
|
+
};
|
|
285
|
+
requestId: string;
|
|
286
|
+
};
|
|
287
|
+
outputFormat: "json";
|
|
288
|
+
status: 429;
|
|
350
289
|
input: {
|
|
351
290
|
query: {
|
|
352
291
|
destinationToken?: string | string[];
|
|
@@ -360,14 +299,14 @@ export declare function quotes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
360
299
|
} | {
|
|
361
300
|
output: {
|
|
362
301
|
error: {
|
|
363
|
-
code: "
|
|
302
|
+
code: "query_invalid";
|
|
364
303
|
details?: readonly Response.error.Detail[] | undefined;
|
|
365
304
|
message: string;
|
|
366
305
|
};
|
|
367
306
|
requestId: string;
|
|
368
307
|
};
|
|
369
308
|
outputFormat: "json";
|
|
370
|
-
status:
|
|
309
|
+
status: 400;
|
|
371
310
|
input: {
|
|
372
311
|
query: {
|
|
373
312
|
destinationToken?: string | string[];
|
|
@@ -381,14 +320,14 @@ export declare function quotes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
381
320
|
} | {
|
|
382
321
|
output: {
|
|
383
322
|
error: {
|
|
384
|
-
code: "
|
|
323
|
+
code: "upstream_error";
|
|
385
324
|
details?: readonly Response.error.Detail[] | undefined;
|
|
386
325
|
message: string;
|
|
387
326
|
};
|
|
388
327
|
requestId: string;
|
|
389
328
|
};
|
|
390
329
|
outputFormat: "json";
|
|
391
|
-
status:
|
|
330
|
+
status: 502;
|
|
392
331
|
input: {
|
|
393
332
|
query: {
|
|
394
333
|
destinationToken?: string | string[];
|
|
@@ -401,15 +340,76 @@ export declare function quotes(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
401
340
|
};
|
|
402
341
|
} | {
|
|
403
342
|
output: {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
343
|
+
data: {
|
|
344
|
+
destinationAmount: {
|
|
345
|
+
baseUnits: string;
|
|
346
|
+
currency: string;
|
|
347
|
+
decimals: number;
|
|
348
|
+
formatted: string;
|
|
349
|
+
};
|
|
350
|
+
destinationAmountMin?: {
|
|
351
|
+
baseUnits: string;
|
|
352
|
+
currency: string;
|
|
353
|
+
decimals: number;
|
|
354
|
+
formatted: string;
|
|
355
|
+
} | undefined;
|
|
356
|
+
destinationChain: {
|
|
357
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
358
|
+
id: string;
|
|
359
|
+
kind: "evm" | "solana" | "tron";
|
|
360
|
+
name: string;
|
|
361
|
+
};
|
|
362
|
+
destinationToken: {
|
|
363
|
+
address: string;
|
|
364
|
+
currency: string;
|
|
365
|
+
decimals: number;
|
|
366
|
+
name: string;
|
|
367
|
+
standard: string;
|
|
368
|
+
symbol: string;
|
|
369
|
+
tokenKey: string;
|
|
370
|
+
verified: boolean;
|
|
371
|
+
};
|
|
372
|
+
id: string;
|
|
373
|
+
provider: {
|
|
374
|
+
id: string;
|
|
375
|
+
name: string;
|
|
376
|
+
};
|
|
377
|
+
quality: {
|
|
378
|
+
estimatedSeconds?: number | undefined;
|
|
379
|
+
liquiditySource: string;
|
|
380
|
+
sourceDetail?: string | undefined;
|
|
381
|
+
tier: "liquid" | "thin";
|
|
382
|
+
};
|
|
383
|
+
quote: {
|
|
384
|
+
expiresAt?: string | undefined;
|
|
385
|
+
sampledAt: string;
|
|
386
|
+
};
|
|
387
|
+
sourceAmount: {
|
|
388
|
+
baseUnits: string;
|
|
389
|
+
currency: string;
|
|
390
|
+
decimals: number;
|
|
391
|
+
formatted: string;
|
|
392
|
+
};
|
|
393
|
+
sourceChain: {
|
|
394
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
395
|
+
id: string;
|
|
396
|
+
kind: "evm" | "solana" | "tron";
|
|
397
|
+
name: string;
|
|
398
|
+
};
|
|
399
|
+
sourceToken: {
|
|
400
|
+
address: string;
|
|
401
|
+
currency: string;
|
|
402
|
+
decimals: number;
|
|
403
|
+
name: string;
|
|
404
|
+
standard: string;
|
|
405
|
+
symbol: string;
|
|
406
|
+
tokenKey: string;
|
|
407
|
+
verified: boolean;
|
|
408
|
+
};
|
|
409
|
+
}[];
|
|
410
410
|
};
|
|
411
411
|
outputFormat: "json";
|
|
412
|
-
status:
|
|
412
|
+
status: 200;
|
|
413
413
|
input: {
|
|
414
414
|
query: {
|
|
415
415
|
destinationToken?: string | string[];
|