tapimo 0.4.4 → 0.5.1
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 +4701 -3416
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +24 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.js +3 -3
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts +18 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +23 -3
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +5 -10
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +6 -34
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +3 -3
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +4 -1
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -34
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +2 -2
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +57 -57
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +33 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +4574 -4277
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +155 -77
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +109 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -0
- package/dist/apps/data/FundingQuoteProviders.js +464 -0
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -1
- package/dist/apps/data/index.js +1 -1
- package/dist/apps/data/routes/activities.d.ts +26 -26
- package/dist/apps/data/routes/addresses.d.ts +38 -38
- package/dist/apps/data/routes/balances.d.ts +45 -45
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +67 -149
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +2 -3
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -5
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +177 -176
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +3 -8
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +131 -228
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +152 -219
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +9 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +228 -228
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +86 -16
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +340 -0
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +13 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/management/App.d.ts +1833 -851
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +4 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +41 -41
- package/dist/apps/management/routes/api-keys.js +2 -2
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +48 -48
- package/dist/apps/management/routes/invitations.d.ts +132 -132
- package/dist/apps/management/routes/invite-links.d.ts +1100 -0
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
- package/dist/apps/management/routes/invite-links.js +411 -0
- package/dist/apps/management/routes/invite-links.js.map +1 -0
- package/dist/apps/management/routes/members.d.ts +41 -41
- package/dist/apps/management/routes/orgs.d.ts +92 -92
- package/dist/apps/management/routes/projects.d.ts +9 -9
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/mcp.js +2 -2
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +44 -6
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +3 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +57 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +31 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +31 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +42 -0
- package/dist/db/tables/inviteLinks.d.ts.map +1 -0
- package/dist/db/tables/inviteLinks.js +148 -0
- package/dist/db/tables/inviteLinks.js.map +1 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +2 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +6 -2
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +13 -3
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +9 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +138 -10
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +3 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +17 -2
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +240 -369
- package/dist/internal/FundingQuotes.d.ts.map +1 -0
- package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +144 -183
- package/dist/internal/FundingQuotes.js.map +1 -0
- package/dist/internal/Log.d.ts +18 -12
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -7
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +17 -2
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +30 -3
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -1
- package/package.json +2 -2
- package/src/ApiKeys.test.ts +25 -0
- package/src/App.test-d.ts +2 -0
- package/src/App.test.ts +13 -2
- package/src/App.ts +37 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +21 -11
- package/src/Scope.test.ts +1 -0
- package/src/Scope.ts +32 -4
- package/src/Webhooks.ts +5 -10
- package/src/admin/apps/api-keys.test.ts +27 -0
- package/src/admin/apps/api-keys.ts +8 -1
- package/src/admin/apps/scopes.test.ts +7 -2
- package/src/admin/apps/scopes.ts +2 -2
- package/src/admin/ui/src/components/Dialog.tsx +8 -2
- package/src/admin/ui/src/lib/scopes.test.ts +19 -0
- package/src/admin/ui/src/lib/scopes.ts +12 -0
- package/src/admin/ui/src/routes/api-keys.tsx +128 -27
- package/src/admin/ui.generated.ts +33 -33
- package/src/apps/composition.test.ts +77 -0
- package/src/apps/data/App.test.ts +354 -0
- package/src/apps/data/App.ts +178 -91
- package/src/apps/data/FundingQuoteProviders.test.ts +577 -0
- package/src/apps/data/FundingQuoteProviders.ts +633 -0
- package/src/apps/data/index.ts +1 -1
- package/src/apps/data/routes/balances.test.ts +64 -18
- package/src/apps/data/routes/balances.ts +76 -177
- package/src/apps/data/routes/blocks.ts +3 -5
- package/src/apps/data/routes/coingecko.ts +3 -8
- package/src/apps/data/routes/funding.test.ts +304 -192
- package/src/apps/data/routes/funding.ts +166 -286
- package/src/apps/data/routes/indexer.test.ts +173 -15
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/data/routes/rpc.test.ts +219 -0
- package/src/apps/data/routes/rpc.ts +92 -17
- package/src/apps/data/routes/webhooks.test.ts +21 -0
- package/src/apps/data/routes/webhooks.ts +13 -1
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/Billing.test.ts +2 -2
- package/src/apps/management/routes/api-keys.test.ts +47 -3
- package/src/apps/management/routes/api-keys.ts +2 -2
- package/src/apps/management/routes/invite-links.test.ts +385 -0
- package/src/apps/management/routes/invite-links.ts +570 -0
- package/src/apps/management/routes/scopes.test.ts +3 -2
- package/src/apps/management/routes/scopes.ts +4 -2
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +328 -7
- package/src/apps/relay/App.ts +42 -6
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/db/Db.test.ts +5 -5
- package/src/db/Db.ts +65 -0
- package/src/db/Schema.ts +39 -0
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/inviteLinks.ts +187 -0
- package/src/db/tables/organizations.test.ts +2 -2
- package/src/db/tables/organizations.ts +2 -0
- package/src/db/tables/sponsoredTransactions.test.ts +19 -2
- package/src/db/tables/sponsoredTransactions.ts +21 -14
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/handlers/relay.ts +16 -4
- package/src/internal/Auth.test.ts +132 -22
- package/src/internal/Auth.ts +181 -14
- package/src/internal/EdgeCache.test.ts +24 -3
- package/src/internal/EdgeCache.ts +18 -2
- package/src/internal/FundingQuotes.test.ts +268 -0
- package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +216 -277
- package/src/internal/Log.ts +21 -14
- package/src/internal/Tidx.test.ts +48 -0
- package/src/internal/Tidx.ts +21 -7
- package/src/internal/Viem.test.ts +46 -0
- package/src/internal/Viem.ts +48 -6
- package/src/internal/index.test.ts +1 -1
- package/src/internal/index.ts +1 -1
- package/dist/apps/data/FundingRouteProviders.d.ts +0 -36
- package/dist/apps/data/FundingRouteProviders.d.ts.map +0 -1
- package/dist/apps/data/FundingRouteProviders.js +0 -245
- package/dist/apps/data/FundingRouteProviders.js.map +0 -1
- package/dist/internal/FundingRoutes.d.ts.map +0 -1
- package/dist/internal/FundingRoutes.js.map +0 -1
- package/src/apps/data/FundingRouteProviders.test.ts +0 -225
- package/src/apps/data/FundingRouteProviders.ts +0 -312
- package/src/internal/FundingRoutes.test.ts +0 -213
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as z from 'zod/mini';
|
|
2
2
|
import type * as App from '../../../App.js';
|
|
3
|
-
import * as
|
|
3
|
+
import * as FundingQuotes from '../../../internal/FundingQuotes.js';
|
|
4
4
|
import * as Response from '../../../internal/Response.js';
|
|
5
|
-
/** Zod schemas owned by
|
|
5
|
+
/** Zod schemas owned by funding quote resources. */
|
|
6
6
|
export declare namespace schema {
|
|
7
7
|
/** Source or destination chain reference. */
|
|
8
8
|
const Chain: z.ZodMiniObject<{
|
|
9
9
|
addressFormat: z.ZodMiniEnum<{
|
|
10
|
+
base58: "base58";
|
|
11
|
+
base58check: "base58check";
|
|
10
12
|
evm: "evm";
|
|
11
|
-
solana: "solana";
|
|
12
|
-
tron: "tron";
|
|
13
13
|
}>;
|
|
14
14
|
id: z.ZodMiniString<string>;
|
|
15
15
|
kind: z.ZodMiniEnum<{
|
|
@@ -31,58 +31,48 @@ export declare namespace schema {
|
|
|
31
31
|
tokenKey: z.ZodMiniString<string>;
|
|
32
32
|
verified: z.ZodMiniBoolean<boolean>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
|
-
/** Source amount echoed by a funding
|
|
34
|
+
/** Source amount echoed by a funding quote response. */
|
|
35
35
|
const TokenAmount: z.ZodMiniObject<{
|
|
36
36
|
amount: z.ZodMiniString<string>;
|
|
37
37
|
formatted: z.ZodMiniString<string>;
|
|
38
|
-
usd: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
39
38
|
}, z.core.$strip>;
|
|
40
|
-
/** Provider summary embedded in a
|
|
39
|
+
/** Provider summary embedded in a funding quote. */
|
|
41
40
|
const ProviderRef: z.ZodMiniObject<{
|
|
42
|
-
id: z.
|
|
41
|
+
id: z.ZodMiniEnum<{
|
|
42
|
+
across: "across";
|
|
43
|
+
relay: "relay";
|
|
44
|
+
rhino: "rhino";
|
|
45
|
+
}>;
|
|
43
46
|
kind: z.ZodMiniString<string>;
|
|
44
47
|
name: z.ZodMiniString<string>;
|
|
45
48
|
requiresApiKey: z.ZodMiniBoolean<boolean>;
|
|
46
49
|
}, z.core.$strip>;
|
|
47
|
-
/**
|
|
50
|
+
/** Quote quality signals exposed directly instead of implied by list order. */
|
|
48
51
|
const Quality: z.ZodMiniObject<{
|
|
49
|
-
|
|
50
|
-
estimatedSeconds: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
51
|
-
feeBps: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
52
|
-
historicalVolumeUsd24h: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
53
|
-
instantVolumeUsd: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
52
|
+
estimatedSeconds: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
54
53
|
liquiditySource: z.ZodMiniString<string>;
|
|
55
|
-
|
|
56
|
-
sourceDetail: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
54
|
+
sourceDetail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
57
55
|
tier: z.ZodMiniEnum<{
|
|
58
|
-
error: "error";
|
|
59
56
|
liquid: "liquid";
|
|
60
57
|
thin: "thin";
|
|
61
|
-
unavailable: "unavailable";
|
|
62
|
-
unknown: "unknown";
|
|
63
58
|
}>;
|
|
64
59
|
}, z.core.$strip>;
|
|
65
|
-
/** Provider-derived
|
|
66
|
-
const
|
|
67
|
-
expiresAt: z.
|
|
60
|
+
/** Provider-derived output, limits, and freshness data. */
|
|
61
|
+
const QuoteDetails: z.ZodMiniObject<{
|
|
62
|
+
expiresAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
68
63
|
inputAmount: z.ZodMiniString<string>;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
minSourceAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
|
-
minimumOutputAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
75
|
-
outputAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
76
|
-
outputAmountFormatted: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
64
|
+
minimumOutputAmount: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
65
|
+
outputAmount: z.ZodMiniString<string>;
|
|
66
|
+
outputAmountFormatted: z.ZodMiniString<string>;
|
|
77
67
|
sampledAt: z.ZodMiniISODateTime;
|
|
78
68
|
}, z.core.$strip>;
|
|
79
|
-
/**
|
|
80
|
-
const
|
|
69
|
+
/** Successful live funding quote. */
|
|
70
|
+
const FundingQuote: z.ZodMiniObject<{
|
|
81
71
|
destinationChain: z.ZodMiniObject<{
|
|
82
72
|
addressFormat: z.ZodMiniEnum<{
|
|
73
|
+
base58: "base58";
|
|
74
|
+
base58check: "base58check";
|
|
83
75
|
evm: "evm";
|
|
84
|
-
solana: "solana";
|
|
85
|
-
tron: "tron";
|
|
86
76
|
}>;
|
|
87
77
|
id: z.ZodMiniString<string>;
|
|
88
78
|
kind: z.ZodMiniEnum<{
|
|
@@ -103,54 +93,43 @@ export declare namespace schema {
|
|
|
103
93
|
tokenKey: z.ZodMiniString<string>;
|
|
104
94
|
verified: z.ZodMiniBoolean<boolean>;
|
|
105
95
|
}, z.core.$strip>;
|
|
106
|
-
errorCode: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
107
96
|
id: z.ZodMiniString<string>;
|
|
108
97
|
provider: z.ZodMiniObject<{
|
|
109
|
-
id: z.
|
|
98
|
+
id: z.ZodMiniEnum<{
|
|
99
|
+
across: "across";
|
|
100
|
+
relay: "relay";
|
|
101
|
+
rhino: "rhino";
|
|
102
|
+
}>;
|
|
110
103
|
kind: z.ZodMiniString<string>;
|
|
111
104
|
name: z.ZodMiniString<string>;
|
|
112
105
|
requiresApiKey: z.ZodMiniBoolean<boolean>;
|
|
113
106
|
}, z.core.$strip>;
|
|
114
107
|
quality: z.ZodMiniObject<{
|
|
115
|
-
|
|
116
|
-
estimatedSeconds: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
117
|
-
feeBps: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
118
|
-
historicalVolumeUsd24h: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
119
|
-
instantVolumeUsd: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
108
|
+
estimatedSeconds: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
120
109
|
liquiditySource: z.ZodMiniString<string>;
|
|
121
|
-
|
|
122
|
-
sourceDetail: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
110
|
+
sourceDetail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
123
111
|
tier: z.ZodMiniEnum<{
|
|
124
|
-
error: "error";
|
|
125
112
|
liquid: "liquid";
|
|
126
113
|
thin: "thin";
|
|
127
|
-
unavailable: "unavailable";
|
|
128
|
-
unknown: "unknown";
|
|
129
114
|
}>;
|
|
130
115
|
}, z.core.$strip>;
|
|
131
|
-
quote: z.
|
|
132
|
-
expiresAt: z.
|
|
116
|
+
quote: z.ZodMiniObject<{
|
|
117
|
+
expiresAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
133
118
|
inputAmount: z.ZodMiniString<string>;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
minSourceAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
138
|
-
}, z.core.$strip>>;
|
|
139
|
-
minimumOutputAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
140
|
-
outputAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
141
|
-
outputAmountFormatted: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
119
|
+
minimumOutputAmount: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
120
|
+
outputAmount: z.ZodMiniString<string>;
|
|
121
|
+
outputAmountFormatted: z.ZodMiniString<string>;
|
|
142
122
|
sampledAt: z.ZodMiniISODateTime;
|
|
143
|
-
}, z.core.$strip
|
|
123
|
+
}, z.core.$strip>;
|
|
144
124
|
sourceAmount: z.ZodMiniObject<{
|
|
145
125
|
amount: z.ZodMiniString<string>;
|
|
146
126
|
formatted: z.ZodMiniString<string>;
|
|
147
|
-
usd: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
148
127
|
}, z.core.$strip>;
|
|
149
128
|
sourceChain: z.ZodMiniObject<{
|
|
150
129
|
addressFormat: z.ZodMiniEnum<{
|
|
130
|
+
base58: "base58";
|
|
131
|
+
base58check: "base58check";
|
|
151
132
|
evm: "evm";
|
|
152
|
-
solana: "solana";
|
|
153
|
-
tron: "tron";
|
|
154
133
|
}>;
|
|
155
134
|
id: z.ZodMiniString<string>;
|
|
156
135
|
kind: z.ZodMiniEnum<{
|
|
@@ -171,35 +150,28 @@ export declare namespace schema {
|
|
|
171
150
|
tokenKey: z.ZodMiniString<string>;
|
|
172
151
|
verified: z.ZodMiniBoolean<boolean>;
|
|
173
152
|
}, z.core.$strip>;
|
|
174
|
-
status: z.ZodMiniEnum<{
|
|
175
|
-
available: "available";
|
|
176
|
-
error: "error";
|
|
177
|
-
thin: "thin";
|
|
178
|
-
unavailable: "unavailable";
|
|
179
|
-
unknown: "unknown";
|
|
180
|
-
}>;
|
|
181
153
|
}, z.core.$strip>;
|
|
182
|
-
/**
|
|
154
|
+
/** Funding quote provider catalog entry. */
|
|
183
155
|
const Provider: z.ZodMiniObject<{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
156
|
+
id: z.ZodMiniEnum<{
|
|
157
|
+
across: "across";
|
|
158
|
+
relay: "relay";
|
|
159
|
+
rhino: "rhino";
|
|
160
|
+
}>;
|
|
188
161
|
kind: z.ZodMiniString<string>;
|
|
189
162
|
name: z.ZodMiniString<string>;
|
|
190
163
|
requiresApiKey: z.ZodMiniBoolean<boolean>;
|
|
191
164
|
status: z.ZodMiniEnum<{
|
|
192
165
|
configured: "configured";
|
|
193
|
-
|
|
194
|
-
planned: "planned";
|
|
166
|
+
unconfigured: "unconfigured";
|
|
195
167
|
}>;
|
|
196
168
|
}, z.core.$strip>;
|
|
197
169
|
/** Chain inventory entry returned by the funding chains endpoint. */
|
|
198
170
|
const ChainInventory: z.ZodMiniObject<{
|
|
199
171
|
addressFormat: z.ZodMiniEnum<{
|
|
172
|
+
base58: "base58";
|
|
173
|
+
base58check: "base58check";
|
|
200
174
|
evm: "evm";
|
|
201
|
-
solana: "solana";
|
|
202
|
-
tron: "tron";
|
|
203
175
|
}>;
|
|
204
176
|
id: z.ZodMiniString<string>;
|
|
205
177
|
kind: z.ZodMiniEnum<{
|
|
@@ -220,14 +192,16 @@ export declare namespace schema {
|
|
|
220
192
|
verified: z.ZodMiniBoolean<boolean>;
|
|
221
193
|
}, z.core.$strip>>;
|
|
222
194
|
}, z.core.$strip>;
|
|
223
|
-
/** Schemas for the
|
|
224
|
-
namespace
|
|
225
|
-
/** Query parameters for funding
|
|
195
|
+
/** Schemas for the quoteFunding operation. */
|
|
196
|
+
namespace quoteFunding {
|
|
197
|
+
/** Query parameters for live funding quotes. */
|
|
226
198
|
const Query: z.ZodMiniObject<{
|
|
227
199
|
destinationToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
200
|
+
provider: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
201
|
+
across: "across";
|
|
202
|
+
relay: "relay";
|
|
203
|
+
rhino: "rhino";
|
|
204
|
+
}>>;
|
|
231
205
|
sourceAmount: z.ZodMiniString<string>;
|
|
232
206
|
sourceAmountUnits: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
233
207
|
baseUnits: "baseUnits";
|
|
@@ -236,14 +210,14 @@ export declare namespace schema {
|
|
|
236
210
|
sourceChain: z.ZodMiniString<string>;
|
|
237
211
|
sourceToken: z.ZodMiniString<string>;
|
|
238
212
|
}, z.core.$strict>;
|
|
239
|
-
/** Non-paginated list of funding
|
|
213
|
+
/** Non-paginated list of successful funding quotes. */
|
|
240
214
|
const Response: z.ZodMiniObject<{
|
|
241
215
|
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
242
216
|
destinationChain: z.ZodMiniObject<{
|
|
243
217
|
addressFormat: z.ZodMiniEnum<{
|
|
218
|
+
base58: "base58";
|
|
219
|
+
base58check: "base58check";
|
|
244
220
|
evm: "evm";
|
|
245
|
-
solana: "solana";
|
|
246
|
-
tron: "tron";
|
|
247
221
|
}>;
|
|
248
222
|
id: z.ZodMiniString<string>;
|
|
249
223
|
kind: z.ZodMiniEnum<{
|
|
@@ -264,54 +238,43 @@ export declare namespace schema {
|
|
|
264
238
|
tokenKey: z.ZodMiniString<string>;
|
|
265
239
|
verified: z.ZodMiniBoolean<boolean>;
|
|
266
240
|
}, z.core.$strip>;
|
|
267
|
-
errorCode: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
268
241
|
id: z.ZodMiniString<string>;
|
|
269
242
|
provider: z.ZodMiniObject<{
|
|
270
|
-
id: z.
|
|
243
|
+
id: z.ZodMiniEnum<{
|
|
244
|
+
across: "across";
|
|
245
|
+
relay: "relay";
|
|
246
|
+
rhino: "rhino";
|
|
247
|
+
}>;
|
|
271
248
|
kind: z.ZodMiniString<string>;
|
|
272
249
|
name: z.ZodMiniString<string>;
|
|
273
250
|
requiresApiKey: z.ZodMiniBoolean<boolean>;
|
|
274
251
|
}, z.core.$strip>;
|
|
275
252
|
quality: z.ZodMiniObject<{
|
|
276
|
-
|
|
277
|
-
estimatedSeconds: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
278
|
-
feeBps: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
279
|
-
historicalVolumeUsd24h: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
280
|
-
instantVolumeUsd: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
253
|
+
estimatedSeconds: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
281
254
|
liquiditySource: z.ZodMiniString<string>;
|
|
282
|
-
|
|
283
|
-
sourceDetail: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
255
|
+
sourceDetail: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
284
256
|
tier: z.ZodMiniEnum<{
|
|
285
|
-
error: "error";
|
|
286
257
|
liquid: "liquid";
|
|
287
258
|
thin: "thin";
|
|
288
|
-
unavailable: "unavailable";
|
|
289
|
-
unknown: "unknown";
|
|
290
259
|
}>;
|
|
291
260
|
}, z.core.$strip>;
|
|
292
|
-
quote: z.
|
|
293
|
-
expiresAt: z.
|
|
261
|
+
quote: z.ZodMiniObject<{
|
|
262
|
+
expiresAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
294
263
|
inputAmount: z.ZodMiniString<string>;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
minSourceAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
299
|
-
}, z.core.$strip>>;
|
|
300
|
-
minimumOutputAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
301
|
-
outputAmount: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
302
|
-
outputAmountFormatted: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
264
|
+
minimumOutputAmount: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
265
|
+
outputAmount: z.ZodMiniString<string>;
|
|
266
|
+
outputAmountFormatted: z.ZodMiniString<string>;
|
|
303
267
|
sampledAt: z.ZodMiniISODateTime;
|
|
304
|
-
}, z.core.$strip
|
|
268
|
+
}, z.core.$strip>;
|
|
305
269
|
sourceAmount: z.ZodMiniObject<{
|
|
306
270
|
amount: z.ZodMiniString<string>;
|
|
307
271
|
formatted: z.ZodMiniString<string>;
|
|
308
|
-
usd: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
309
272
|
}, z.core.$strip>;
|
|
310
273
|
sourceChain: z.ZodMiniObject<{
|
|
311
274
|
addressFormat: z.ZodMiniEnum<{
|
|
275
|
+
base58: "base58";
|
|
276
|
+
base58check: "base58check";
|
|
312
277
|
evm: "evm";
|
|
313
|
-
solana: "solana";
|
|
314
|
-
tron: "tron";
|
|
315
278
|
}>;
|
|
316
279
|
id: z.ZodMiniString<string>;
|
|
317
280
|
kind: z.ZodMiniEnum<{
|
|
@@ -332,13 +295,6 @@ export declare namespace schema {
|
|
|
332
295
|
tokenKey: z.ZodMiniString<string>;
|
|
333
296
|
verified: z.ZodMiniBoolean<boolean>;
|
|
334
297
|
}, z.core.$strip>;
|
|
335
|
-
status: z.ZodMiniEnum<{
|
|
336
|
-
available: "available";
|
|
337
|
-
error: "error";
|
|
338
|
-
thin: "thin";
|
|
339
|
-
unavailable: "unavailable";
|
|
340
|
-
unknown: "unknown";
|
|
341
|
-
}>;
|
|
342
298
|
}, z.core.$strip>>;
|
|
343
299
|
}, z.core.$strip>;
|
|
344
300
|
}
|
|
@@ -348,9 +304,9 @@ export declare namespace schema {
|
|
|
348
304
|
const Response: z.ZodMiniObject<{
|
|
349
305
|
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
350
306
|
addressFormat: z.ZodMiniEnum<{
|
|
307
|
+
base58: "base58";
|
|
308
|
+
base58check: "base58check";
|
|
351
309
|
evm: "evm";
|
|
352
|
-
solana: "solana";
|
|
353
|
-
tron: "tron";
|
|
354
310
|
}>;
|
|
355
311
|
id: z.ZodMiniString<string>;
|
|
356
312
|
kind: z.ZodMiniEnum<{
|
|
@@ -375,34 +331,28 @@ export declare namespace schema {
|
|
|
375
331
|
}
|
|
376
332
|
/** Schemas for the listProviders operation. */
|
|
377
333
|
namespace listProviders {
|
|
378
|
-
/**
|
|
379
|
-
const Query: z.ZodMiniObject<{
|
|
380
|
-
capability: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
381
|
-
fundingRoutes: "fundingRoutes";
|
|
382
|
-
}>>;
|
|
383
|
-
}, z.core.$strict>;
|
|
384
|
-
/** Non-paginated generic provider catalog. */
|
|
334
|
+
/** Non-paginated funding quote provider catalog. */
|
|
385
335
|
const Response: z.ZodMiniObject<{
|
|
386
336
|
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
337
|
+
id: z.ZodMiniEnum<{
|
|
338
|
+
across: "across";
|
|
339
|
+
relay: "relay";
|
|
340
|
+
rhino: "rhino";
|
|
341
|
+
}>;
|
|
391
342
|
kind: z.ZodMiniString<string>;
|
|
392
343
|
name: z.ZodMiniString<string>;
|
|
393
344
|
requiresApiKey: z.ZodMiniBoolean<boolean>;
|
|
394
345
|
status: z.ZodMiniEnum<{
|
|
395
346
|
configured: "configured";
|
|
396
|
-
|
|
397
|
-
planned: "planned";
|
|
347
|
+
unconfigured: "unconfigured";
|
|
398
348
|
}>;
|
|
399
349
|
}, z.core.$strip>>;
|
|
400
350
|
}, z.core.$strip>;
|
|
401
351
|
}
|
|
402
352
|
}
|
|
403
|
-
/** Mounts funding
|
|
353
|
+
/** Mounts live funding quotes and their supporting inventory endpoints. */
|
|
404
354
|
export declare function funding(options?: funding.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
405
|
-
"/v1/funding/
|
|
355
|
+
"/v1/funding/quotes": {
|
|
406
356
|
$get: {
|
|
407
357
|
output: null;
|
|
408
358
|
outputFormat: "body";
|
|
@@ -410,8 +360,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
410
360
|
input: {
|
|
411
361
|
query: {
|
|
412
362
|
destinationToken?: string | string[];
|
|
413
|
-
include?: string | string[];
|
|
414
|
-
limit?: string | string[];
|
|
415
363
|
provider?: string | string[];
|
|
416
364
|
sourceAmount: string | string[];
|
|
417
365
|
sourceAmountUnits?: string | string[];
|
|
@@ -433,8 +381,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
433
381
|
input: {
|
|
434
382
|
query: {
|
|
435
383
|
destinationToken?: string | string[];
|
|
436
|
-
include?: string | string[];
|
|
437
|
-
limit?: string | string[];
|
|
438
384
|
provider?: string | string[];
|
|
439
385
|
sourceAmount: string | string[];
|
|
440
386
|
sourceAmountUnits?: string | string[];
|
|
@@ -456,8 +402,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
456
402
|
input: {
|
|
457
403
|
query: {
|
|
458
404
|
destinationToken?: string | string[];
|
|
459
|
-
include?: string | string[];
|
|
460
|
-
limit?: string | string[];
|
|
461
405
|
provider?: string | string[];
|
|
462
406
|
sourceAmount: string | string[];
|
|
463
407
|
sourceAmountUnits?: string | string[];
|
|
@@ -479,8 +423,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
479
423
|
input: {
|
|
480
424
|
query: {
|
|
481
425
|
destinationToken?: string | string[];
|
|
482
|
-
include?: string | string[];
|
|
483
|
-
limit?: string | string[];
|
|
484
426
|
provider?: string | string[];
|
|
485
427
|
sourceAmount: string | string[];
|
|
486
428
|
sourceAmountUnits?: string | string[];
|
|
@@ -502,8 +444,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
502
444
|
input: {
|
|
503
445
|
query: {
|
|
504
446
|
destinationToken?: string | string[];
|
|
505
|
-
include?: string | string[];
|
|
506
|
-
limit?: string | string[];
|
|
507
447
|
provider?: string | string[];
|
|
508
448
|
sourceAmount: string | string[];
|
|
509
449
|
sourceAmountUnits?: string | string[];
|
|
@@ -525,8 +465,27 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
525
465
|
input: {
|
|
526
466
|
query: {
|
|
527
467
|
destinationToken?: string | string[];
|
|
528
|
-
|
|
529
|
-
|
|
468
|
+
provider?: string | string[];
|
|
469
|
+
sourceAmount: string | string[];
|
|
470
|
+
sourceAmountUnits?: string | string[];
|
|
471
|
+
sourceChain: string | string[];
|
|
472
|
+
sourceToken: string | string[];
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
} | {
|
|
476
|
+
output: {
|
|
477
|
+
error: {
|
|
478
|
+
code: "upstream_error";
|
|
479
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
480
|
+
message: string;
|
|
481
|
+
};
|
|
482
|
+
requestId: string;
|
|
483
|
+
};
|
|
484
|
+
outputFormat: "json";
|
|
485
|
+
status: 502;
|
|
486
|
+
input: {
|
|
487
|
+
query: {
|
|
488
|
+
destinationToken?: string | string[];
|
|
530
489
|
provider?: string | string[];
|
|
531
490
|
sourceAmount: string | string[];
|
|
532
491
|
sourceAmountUnits?: string | string[];
|
|
@@ -538,7 +497,7 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
538
497
|
output: {
|
|
539
498
|
data: {
|
|
540
499
|
destinationChain: {
|
|
541
|
-
addressFormat: "
|
|
500
|
+
addressFormat: "base58" | "base58check" | "evm";
|
|
542
501
|
id: string;
|
|
543
502
|
kind: "evm" | "solana" | "tron";
|
|
544
503
|
name: string;
|
|
@@ -558,45 +517,33 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
558
517
|
tokenKey: string;
|
|
559
518
|
verified: boolean;
|
|
560
519
|
};
|
|
561
|
-
errorCode: string | null;
|
|
562
520
|
id: string;
|
|
563
521
|
provider: {
|
|
564
|
-
id:
|
|
522
|
+
id: "across" | "relay" | "rhino";
|
|
565
523
|
kind: string;
|
|
566
524
|
name: string;
|
|
567
525
|
requiresApiKey: boolean;
|
|
568
526
|
};
|
|
569
527
|
quality: {
|
|
570
|
-
|
|
571
|
-
estimatedSeconds: number | null;
|
|
572
|
-
feeBps: number | null;
|
|
573
|
-
historicalVolumeUsd24h: string | null;
|
|
574
|
-
instantVolumeUsd: string | null;
|
|
528
|
+
estimatedSeconds?: number | undefined;
|
|
575
529
|
liquiditySource: string;
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
tier: "error" | "liquid" | "thin" | "unavailable" | "unknown";
|
|
530
|
+
sourceDetail?: string | undefined;
|
|
531
|
+
tier: "liquid" | "thin";
|
|
579
532
|
};
|
|
580
533
|
quote: {
|
|
581
|
-
expiresAt
|
|
534
|
+
expiresAt?: string | undefined;
|
|
582
535
|
inputAmount: string;
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
minSourceAmount: string | null;
|
|
587
|
-
} | null;
|
|
588
|
-
minimumOutputAmount: string | null;
|
|
589
|
-
outputAmount: string | null;
|
|
590
|
-
outputAmountFormatted: string | null;
|
|
536
|
+
minimumOutputAmount?: string | undefined;
|
|
537
|
+
outputAmount: string;
|
|
538
|
+
outputAmountFormatted: string;
|
|
591
539
|
sampledAt: string;
|
|
592
|
-
}
|
|
540
|
+
};
|
|
593
541
|
sourceAmount: {
|
|
594
542
|
amount: string;
|
|
595
543
|
formatted: string;
|
|
596
|
-
usd: string | null;
|
|
597
544
|
};
|
|
598
545
|
sourceChain: {
|
|
599
|
-
addressFormat: "
|
|
546
|
+
addressFormat: "base58" | "base58check" | "evm";
|
|
600
547
|
id: string;
|
|
601
548
|
kind: "evm" | "solana" | "tron";
|
|
602
549
|
name: string;
|
|
@@ -616,7 +563,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
616
563
|
tokenKey: string;
|
|
617
564
|
verified: boolean;
|
|
618
565
|
};
|
|
619
|
-
status: "available" | "error" | "thin" | "unavailable" | "unknown";
|
|
620
566
|
}[];
|
|
621
567
|
};
|
|
622
568
|
outputFormat: "json";
|
|
@@ -624,8 +570,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
624
570
|
input: {
|
|
625
571
|
query: {
|
|
626
572
|
destinationToken?: string | string[];
|
|
627
|
-
include?: string | string[];
|
|
628
|
-
limit?: string | string[];
|
|
629
573
|
provider?: string | string[];
|
|
630
574
|
sourceAmount: string | string[];
|
|
631
575
|
sourceAmountUnits?: string | string[];
|
|
@@ -693,7 +637,7 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
693
637
|
} | {
|
|
694
638
|
output: {
|
|
695
639
|
data: {
|
|
696
|
-
addressFormat: "
|
|
640
|
+
addressFormat: "base58" | "base58check" | "evm";
|
|
697
641
|
id: string;
|
|
698
642
|
kind: "evm" | "solana" | "tron";
|
|
699
643
|
name: string;
|
|
@@ -720,16 +664,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
720
664
|
};
|
|
721
665
|
};
|
|
722
666
|
} & {
|
|
723
|
-
"/v1/providers": {
|
|
667
|
+
"/v1/funding/providers": {
|
|
724
668
|
$get: {
|
|
725
669
|
output: null;
|
|
726
670
|
outputFormat: "body";
|
|
727
671
|
status: 402;
|
|
728
|
-
input: {
|
|
729
|
-
query?: {
|
|
730
|
-
capability?: string | string[];
|
|
731
|
-
} | undefined;
|
|
732
|
-
};
|
|
672
|
+
input: {};
|
|
733
673
|
} | {
|
|
734
674
|
output: {
|
|
735
675
|
error: {
|
|
@@ -741,11 +681,7 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
741
681
|
};
|
|
742
682
|
outputFormat: "json";
|
|
743
683
|
status: 400;
|
|
744
|
-
input: {
|
|
745
|
-
query?: {
|
|
746
|
-
capability?: string | string[];
|
|
747
|
-
} | undefined;
|
|
748
|
-
};
|
|
684
|
+
input: {};
|
|
749
685
|
} | {
|
|
750
686
|
output: {
|
|
751
687
|
error: {
|
|
@@ -757,11 +693,7 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
757
693
|
};
|
|
758
694
|
outputFormat: "json";
|
|
759
695
|
status: 401;
|
|
760
|
-
input: {
|
|
761
|
-
query?: {
|
|
762
|
-
capability?: string | string[];
|
|
763
|
-
} | undefined;
|
|
764
|
-
};
|
|
696
|
+
input: {};
|
|
765
697
|
} | {
|
|
766
698
|
output: {
|
|
767
699
|
error: {
|
|
@@ -773,11 +705,7 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
773
705
|
};
|
|
774
706
|
outputFormat: "json";
|
|
775
707
|
status: 403;
|
|
776
|
-
input: {
|
|
777
|
-
query?: {
|
|
778
|
-
capability?: string | string[];
|
|
779
|
-
} | undefined;
|
|
780
|
-
};
|
|
708
|
+
input: {};
|
|
781
709
|
} | {
|
|
782
710
|
output: {
|
|
783
711
|
error: {
|
|
@@ -789,53 +717,28 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
789
717
|
};
|
|
790
718
|
outputFormat: "json";
|
|
791
719
|
status: 429;
|
|
792
|
-
input: {
|
|
793
|
-
query?: {
|
|
794
|
-
capability?: string | string[];
|
|
795
|
-
} | undefined;
|
|
796
|
-
};
|
|
797
|
-
} | {
|
|
798
|
-
output: {
|
|
799
|
-
error: {
|
|
800
|
-
code: "query_invalid";
|
|
801
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
802
|
-
message: string;
|
|
803
|
-
};
|
|
804
|
-
requestId: string;
|
|
805
|
-
};
|
|
806
|
-
outputFormat: "json";
|
|
807
|
-
status: 400;
|
|
808
|
-
input: {
|
|
809
|
-
query?: {
|
|
810
|
-
capability?: string | string[];
|
|
811
|
-
} | undefined;
|
|
812
|
-
};
|
|
720
|
+
input: {};
|
|
813
721
|
} | {
|
|
814
722
|
output: {
|
|
815
723
|
data: {
|
|
816
|
-
|
|
817
|
-
id: string;
|
|
724
|
+
id: "across" | "relay" | "rhino";
|
|
818
725
|
kind: string;
|
|
819
726
|
name: string;
|
|
820
727
|
requiresApiKey: boolean;
|
|
821
|
-
status: "configured" | "
|
|
728
|
+
status: "configured" | "unconfigured";
|
|
822
729
|
}[];
|
|
823
730
|
};
|
|
824
731
|
outputFormat: "json";
|
|
825
732
|
status: 200;
|
|
826
|
-
input: {
|
|
827
|
-
query?: {
|
|
828
|
-
capability?: string | string[];
|
|
829
|
-
} | undefined;
|
|
830
|
-
};
|
|
733
|
+
input: {};
|
|
831
734
|
};
|
|
832
735
|
};
|
|
833
|
-
}, "/", "/v1/providers">;
|
|
736
|
+
}, "/", "/v1/funding/providers">;
|
|
834
737
|
export declare namespace funding {
|
|
835
|
-
/** Options for funding
|
|
738
|
+
/** Options for live funding quotes. */
|
|
836
739
|
type Options = {
|
|
837
|
-
/** Provider adapters used to
|
|
838
|
-
adapters?:
|
|
740
|
+
/** Provider adapters used to request live quotes. */
|
|
741
|
+
adapters?: FundingQuotes.ProviderAdapters | undefined;
|
|
839
742
|
/** Per-provider quote timeout in milliseconds. */
|
|
840
743
|
adapterTimeoutMs?: number | undefined;
|
|
841
744
|
};
|