tapimo 0.1.0 → 0.3.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/README.md +57 -16
- package/dist/ApiKey.d.ts +4 -1
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +6 -2
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +98 -3
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +150 -1
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +7917 -2315
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +141 -329
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +20 -4
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +23 -4
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +2 -2
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +2 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +203 -120
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +111 -6
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +67 -0
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +12 -1
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +3 -0
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +116 -116
- package/dist/admin/apps/verified-tokens.js +1 -1
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +13 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +151 -0
- package/dist/analytics/Analytics.d.ts.map +1 -0
- package/dist/analytics/Analytics.js +212 -0
- package/dist/analytics/Analytics.js.map +1 -0
- package/dist/analytics/tables/requestEvents.d.ts +215 -0
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -0
- package/dist/analytics/tables/requestEvents.js +264 -0
- package/dist/analytics/tables/requestEvents.js.map +1 -0
- package/dist/apps/data/App.d.ts +19576 -0
- package/dist/apps/data/App.d.ts.map +1 -0
- package/dist/apps/data/App.js +272 -0
- package/dist/apps/data/App.js.map +1 -0
- package/dist/apps/data/index.d.ts +3 -0
- package/dist/apps/data/index.d.ts.map +1 -0
- package/dist/apps/data/index.js +3 -0
- package/dist/apps/data/index.js.map +1 -0
- package/dist/apps/{activities.d.ts → data/routes/activities.d.ts} +32 -32
- package/dist/apps/{activities.d.ts.map → data/routes/activities.d.ts.map} +1 -1
- package/dist/apps/{activities.js → data/routes/activities.js} +13 -13
- package/dist/apps/data/routes/activities.js.map +1 -0
- package/dist/apps/{addresses.d.ts → data/routes/addresses.d.ts} +22 -22
- package/dist/apps/{addresses.d.ts.map → data/routes/addresses.d.ts.map} +1 -1
- package/dist/apps/{addresses.js → data/routes/addresses.js} +5 -5
- package/dist/apps/data/routes/addresses.js.map +1 -0
- package/dist/apps/{balances.d.ts → data/routes/balances.d.ts} +4 -4
- package/dist/apps/data/routes/balances.d.ts.map +1 -0
- package/dist/apps/{balances.js → data/routes/balances.js} +42 -11
- package/dist/apps/data/routes/balances.js.map +1 -0
- package/dist/apps/{blocks.d.ts → data/routes/blocks.d.ts} +47 -47
- package/dist/apps/data/routes/blocks.d.ts.map +1 -0
- package/dist/apps/{blocks.js → data/routes/blocks.js} +13 -13
- package/dist/apps/data/routes/blocks.js.map +1 -0
- package/dist/apps/{coingecko.d.ts → data/routes/coingecko.d.ts} +8 -8
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -0
- package/dist/apps/{coingecko.js → data/routes/coingecko.js} +13 -13
- package/dist/apps/data/routes/coingecko.js.map +1 -0
- package/dist/apps/{exchanges.d.ts → data/routes/exchanges.d.ts} +108 -108
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -0
- package/dist/apps/{exchanges.js → data/routes/exchanges.js} +19 -19
- package/dist/apps/data/routes/exchanges.js.map +1 -0
- package/dist/apps/{fee-amm.d.ts → data/routes/fee-amm.d.ts} +39 -39
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -0
- package/dist/apps/{fee-amm.js → data/routes/fee-amm.js} +17 -17
- package/dist/apps/data/routes/fee-amm.js.map +1 -0
- package/dist/apps/data/routes/funding.d.ts +765 -0
- package/dist/apps/data/routes/funding.d.ts.map +1 -0
- package/dist/apps/data/routes/funding.js +383 -0
- package/dist/apps/data/routes/funding.js.map +1 -0
- package/dist/apps/{indexer.d.ts → data/routes/indexer.d.ts} +4 -4
- package/dist/apps/data/routes/indexer.d.ts.map +1 -0
- package/dist/apps/{indexer.js → data/routes/indexer.js} +13 -9
- package/dist/apps/data/routes/indexer.js.map +1 -0
- package/dist/apps/{receipts.d.ts → data/routes/receipts.d.ts} +49 -49
- package/dist/apps/data/routes/receipts.d.ts.map +1 -0
- package/dist/apps/{receipts.js → data/routes/receipts.js} +14 -20
- package/dist/apps/data/routes/receipts.js.map +1 -0
- package/dist/apps/{rpc.d.ts → data/routes/rpc.d.ts} +33 -40
- package/dist/apps/data/routes/rpc.d.ts.map +1 -0
- package/dist/apps/{rpc.js → data/routes/rpc.js} +35 -7
- package/dist/apps/data/routes/rpc.js.map +1 -0
- package/dist/apps/{tokenlist.d.ts → data/routes/tokenlist.d.ts} +40 -40
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -0
- package/dist/apps/{tokenlist.js → data/routes/tokenlist.js} +8 -8
- package/dist/apps/data/routes/tokenlist.js.map +1 -0
- package/dist/apps/{tokens.d.ts → data/routes/tokens.d.ts} +468 -468
- package/dist/apps/data/routes/tokens.d.ts.map +1 -0
- package/dist/apps/{tokens.js → data/routes/tokens.js} +19 -19
- package/dist/apps/data/routes/tokens.js.map +1 -0
- package/dist/apps/{transactions.d.ts → data/routes/transactions.d.ts} +304 -304
- package/dist/apps/data/routes/transactions.d.ts.map +1 -0
- package/dist/apps/{transactions.js → data/routes/transactions.js} +13 -13
- package/dist/apps/data/routes/transactions.js.map +1 -0
- package/dist/apps/{transfers.d.ts → data/routes/transfers.d.ts} +62 -62
- package/dist/apps/data/routes/transfers.d.ts.map +1 -0
- package/dist/apps/{transfers.js → data/routes/transfers.js} +13 -13
- package/dist/apps/data/routes/transfers.js.map +1 -0
- package/dist/apps/{verified-tokens.d.ts → data/routes/verified-tokens.d.ts} +6 -6
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -0
- package/dist/apps/{verified-tokens.js → data/routes/verified-tokens.js} +9 -9
- package/dist/apps/data/routes/verified-tokens.js.map +1 -0
- package/dist/apps/{webhooks.d.ts → data/routes/webhooks.d.ts} +17 -17
- package/dist/apps/{webhooks.d.ts.map → data/routes/webhooks.d.ts.map} +1 -1
- package/dist/apps/{webhooks.js → data/routes/webhooks.js} +38 -34
- package/dist/apps/data/routes/webhooks.js.map +1 -0
- package/dist/apps/docs/App.d.ts +29 -0
- package/dist/apps/docs/App.d.ts.map +1 -0
- package/dist/apps/docs/App.js +54 -0
- package/dist/apps/docs/App.js.map +1 -0
- package/dist/{internal/OpenApi.fonts.d.ts → apps/docs/fonts.d.ts} +1 -1
- package/dist/apps/docs/fonts.d.ts.map +1 -0
- package/dist/{internal/OpenApi.fonts.js → apps/docs/fonts.js} +1 -1
- package/dist/apps/docs/fonts.js.map +1 -0
- package/dist/apps/docs/index.d.ts +2 -0
- package/dist/apps/docs/index.d.ts.map +1 -0
- package/dist/apps/docs/index.js +2 -0
- package/dist/apps/docs/index.js.map +1 -0
- package/dist/{internal/OpenApi.logo.d.ts → apps/docs/logo.d.ts} +1 -1
- package/dist/apps/docs/logo.d.ts.map +1 -0
- package/dist/{internal/OpenApi.logo.js → apps/docs/logo.js} +1 -1
- package/dist/apps/docs/logo.js.map +1 -0
- package/dist/apps/docs/reference.d.ts +21 -0
- package/dist/apps/docs/reference.d.ts.map +1 -0
- package/dist/apps/docs/reference.js +112 -0
- package/dist/apps/docs/reference.js.map +1 -0
- package/dist/apps/index.d.ts +5 -0
- package/dist/apps/index.d.ts.map +1 -0
- package/dist/apps/index.js +5 -0
- package/dist/apps/index.js.map +1 -0
- package/dist/apps/mcp.d.ts +76 -0
- package/dist/apps/mcp.d.ts.map +1 -0
- package/dist/apps/mcp.js +188 -0
- package/dist/apps/mcp.js.map +1 -0
- package/dist/apps/metadata.d.ts +7 -0
- package/dist/apps/metadata.d.ts.map +1 -0
- package/dist/apps/metadata.js +15 -0
- package/dist/apps/metadata.js.map +1 -0
- package/dist/apps/platform/App.d.ts +5262 -0
- package/dist/apps/platform/App.d.ts.map +1 -0
- package/dist/apps/platform/App.js +84 -0
- package/dist/apps/platform/App.js.map +1 -0
- package/dist/apps/platform/Billing.d.ts +279 -0
- package/dist/apps/platform/Billing.d.ts.map +1 -0
- package/dist/apps/platform/Billing.js +477 -0
- package/dist/apps/platform/Billing.js.map +1 -0
- package/dist/apps/platform/index.d.ts +3 -0
- package/dist/apps/platform/index.d.ts.map +1 -0
- package/dist/apps/platform/index.js +3 -0
- package/dist/apps/platform/index.js.map +1 -0
- package/dist/apps/platform/routes/api-keys.d.ts +973 -0
- package/dist/apps/platform/routes/api-keys.d.ts.map +1 -0
- package/dist/apps/platform/routes/api-keys.js +430 -0
- package/dist/apps/platform/routes/api-keys.js.map +1 -0
- package/dist/apps/platform/routes/billing.d.ts +1520 -0
- package/dist/apps/platform/routes/billing.d.ts.map +1 -0
- package/dist/apps/platform/routes/billing.js +795 -0
- package/dist/apps/platform/routes/billing.js.map +1 -0
- package/dist/apps/platform/routes/invitations.d.ts +851 -0
- package/dist/apps/platform/routes/invitations.d.ts.map +1 -0
- package/dist/apps/platform/routes/invitations.js +471 -0
- package/dist/apps/platform/routes/invitations.js.map +1 -0
- package/dist/apps/platform/routes/me.d.ts +95 -0
- package/dist/apps/platform/routes/me.d.ts.map +1 -0
- package/dist/apps/platform/routes/me.js +81 -0
- package/dist/apps/platform/routes/me.js.map +1 -0
- package/dist/apps/platform/routes/members.d.ts +554 -0
- package/dist/apps/platform/routes/members.d.ts.map +1 -0
- package/dist/apps/platform/routes/members.js +251 -0
- package/dist/apps/platform/routes/members.js.map +1 -0
- package/dist/apps/platform/routes/orgs.d.ts +596 -0
- package/dist/apps/platform/routes/orgs.d.ts.map +1 -0
- package/dist/apps/platform/routes/orgs.js +276 -0
- package/dist/apps/platform/routes/orgs.js.map +1 -0
- package/dist/apps/platform/routes/projects.d.ts +740 -0
- package/dist/apps/platform/routes/projects.d.ts.map +1 -0
- package/dist/apps/platform/routes/projects.js +286 -0
- package/dist/apps/platform/routes/projects.js.map +1 -0
- package/dist/apps/platform/routes/scopes.d.ts +107 -0
- package/dist/apps/platform/routes/scopes.d.ts.map +1 -0
- package/dist/apps/platform/routes/scopes.js +66 -0
- package/dist/apps/platform/routes/scopes.js.map +1 -0
- package/dist/apps/platform/routes/usage.d.ts +588 -0
- package/dist/apps/platform/routes/usage.d.ts.map +1 -0
- package/dist/apps/platform/routes/usage.js +391 -0
- package/dist/apps/platform/routes/usage.js.map +1 -0
- package/dist/apps/relay/App.d.ts +44 -0
- package/dist/apps/relay/App.d.ts.map +1 -0
- package/dist/apps/relay/App.js +211 -0
- package/dist/apps/relay/App.js.map +1 -0
- package/dist/apps/relay/Sponsorships.d.ts +107 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -0
- package/dist/apps/relay/Sponsorships.js +194 -0
- package/dist/apps/relay/Sponsorships.js.map +1 -0
- package/dist/apps/relay/index.d.ts +3 -0
- package/dist/apps/relay/index.d.ts.map +1 -0
- package/dist/apps/relay/index.js +3 -0
- package/dist/apps/relay/index.js.map +1 -0
- package/dist/cli/Cli.d.ts +9 -2
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +12 -4
- package/dist/cli/Cli.js.map +1 -1
- package/dist/cli/commands/admin.d.ts +5 -1
- package/dist/cli/commands/admin.d.ts.map +1 -1
- package/dist/cli/commands/admin.js +82 -3
- package/dist/cli/commands/admin.js.map +1 -1
- package/dist/db/Db.d.ts +17 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +254 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +159 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +187 -2
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/billingSettings.d.ts +55 -0
- package/dist/db/tables/billingSettings.d.ts.map +1 -0
- package/dist/db/tables/billingSettings.js +70 -0
- package/dist/db/tables/billingSettings.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +84 -0
- package/dist/db/tables/invitations.d.ts.map +1 -0
- package/dist/db/tables/invitations.js +165 -0
- package/dist/db/tables/invitations.js.map +1 -0
- package/dist/db/tables/memberships.d.ts +108 -0
- package/dist/db/tables/memberships.d.ts.map +1 -0
- package/dist/db/tables/memberships.js +153 -0
- package/dist/db/tables/memberships.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +48 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +97 -2
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +65 -0
- package/dist/db/tables/projects.d.ts.map +1 -0
- package/dist/db/tables/projects.js +75 -0
- package/dist/db/tables/projects.js.map +1 -0
- package/dist/db/tables/requestUsage.d.ts +121 -0
- package/dist/db/tables/requestUsage.d.ts.map +1 -0
- package/dist/db/tables/requestUsage.js +150 -0
- package/dist/db/tables/requestUsage.js.map +1 -0
- package/dist/db/tables/sponsoredTransactions.d.ts +239 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -0
- package/dist/db/tables/sponsoredTransactions.js +314 -0
- package/dist/db/tables/sponsoredTransactions.js.map +1 -0
- package/dist/db/tables/stripeCustomers.d.ts +81 -0
- package/dist/db/tables/stripeCustomers.d.ts.map +1 -0
- package/dist/db/tables/stripeCustomers.js +120 -0
- package/dist/db/tables/stripeCustomers.js.map +1 -0
- package/dist/db/tables/users.d.ts +48 -0
- package/dist/db/tables/users.d.ts.map +1 -0
- package/dist/db/tables/users.js +65 -0
- package/dist/db/tables/users.js.map +1 -0
- package/dist/handlers/internal/executionError.d.ts.map +1 -1
- package/dist/handlers/internal/executionError.js +2 -0
- package/dist/handlers/internal/executionError.js.map +1 -1
- package/dist/handlers/internal/multisig.d.ts +2 -6
- package/dist/handlers/internal/multisig.d.ts.map +1 -1
- package/dist/handlers/internal/multisig.js +11 -36
- package/dist/handlers/internal/multisig.js.map +1 -1
- package/dist/handlers/internal/sponsorship.d.ts +35 -2
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
- package/dist/handlers/internal/sponsorship.js +53 -14
- package/dist/handlers/internal/sponsorship.js.map +1 -1
- package/dist/handlers/internal/utils.d.ts +10 -3
- package/dist/handlers/internal/utils.d.ts.map +1 -1
- package/dist/handlers/internal/utils.js +14 -6
- package/dist/handlers/internal/utils.js.map +1 -1
- package/dist/handlers/relay.d.ts +6 -2
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +16 -2
- package/dist/handlers/relay.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +222 -6
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +625 -74
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +4 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +10 -0
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +39 -8
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/Fees.d.ts +27 -0
- package/dist/internal/Fees.d.ts.map +1 -0
- package/dist/internal/Fees.js +48 -0
- package/dist/internal/Fees.js.map +1 -0
- package/dist/internal/FundingRoutes.d.ts +183 -0
- package/dist/internal/FundingRoutes.d.ts.map +1 -0
- package/dist/internal/FundingRoutes.js +490 -0
- package/dist/internal/FundingRoutes.js.map +1 -0
- package/dist/internal/Id.d.ts +15 -0
- package/dist/internal/Id.d.ts.map +1 -0
- package/dist/internal/Id.js +22 -0
- package/dist/internal/Id.js.map +1 -0
- package/dist/internal/Log.d.ts +9 -3
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +7 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +10 -20
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +8 -58
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +25 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +51 -0
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Response.d.ts +1 -1
- package/dist/internal/Response.d.ts.map +1 -1
- package/dist/internal/Schema.d.ts +8 -0
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +7 -0
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +7 -1
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +16 -2
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Viem.d.ts +84 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Webhooks.d.ts +1 -1
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +3 -3
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +33 -6
- package/src/ApiKey.ts +10 -2
- package/src/ApiKeys.test.ts +155 -1
- package/src/ApiKeys.ts +203 -1
- package/src/App.test.ts +64 -75741
- package/src/App.ts +218 -420
- package/src/Client.test-d.ts +657 -15
- package/src/Scope.ts +26 -4
- package/src/Webhooks.ts +2 -2
- package/src/admin/apps/api-keys.test.ts +51 -0
- package/src/admin/apps/api-keys.ts +84 -0
- package/src/admin/apps/scopes.test.ts +11 -1
- package/src/admin/apps/scopes.ts +3 -0
- package/src/admin/apps/verified-tokens.ts +1 -1
- package/src/admin/ui/src/components/Page.tsx +2 -3
- package/src/admin/ui/src/routes/__root.tsx +2 -2
- package/src/admin/ui/src/routes/api-keys.tsx +2 -2
- package/src/admin/ui.generated.ts +13 -13
- package/src/analytics/Analytics.test.ts +527 -0
- package/src/analytics/Analytics.ts +318 -0
- package/src/analytics/tables/requestEvents.ts +523 -0
- package/src/apps/composition.test.ts +66 -0
- package/src/apps/data/App.test.ts +72 -0
- package/src/apps/data/App.ts +330 -0
- package/src/apps/data/index.ts +2 -0
- package/src/apps/{activities.test.ts → data/routes/activities.test.ts} +3 -3
- package/src/apps/{activities.ts → data/routes/activities.ts} +15 -15
- package/src/apps/{addresses.ts → data/routes/addresses.ts} +6 -6
- package/src/apps/{balances.test.ts → data/routes/balances.test.ts} +2 -2
- package/src/apps/{balances.ts → data/routes/balances.ts} +46 -12
- package/src/apps/{blocks.test.ts → data/routes/blocks.test.ts} +3 -3
- package/src/apps/{blocks.ts → data/routes/blocks.ts} +14 -14
- package/src/apps/{coingecko.test.ts → data/routes/coingecko.test.ts} +2 -2
- package/src/apps/{coingecko.ts → data/routes/coingecko.ts} +14 -14
- package/src/apps/{exchanges.test.ts → data/routes/exchanges.test.ts} +1 -1
- package/src/apps/{exchanges.ts → data/routes/exchanges.ts} +20 -20
- package/src/apps/{fee-amm.test.ts → data/routes/fee-amm.test.ts} +3 -3
- package/src/apps/{fee-amm.ts → data/routes/fee-amm.ts} +18 -18
- package/src/apps/data/routes/funding.test.ts +214 -0
- package/src/apps/data/routes/funding.ts +584 -0
- package/src/apps/{indexer.test.ts → data/routes/indexer.test.ts} +26 -5
- package/src/apps/{indexer.ts → data/routes/indexer.ts} +13 -10
- package/src/apps/{receipts.test.ts → data/routes/receipts.test.ts} +3 -3
- package/src/apps/{receipts.ts → data/routes/receipts.ts} +15 -22
- package/src/apps/{rpc.test.ts → data/routes/rpc.test.ts} +122 -7
- package/src/apps/{rpc.ts → data/routes/rpc.ts} +38 -8
- package/src/apps/{tokenlist.test.ts → data/routes/tokenlist.test.ts} +3 -3
- package/src/apps/{tokenlist.ts → data/routes/tokenlist.ts} +9 -9
- package/src/apps/{tokens.test.ts → data/routes/tokens.test.ts} +2 -2
- package/src/apps/{tokens.ts → data/routes/tokens.ts} +20 -20
- package/src/apps/{transactions.test.ts → data/routes/transactions.test.ts} +3 -3
- package/src/apps/{transactions.ts → data/routes/transactions.ts} +15 -15
- package/src/apps/{transfers.test.ts → data/routes/transfers.test.ts} +2 -2
- package/src/apps/{transfers.ts → data/routes/transfers.ts} +15 -15
- package/src/apps/{verified-tokens.test.ts → data/routes/verified-tokens.test.ts} +3 -3
- package/src/apps/{verified-tokens.ts → data/routes/verified-tokens.ts} +10 -10
- package/src/apps/{webhooks.test.ts → data/routes/webhooks.test.ts} +7 -7
- package/src/apps/{webhooks.ts → data/routes/webhooks.ts} +50 -43
- package/src/apps/docs/App.ts +65 -0
- package/src/apps/docs/index.ts +1 -0
- package/src/apps/docs/reference.ts +132 -0
- package/src/apps/index.ts +4 -0
- package/src/apps/mcp.test.ts +206 -0
- package/src/apps/mcp.ts +250 -0
- package/src/apps/metadata.ts +23 -0
- package/src/apps/platform/App.ts +169 -0
- package/src/apps/platform/Billing.test.ts +530 -0
- package/src/apps/platform/Billing.ts +682 -0
- package/src/apps/platform/index.ts +2 -0
- package/src/apps/platform/routes/api-keys.test.ts +493 -0
- package/src/apps/platform/routes/api-keys.ts +543 -0
- package/src/apps/platform/routes/billing.test.ts +1100 -0
- package/src/apps/platform/routes/billing.ts +966 -0
- package/src/apps/platform/routes/invitations.test.ts +409 -0
- package/src/apps/platform/routes/invitations.ts +587 -0
- package/src/apps/platform/routes/me.test.ts +351 -0
- package/src/apps/platform/routes/me.ts +106 -0
- package/src/apps/platform/routes/members.test.ts +195 -0
- package/src/apps/platform/routes/members.ts +313 -0
- package/src/apps/platform/routes/orgs.test.ts +313 -0
- package/src/apps/platform/routes/orgs.ts +365 -0
- package/src/apps/platform/routes/projects.test.ts +181 -0
- package/src/apps/platform/routes/projects.ts +367 -0
- package/src/apps/platform/routes/scopes.test.ts +29 -0
- package/src/apps/platform/routes/scopes.ts +85 -0
- package/src/apps/platform/routes/usage.test.ts +422 -0
- package/src/apps/platform/routes/usage.ts +527 -0
- package/src/apps/relay/App.test.ts +933 -0
- package/src/apps/relay/App.ts +236 -0
- package/src/apps/relay/Sponsorships.test.ts +375 -0
- package/src/apps/relay/Sponsorships.ts +306 -0
- package/src/apps/relay/index.ts +2 -0
- package/src/cli/Cli.test.ts +25 -2
- package/src/cli/Cli.ts +18 -3
- package/src/cli/commands/admin.test.ts +83 -0
- package/src/cli/commands/admin.ts +91 -3
- package/src/db/Db.ts +296 -0
- package/src/db/Schema.ts +241 -2
- package/src/db/tables/billingSettings.test.ts +87 -0
- package/src/db/tables/billingSettings.ts +108 -0
- package/src/db/tables/invitations.ts +198 -0
- package/src/db/tables/memberships.ts +208 -0
- package/src/db/tables/organizations.test.ts +38 -2
- package/src/db/tables/organizations.ts +117 -2
- package/src/db/tables/projects.ts +107 -0
- package/src/db/tables/requestUsage.ts +231 -0
- package/src/db/tables/sponsoredTransactions.test.ts +325 -0
- package/src/db/tables/sponsoredTransactions.ts +464 -0
- package/src/db/tables/stripeCustomers.test.ts +109 -0
- package/src/db/tables/stripeCustomers.ts +162 -0
- package/src/db/tables/users.ts +85 -0
- package/src/handlers/internal/executionError.ts +2 -0
- package/src/handlers/internal/multisig.test.ts +84 -10
- package/src/handlers/internal/multisig.ts +15 -50
- package/src/handlers/internal/sponsorship.ts +106 -20
- package/src/handlers/internal/utils.ts +19 -7
- package/src/handlers/{internal/relay.localnet.test.ts → relay.test.ts} +2 -2
- package/src/handlers/relay.ts +23 -5
- package/src/index.ts +1 -0
- package/src/internal/Auth.test.ts +491 -25
- package/src/internal/Auth.ts +839 -84
- package/src/internal/Cache.ts +5 -1
- package/src/internal/Cursor.test.ts +3 -2
- package/src/internal/EdgeCache.test.ts +27 -4
- package/src/internal/EdgeCache.ts +47 -9
- package/src/internal/Fees.test.ts +32 -0
- package/src/internal/Fees.ts +51 -0
- package/src/internal/FundingRoutes.ts +583 -0
- package/src/internal/Id.test.ts +17 -0
- package/src/internal/Id.ts +24 -0
- package/src/internal/Log.test.ts +2 -1
- package/src/internal/Log.ts +16 -3
- package/src/internal/MetricSink.ts +1 -1
- package/src/internal/OpenApi.ts +12 -60
- package/src/internal/RateLimit.test.ts +84 -0
- package/src/internal/RateLimit.ts +70 -0
- package/src/internal/Response.ts +1 -1
- package/src/internal/Schema.ts +8 -0
- package/src/internal/Store.test.ts +52 -0
- package/src/internal/Store.ts +24 -5
- package/src/internal/Tidx.local.test.ts +1 -1
- package/src/internal/VerifiedTokens.test.ts +1 -1
- package/src/internal/WebhookDestination.test.ts +1 -1
- package/src/internal/Webhooks.test.ts +7 -7
- package/src/internal/Webhooks.ts +4 -4
- package/dist/apps/activities.js.map +0 -1
- package/dist/apps/addresses.js.map +0 -1
- package/dist/apps/balances.d.ts.map +0 -1
- package/dist/apps/balances.js.map +0 -1
- package/dist/apps/blocks.d.ts.map +0 -1
- package/dist/apps/blocks.js.map +0 -1
- package/dist/apps/coingecko.d.ts.map +0 -1
- package/dist/apps/coingecko.js.map +0 -1
- package/dist/apps/exchanges.d.ts.map +0 -1
- package/dist/apps/exchanges.js.map +0 -1
- package/dist/apps/fee-amm.d.ts.map +0 -1
- package/dist/apps/fee-amm.js.map +0 -1
- package/dist/apps/indexer.d.ts.map +0 -1
- package/dist/apps/indexer.js.map +0 -1
- package/dist/apps/receipts.d.ts.map +0 -1
- package/dist/apps/receipts.js.map +0 -1
- package/dist/apps/rpc.d.ts.map +0 -1
- package/dist/apps/rpc.js.map +0 -1
- package/dist/apps/tokenlist.d.ts.map +0 -1
- package/dist/apps/tokenlist.js.map +0 -1
- package/dist/apps/tokens.d.ts.map +0 -1
- package/dist/apps/tokens.js.map +0 -1
- package/dist/apps/transactions.d.ts.map +0 -1
- package/dist/apps/transactions.js.map +0 -1
- package/dist/apps/transfers.d.ts.map +0 -1
- package/dist/apps/transfers.js.map +0 -1
- package/dist/apps/verified-tokens.d.ts.map +0 -1
- package/dist/apps/verified-tokens.js.map +0 -1
- package/dist/apps/webhooks.js.map +0 -1
- package/dist/internal/OpenApi.fonts.d.ts.map +0 -1
- package/dist/internal/OpenApi.fonts.js.map +0 -1
- package/dist/internal/OpenApi.logo.d.ts.map +0 -1
- package/dist/internal/OpenApi.logo.js.map +0 -1
- package/src/handlers/internal/multisig.localnet.test.ts +0 -146
- /package/src/{internal/OpenApi.fonts.ts → apps/docs/fonts.ts} +0 -0
- /package/src/{internal/OpenApi.logo.ts → apps/docs/logo.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Context } from 'hono';
|
|
2
2
|
import * as z from 'zod/mini';
|
|
3
|
-
import type * as App from '
|
|
4
|
-
import * as Response from '
|
|
5
|
-
import * as Schema from '
|
|
3
|
+
import type * as App from '../../../App.js';
|
|
4
|
+
import * as Response from '../../../internal/Response.js';
|
|
5
|
+
import * as Schema from '../../../internal/Schema.js';
|
|
6
6
|
/** Zod schemas owned by the exchange handlers. */
|
|
7
7
|
export declare namespace schema {
|
|
8
8
|
/**
|
|
@@ -973,7 +973,7 @@ export declare namespace schema {
|
|
|
973
973
|
* DEX-escrow balance is zero are excluded from the liquidity ranking.
|
|
974
974
|
*/
|
|
975
975
|
export declare function exchanges(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
976
|
-
"/swaps": {
|
|
976
|
+
"/v1/exchange/swaps": {
|
|
977
977
|
$get: {
|
|
978
978
|
output: null;
|
|
979
979
|
outputFormat: "body";
|
|
@@ -998,14 +998,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
998
998
|
} | {
|
|
999
999
|
output: {
|
|
1000
1000
|
error: {
|
|
1001
|
-
code: "
|
|
1001
|
+
code: "api_key_malformed";
|
|
1002
1002
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1003
1003
|
message: string;
|
|
1004
1004
|
};
|
|
1005
1005
|
requestId: string;
|
|
1006
1006
|
};
|
|
1007
1007
|
outputFormat: "json";
|
|
1008
|
-
status:
|
|
1008
|
+
status: 400;
|
|
1009
1009
|
input: {
|
|
1010
1010
|
query?: {
|
|
1011
1011
|
'blockNumber.from'?: string | string[];
|
|
@@ -1026,14 +1026,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1026
1026
|
} | {
|
|
1027
1027
|
output: {
|
|
1028
1028
|
error: {
|
|
1029
|
-
code: "
|
|
1029
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1030
1030
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1031
1031
|
message: string;
|
|
1032
1032
|
};
|
|
1033
1033
|
requestId: string;
|
|
1034
1034
|
};
|
|
1035
1035
|
outputFormat: "json";
|
|
1036
|
-
status:
|
|
1036
|
+
status: 401;
|
|
1037
1037
|
input: {
|
|
1038
1038
|
query?: {
|
|
1039
1039
|
'blockNumber.from'?: string | string[];
|
|
@@ -1054,14 +1054,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1054
1054
|
} | {
|
|
1055
1055
|
output: {
|
|
1056
1056
|
error: {
|
|
1057
|
-
code: "
|
|
1057
|
+
code: "api_key_forbidden";
|
|
1058
1058
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1059
1059
|
message: string;
|
|
1060
1060
|
};
|
|
1061
1061
|
requestId: string;
|
|
1062
1062
|
};
|
|
1063
1063
|
outputFormat: "json";
|
|
1064
|
-
status:
|
|
1064
|
+
status: 403;
|
|
1065
1065
|
input: {
|
|
1066
1066
|
query?: {
|
|
1067
1067
|
'blockNumber.from'?: string | string[];
|
|
@@ -1082,14 +1082,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1082
1082
|
} | {
|
|
1083
1083
|
output: {
|
|
1084
1084
|
error: {
|
|
1085
|
-
code: "
|
|
1085
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1086
1086
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1087
1087
|
message: string;
|
|
1088
1088
|
};
|
|
1089
1089
|
requestId: string;
|
|
1090
1090
|
};
|
|
1091
1091
|
outputFormat: "json";
|
|
1092
|
-
status:
|
|
1092
|
+
status: 429;
|
|
1093
1093
|
input: {
|
|
1094
1094
|
query?: {
|
|
1095
1095
|
'blockNumber.from'?: string | string[];
|
|
@@ -1110,14 +1110,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1110
1110
|
} | {
|
|
1111
1111
|
output: {
|
|
1112
1112
|
error: {
|
|
1113
|
-
code: "
|
|
1113
|
+
code: "query_invalid";
|
|
1114
1114
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1115
1115
|
message: string;
|
|
1116
1116
|
};
|
|
1117
1117
|
requestId: string;
|
|
1118
1118
|
};
|
|
1119
1119
|
outputFormat: "json";
|
|
1120
|
-
status:
|
|
1120
|
+
status: 400;
|
|
1121
1121
|
input: {
|
|
1122
1122
|
query?: {
|
|
1123
1123
|
'blockNumber.from'?: string | string[];
|
|
@@ -1138,14 +1138,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1138
1138
|
} | {
|
|
1139
1139
|
output: {
|
|
1140
1140
|
error: {
|
|
1141
|
-
code: "
|
|
1141
|
+
code: "upstream_error";
|
|
1142
1142
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1143
1143
|
message: string;
|
|
1144
1144
|
};
|
|
1145
1145
|
requestId: string;
|
|
1146
1146
|
};
|
|
1147
1147
|
outputFormat: "json";
|
|
1148
|
-
status:
|
|
1148
|
+
status: 502;
|
|
1149
1149
|
input: {
|
|
1150
1150
|
query?: {
|
|
1151
1151
|
'blockNumber.from'?: string | string[];
|
|
@@ -1247,7 +1247,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1247
1247
|
};
|
|
1248
1248
|
};
|
|
1249
1249
|
} & {
|
|
1250
|
-
"/pairs": {
|
|
1250
|
+
"/v1/exchange/pairs": {
|
|
1251
1251
|
$get: {
|
|
1252
1252
|
output: null;
|
|
1253
1253
|
outputFormat: "body";
|
|
@@ -1266,14 +1266,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1266
1266
|
} | {
|
|
1267
1267
|
output: {
|
|
1268
1268
|
error: {
|
|
1269
|
-
code: "
|
|
1269
|
+
code: "api_key_malformed";
|
|
1270
1270
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1271
1271
|
message: string;
|
|
1272
1272
|
};
|
|
1273
1273
|
requestId: string;
|
|
1274
1274
|
};
|
|
1275
1275
|
outputFormat: "json";
|
|
1276
|
-
status:
|
|
1276
|
+
status: 400;
|
|
1277
1277
|
input: {
|
|
1278
1278
|
query?: {
|
|
1279
1279
|
chainId?: string | string[];
|
|
@@ -1288,14 +1288,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1288
1288
|
} | {
|
|
1289
1289
|
output: {
|
|
1290
1290
|
error: {
|
|
1291
|
-
code: "
|
|
1291
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1292
1292
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1293
1293
|
message: string;
|
|
1294
1294
|
};
|
|
1295
1295
|
requestId: string;
|
|
1296
1296
|
};
|
|
1297
1297
|
outputFormat: "json";
|
|
1298
|
-
status:
|
|
1298
|
+
status: 401;
|
|
1299
1299
|
input: {
|
|
1300
1300
|
query?: {
|
|
1301
1301
|
chainId?: string | string[];
|
|
@@ -1310,14 +1310,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1310
1310
|
} | {
|
|
1311
1311
|
output: {
|
|
1312
1312
|
error: {
|
|
1313
|
-
code: "
|
|
1313
|
+
code: "api_key_forbidden";
|
|
1314
1314
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1315
1315
|
message: string;
|
|
1316
1316
|
};
|
|
1317
1317
|
requestId: string;
|
|
1318
1318
|
};
|
|
1319
1319
|
outputFormat: "json";
|
|
1320
|
-
status:
|
|
1320
|
+
status: 403;
|
|
1321
1321
|
input: {
|
|
1322
1322
|
query?: {
|
|
1323
1323
|
chainId?: string | string[];
|
|
@@ -1332,14 +1332,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1332
1332
|
} | {
|
|
1333
1333
|
output: {
|
|
1334
1334
|
error: {
|
|
1335
|
-
code: "
|
|
1335
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1336
1336
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1337
1337
|
message: string;
|
|
1338
1338
|
};
|
|
1339
1339
|
requestId: string;
|
|
1340
1340
|
};
|
|
1341
1341
|
outputFormat: "json";
|
|
1342
|
-
status:
|
|
1342
|
+
status: 429;
|
|
1343
1343
|
input: {
|
|
1344
1344
|
query?: {
|
|
1345
1345
|
chainId?: string | string[];
|
|
@@ -1354,14 +1354,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1354
1354
|
} | {
|
|
1355
1355
|
output: {
|
|
1356
1356
|
error: {
|
|
1357
|
-
code: "
|
|
1357
|
+
code: "query_invalid";
|
|
1358
1358
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1359
1359
|
message: string;
|
|
1360
1360
|
};
|
|
1361
1361
|
requestId: string;
|
|
1362
1362
|
};
|
|
1363
1363
|
outputFormat: "json";
|
|
1364
|
-
status:
|
|
1364
|
+
status: 400;
|
|
1365
1365
|
input: {
|
|
1366
1366
|
query?: {
|
|
1367
1367
|
chainId?: string | string[];
|
|
@@ -1376,14 +1376,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
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
|
query?: {
|
|
1389
1389
|
chainId?: string | string[];
|
|
@@ -1445,7 +1445,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1445
1445
|
};
|
|
1446
1446
|
};
|
|
1447
1447
|
} & {
|
|
1448
|
-
"/pairs/:base": {
|
|
1448
|
+
"/v1/exchange/pairs/:base": {
|
|
1449
1449
|
$get: {
|
|
1450
1450
|
output: null;
|
|
1451
1451
|
outputFormat: "body";
|
|
@@ -1463,14 +1463,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1463
1463
|
} | {
|
|
1464
1464
|
output: {
|
|
1465
1465
|
error: {
|
|
1466
|
-
code: "
|
|
1466
|
+
code: "api_key_malformed";
|
|
1467
1467
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1468
1468
|
message: string;
|
|
1469
1469
|
};
|
|
1470
1470
|
requestId: string;
|
|
1471
1471
|
};
|
|
1472
1472
|
outputFormat: "json";
|
|
1473
|
-
status:
|
|
1473
|
+
status: 400;
|
|
1474
1474
|
input: {
|
|
1475
1475
|
param: {
|
|
1476
1476
|
base: `0x${string}`;
|
|
@@ -1484,14 +1484,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1484
1484
|
} | {
|
|
1485
1485
|
output: {
|
|
1486
1486
|
error: {
|
|
1487
|
-
code: "
|
|
1487
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1488
1488
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1489
1489
|
message: string;
|
|
1490
1490
|
};
|
|
1491
1491
|
requestId: string;
|
|
1492
1492
|
};
|
|
1493
1493
|
outputFormat: "json";
|
|
1494
|
-
status:
|
|
1494
|
+
status: 401;
|
|
1495
1495
|
input: {
|
|
1496
1496
|
param: {
|
|
1497
1497
|
base: `0x${string}`;
|
|
@@ -1505,14 +1505,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1505
1505
|
} | {
|
|
1506
1506
|
output: {
|
|
1507
1507
|
error: {
|
|
1508
|
-
code: "
|
|
1508
|
+
code: "api_key_forbidden";
|
|
1509
1509
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1510
1510
|
message: string;
|
|
1511
1511
|
};
|
|
1512
1512
|
requestId: string;
|
|
1513
1513
|
};
|
|
1514
1514
|
outputFormat: "json";
|
|
1515
|
-
status:
|
|
1515
|
+
status: 403;
|
|
1516
1516
|
input: {
|
|
1517
1517
|
param: {
|
|
1518
1518
|
base: `0x${string}`;
|
|
@@ -1526,14 +1526,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1526
1526
|
} | {
|
|
1527
1527
|
output: {
|
|
1528
1528
|
error: {
|
|
1529
|
-
code: "
|
|
1529
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1530
1530
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1531
1531
|
message: string;
|
|
1532
1532
|
};
|
|
1533
1533
|
requestId: string;
|
|
1534
1534
|
};
|
|
1535
1535
|
outputFormat: "json";
|
|
1536
|
-
status:
|
|
1536
|
+
status: 429;
|
|
1537
1537
|
input: {
|
|
1538
1538
|
param: {
|
|
1539
1539
|
base: `0x${string}`;
|
|
@@ -1547,14 +1547,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1547
1547
|
} | {
|
|
1548
1548
|
output: {
|
|
1549
1549
|
error: {
|
|
1550
|
-
code: "
|
|
1550
|
+
code: "query_invalid";
|
|
1551
1551
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1552
1552
|
message: string;
|
|
1553
1553
|
};
|
|
1554
1554
|
requestId: string;
|
|
1555
1555
|
};
|
|
1556
1556
|
outputFormat: "json";
|
|
1557
|
-
status:
|
|
1557
|
+
status: 400;
|
|
1558
1558
|
input: {
|
|
1559
1559
|
param: {
|
|
1560
1560
|
base: `0x${string}`;
|
|
@@ -1568,14 +1568,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1568
1568
|
} | {
|
|
1569
1569
|
output: {
|
|
1570
1570
|
error: {
|
|
1571
|
-
code: "
|
|
1571
|
+
code: "upstream_error";
|
|
1572
1572
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1573
1573
|
message: string;
|
|
1574
1574
|
};
|
|
1575
1575
|
requestId: string;
|
|
1576
1576
|
};
|
|
1577
1577
|
outputFormat: "json";
|
|
1578
|
-
status:
|
|
1578
|
+
status: 502;
|
|
1579
1579
|
input: {
|
|
1580
1580
|
param: {
|
|
1581
1581
|
base: `0x${string}`;
|
|
@@ -1670,7 +1670,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1670
1670
|
};
|
|
1671
1671
|
};
|
|
1672
1672
|
} & {
|
|
1673
|
-
"/orders": {
|
|
1673
|
+
"/v1/exchange/orders": {
|
|
1674
1674
|
$get: {
|
|
1675
1675
|
output: null;
|
|
1676
1676
|
outputFormat: "body";
|
|
@@ -1692,14 +1692,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1692
1692
|
} | {
|
|
1693
1693
|
output: {
|
|
1694
1694
|
error: {
|
|
1695
|
-
code: "
|
|
1695
|
+
code: "api_key_malformed";
|
|
1696
1696
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1697
1697
|
message: string;
|
|
1698
1698
|
};
|
|
1699
1699
|
requestId: string;
|
|
1700
1700
|
};
|
|
1701
1701
|
outputFormat: "json";
|
|
1702
|
-
status:
|
|
1702
|
+
status: 400;
|
|
1703
1703
|
input: {
|
|
1704
1704
|
query?: {
|
|
1705
1705
|
base?: string | string[];
|
|
@@ -1717,14 +1717,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1717
1717
|
} | {
|
|
1718
1718
|
output: {
|
|
1719
1719
|
error: {
|
|
1720
|
-
code: "
|
|
1720
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1721
1721
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1722
1722
|
message: string;
|
|
1723
1723
|
};
|
|
1724
1724
|
requestId: string;
|
|
1725
1725
|
};
|
|
1726
1726
|
outputFormat: "json";
|
|
1727
|
-
status:
|
|
1727
|
+
status: 401;
|
|
1728
1728
|
input: {
|
|
1729
1729
|
query?: {
|
|
1730
1730
|
base?: string | string[];
|
|
@@ -1742,14 +1742,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1742
1742
|
} | {
|
|
1743
1743
|
output: {
|
|
1744
1744
|
error: {
|
|
1745
|
-
code: "
|
|
1745
|
+
code: "api_key_forbidden";
|
|
1746
1746
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1747
1747
|
message: string;
|
|
1748
1748
|
};
|
|
1749
1749
|
requestId: string;
|
|
1750
1750
|
};
|
|
1751
1751
|
outputFormat: "json";
|
|
1752
|
-
status:
|
|
1752
|
+
status: 403;
|
|
1753
1753
|
input: {
|
|
1754
1754
|
query?: {
|
|
1755
1755
|
base?: string | string[];
|
|
@@ -1767,14 +1767,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1767
1767
|
} | {
|
|
1768
1768
|
output: {
|
|
1769
1769
|
error: {
|
|
1770
|
-
code: "
|
|
1770
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1771
1771
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1772
1772
|
message: string;
|
|
1773
1773
|
};
|
|
1774
1774
|
requestId: string;
|
|
1775
1775
|
};
|
|
1776
1776
|
outputFormat: "json";
|
|
1777
|
-
status:
|
|
1777
|
+
status: 429;
|
|
1778
1778
|
input: {
|
|
1779
1779
|
query?: {
|
|
1780
1780
|
base?: string | string[];
|
|
@@ -1792,14 +1792,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1792
1792
|
} | {
|
|
1793
1793
|
output: {
|
|
1794
1794
|
error: {
|
|
1795
|
-
code: "
|
|
1795
|
+
code: "query_invalid";
|
|
1796
1796
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1797
1797
|
message: string;
|
|
1798
1798
|
};
|
|
1799
1799
|
requestId: string;
|
|
1800
1800
|
};
|
|
1801
1801
|
outputFormat: "json";
|
|
1802
|
-
status:
|
|
1802
|
+
status: 400;
|
|
1803
1803
|
input: {
|
|
1804
1804
|
query?: {
|
|
1805
1805
|
base?: string | string[];
|
|
@@ -1817,14 +1817,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1817
1817
|
} | {
|
|
1818
1818
|
output: {
|
|
1819
1819
|
error: {
|
|
1820
|
-
code: "
|
|
1820
|
+
code: "upstream_error";
|
|
1821
1821
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1822
1822
|
message: string;
|
|
1823
1823
|
};
|
|
1824
1824
|
requestId: string;
|
|
1825
1825
|
};
|
|
1826
1826
|
outputFormat: "json";
|
|
1827
|
-
status:
|
|
1827
|
+
status: 502;
|
|
1828
1828
|
input: {
|
|
1829
1829
|
query?: {
|
|
1830
1830
|
base?: string | string[];
|
|
@@ -1928,7 +1928,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1928
1928
|
};
|
|
1929
1929
|
};
|
|
1930
1930
|
} & {
|
|
1931
|
-
"/orders/:orderId": {
|
|
1931
|
+
"/v1/exchange/orders/:orderId": {
|
|
1932
1932
|
$get: {
|
|
1933
1933
|
output: null;
|
|
1934
1934
|
outputFormat: "body";
|
|
@@ -1946,14 +1946,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1946
1946
|
} | {
|
|
1947
1947
|
output: {
|
|
1948
1948
|
error: {
|
|
1949
|
-
code: "
|
|
1949
|
+
code: "api_key_malformed";
|
|
1950
1950
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1951
1951
|
message: string;
|
|
1952
1952
|
};
|
|
1953
1953
|
requestId: string;
|
|
1954
1954
|
};
|
|
1955
1955
|
outputFormat: "json";
|
|
1956
|
-
status:
|
|
1956
|
+
status: 400;
|
|
1957
1957
|
input: {
|
|
1958
1958
|
param: {
|
|
1959
1959
|
orderId: string;
|
|
@@ -1967,14 +1967,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1967
1967
|
} | {
|
|
1968
1968
|
output: {
|
|
1969
1969
|
error: {
|
|
1970
|
-
code: "
|
|
1970
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1971
1971
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1972
1972
|
message: string;
|
|
1973
1973
|
};
|
|
1974
1974
|
requestId: string;
|
|
1975
1975
|
};
|
|
1976
1976
|
outputFormat: "json";
|
|
1977
|
-
status:
|
|
1977
|
+
status: 401;
|
|
1978
1978
|
input: {
|
|
1979
1979
|
param: {
|
|
1980
1980
|
orderId: string;
|
|
@@ -1988,14 +1988,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
1988
1988
|
} | {
|
|
1989
1989
|
output: {
|
|
1990
1990
|
error: {
|
|
1991
|
-
code: "
|
|
1991
|
+
code: "api_key_forbidden";
|
|
1992
1992
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1993
1993
|
message: string;
|
|
1994
1994
|
};
|
|
1995
1995
|
requestId: string;
|
|
1996
1996
|
};
|
|
1997
1997
|
outputFormat: "json";
|
|
1998
|
-
status:
|
|
1998
|
+
status: 403;
|
|
1999
1999
|
input: {
|
|
2000
2000
|
param: {
|
|
2001
2001
|
orderId: string;
|
|
@@ -2009,14 +2009,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2009
2009
|
} | {
|
|
2010
2010
|
output: {
|
|
2011
2011
|
error: {
|
|
2012
|
-
code: "
|
|
2012
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2013
2013
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2014
2014
|
message: string;
|
|
2015
2015
|
};
|
|
2016
2016
|
requestId: string;
|
|
2017
2017
|
};
|
|
2018
2018
|
outputFormat: "json";
|
|
2019
|
-
status:
|
|
2019
|
+
status: 429;
|
|
2020
2020
|
input: {
|
|
2021
2021
|
param: {
|
|
2022
2022
|
orderId: string;
|
|
@@ -2030,14 +2030,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2030
2030
|
} | {
|
|
2031
2031
|
output: {
|
|
2032
2032
|
error: {
|
|
2033
|
-
code: "
|
|
2033
|
+
code: "query_invalid";
|
|
2034
2034
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2035
2035
|
message: string;
|
|
2036
2036
|
};
|
|
2037
2037
|
requestId: string;
|
|
2038
2038
|
};
|
|
2039
2039
|
outputFormat: "json";
|
|
2040
|
-
status:
|
|
2040
|
+
status: 400;
|
|
2041
2041
|
input: {
|
|
2042
2042
|
param: {
|
|
2043
2043
|
orderId: string;
|
|
@@ -2051,14 +2051,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2051
2051
|
} | {
|
|
2052
2052
|
output: {
|
|
2053
2053
|
error: {
|
|
2054
|
-
code: "
|
|
2054
|
+
code: "upstream_error";
|
|
2055
2055
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2056
2056
|
message: string;
|
|
2057
2057
|
};
|
|
2058
2058
|
requestId: string;
|
|
2059
2059
|
};
|
|
2060
2060
|
outputFormat: "json";
|
|
2061
|
-
status:
|
|
2061
|
+
status: 502;
|
|
2062
2062
|
input: {
|
|
2063
2063
|
param: {
|
|
2064
2064
|
orderId: string;
|
|
@@ -2162,7 +2162,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2162
2162
|
};
|
|
2163
2163
|
};
|
|
2164
2164
|
} & {
|
|
2165
|
-
"/orders/:orderId/fills": {
|
|
2165
|
+
"/v1/exchange/orders/:orderId/fills": {
|
|
2166
2166
|
$get: {
|
|
2167
2167
|
output: null;
|
|
2168
2168
|
outputFormat: "body";
|
|
@@ -2184,14 +2184,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2184
2184
|
} | {
|
|
2185
2185
|
output: {
|
|
2186
2186
|
error: {
|
|
2187
|
-
code: "
|
|
2187
|
+
code: "api_key_malformed";
|
|
2188
2188
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2189
2189
|
message: string;
|
|
2190
2190
|
};
|
|
2191
2191
|
requestId: string;
|
|
2192
2192
|
};
|
|
2193
2193
|
outputFormat: "json";
|
|
2194
|
-
status:
|
|
2194
|
+
status: 400;
|
|
2195
2195
|
input: {
|
|
2196
2196
|
param: {
|
|
2197
2197
|
orderId: string;
|
|
@@ -2209,14 +2209,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2209
2209
|
} | {
|
|
2210
2210
|
output: {
|
|
2211
2211
|
error: {
|
|
2212
|
-
code: "
|
|
2212
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2213
2213
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2214
2214
|
message: string;
|
|
2215
2215
|
};
|
|
2216
2216
|
requestId: string;
|
|
2217
2217
|
};
|
|
2218
2218
|
outputFormat: "json";
|
|
2219
|
-
status:
|
|
2219
|
+
status: 401;
|
|
2220
2220
|
input: {
|
|
2221
2221
|
param: {
|
|
2222
2222
|
orderId: string;
|
|
@@ -2234,14 +2234,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2234
2234
|
} | {
|
|
2235
2235
|
output: {
|
|
2236
2236
|
error: {
|
|
2237
|
-
code: "
|
|
2237
|
+
code: "api_key_forbidden";
|
|
2238
2238
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2239
2239
|
message: string;
|
|
2240
2240
|
};
|
|
2241
2241
|
requestId: string;
|
|
2242
2242
|
};
|
|
2243
2243
|
outputFormat: "json";
|
|
2244
|
-
status:
|
|
2244
|
+
status: 403;
|
|
2245
2245
|
input: {
|
|
2246
2246
|
param: {
|
|
2247
2247
|
orderId: string;
|
|
@@ -2259,14 +2259,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2259
2259
|
} | {
|
|
2260
2260
|
output: {
|
|
2261
2261
|
error: {
|
|
2262
|
-
code: "
|
|
2262
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2263
2263
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2264
2264
|
message: string;
|
|
2265
2265
|
};
|
|
2266
2266
|
requestId: string;
|
|
2267
2267
|
};
|
|
2268
2268
|
outputFormat: "json";
|
|
2269
|
-
status:
|
|
2269
|
+
status: 429;
|
|
2270
2270
|
input: {
|
|
2271
2271
|
param: {
|
|
2272
2272
|
orderId: string;
|
|
@@ -2284,14 +2284,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2284
2284
|
} | {
|
|
2285
2285
|
output: {
|
|
2286
2286
|
error: {
|
|
2287
|
-
code: "
|
|
2287
|
+
code: "query_invalid";
|
|
2288
2288
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2289
2289
|
message: string;
|
|
2290
2290
|
};
|
|
2291
2291
|
requestId: string;
|
|
2292
2292
|
};
|
|
2293
2293
|
outputFormat: "json";
|
|
2294
|
-
status:
|
|
2294
|
+
status: 400;
|
|
2295
2295
|
input: {
|
|
2296
2296
|
param: {
|
|
2297
2297
|
orderId: string;
|
|
@@ -2309,14 +2309,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2309
2309
|
} | {
|
|
2310
2310
|
output: {
|
|
2311
2311
|
error: {
|
|
2312
|
-
code: "
|
|
2312
|
+
code: "upstream_error";
|
|
2313
2313
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2314
2314
|
message: string;
|
|
2315
2315
|
};
|
|
2316
2316
|
requestId: string;
|
|
2317
2317
|
};
|
|
2318
2318
|
outputFormat: "json";
|
|
2319
|
-
status:
|
|
2319
|
+
status: 502;
|
|
2320
2320
|
input: {
|
|
2321
2321
|
param: {
|
|
2322
2322
|
orderId: string;
|
|
@@ -2394,7 +2394,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2394
2394
|
};
|
|
2395
2395
|
};
|
|
2396
2396
|
} & {
|
|
2397
|
-
"/pairs/:base/ohlc": {
|
|
2397
|
+
"/v1/exchange/pairs/:base/ohlc": {
|
|
2398
2398
|
$get: {
|
|
2399
2399
|
output: null;
|
|
2400
2400
|
outputFormat: "body";
|
|
@@ -2414,14 +2414,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2414
2414
|
} | {
|
|
2415
2415
|
output: {
|
|
2416
2416
|
error: {
|
|
2417
|
-
code: "
|
|
2417
|
+
code: "api_key_malformed";
|
|
2418
2418
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2419
2419
|
message: string;
|
|
2420
2420
|
};
|
|
2421
2421
|
requestId: string;
|
|
2422
2422
|
};
|
|
2423
2423
|
outputFormat: "json";
|
|
2424
|
-
status:
|
|
2424
|
+
status: 400;
|
|
2425
2425
|
input: {
|
|
2426
2426
|
param: {
|
|
2427
2427
|
base: `0x${string}`;
|
|
@@ -2437,14 +2437,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2437
2437
|
} | {
|
|
2438
2438
|
output: {
|
|
2439
2439
|
error: {
|
|
2440
|
-
code: "
|
|
2440
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2441
2441
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2442
2442
|
message: string;
|
|
2443
2443
|
};
|
|
2444
2444
|
requestId: string;
|
|
2445
2445
|
};
|
|
2446
2446
|
outputFormat: "json";
|
|
2447
|
-
status:
|
|
2447
|
+
status: 401;
|
|
2448
2448
|
input: {
|
|
2449
2449
|
param: {
|
|
2450
2450
|
base: `0x${string}`;
|
|
@@ -2460,14 +2460,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2460
2460
|
} | {
|
|
2461
2461
|
output: {
|
|
2462
2462
|
error: {
|
|
2463
|
-
code: "
|
|
2463
|
+
code: "api_key_forbidden";
|
|
2464
2464
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2465
2465
|
message: string;
|
|
2466
2466
|
};
|
|
2467
2467
|
requestId: string;
|
|
2468
2468
|
};
|
|
2469
2469
|
outputFormat: "json";
|
|
2470
|
-
status:
|
|
2470
|
+
status: 403;
|
|
2471
2471
|
input: {
|
|
2472
2472
|
param: {
|
|
2473
2473
|
base: `0x${string}`;
|
|
@@ -2483,14 +2483,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2483
2483
|
} | {
|
|
2484
2484
|
output: {
|
|
2485
2485
|
error: {
|
|
2486
|
-
code: "
|
|
2486
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2487
2487
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2488
2488
|
message: string;
|
|
2489
2489
|
};
|
|
2490
2490
|
requestId: string;
|
|
2491
2491
|
};
|
|
2492
2492
|
outputFormat: "json";
|
|
2493
|
-
status:
|
|
2493
|
+
status: 429;
|
|
2494
2494
|
input: {
|
|
2495
2495
|
param: {
|
|
2496
2496
|
base: `0x${string}`;
|
|
@@ -2506,14 +2506,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2506
2506
|
} | {
|
|
2507
2507
|
output: {
|
|
2508
2508
|
error: {
|
|
2509
|
-
code: "
|
|
2509
|
+
code: "query_invalid";
|
|
2510
2510
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2511
2511
|
message: string;
|
|
2512
2512
|
};
|
|
2513
2513
|
requestId: string;
|
|
2514
2514
|
};
|
|
2515
2515
|
outputFormat: "json";
|
|
2516
|
-
status:
|
|
2516
|
+
status: 400;
|
|
2517
2517
|
input: {
|
|
2518
2518
|
param: {
|
|
2519
2519
|
base: `0x${string}`;
|
|
@@ -2529,14 +2529,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2529
2529
|
} | {
|
|
2530
2530
|
output: {
|
|
2531
2531
|
error: {
|
|
2532
|
-
code: "
|
|
2532
|
+
code: "upstream_error";
|
|
2533
2533
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2534
2534
|
message: string;
|
|
2535
2535
|
};
|
|
2536
2536
|
requestId: string;
|
|
2537
2537
|
};
|
|
2538
2538
|
outputFormat: "json";
|
|
2539
|
-
status:
|
|
2539
|
+
status: 502;
|
|
2540
2540
|
input: {
|
|
2541
2541
|
param: {
|
|
2542
2542
|
base: `0x${string}`;
|
|
@@ -2649,7 +2649,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2649
2649
|
};
|
|
2650
2650
|
};
|
|
2651
2651
|
} & {
|
|
2652
|
-
"/pairs/:base/depth": {
|
|
2652
|
+
"/v1/exchange/pairs/:base/depth": {
|
|
2653
2653
|
$get: {
|
|
2654
2654
|
output: null;
|
|
2655
2655
|
outputFormat: "body";
|
|
@@ -2668,14 +2668,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2668
2668
|
} | {
|
|
2669
2669
|
output: {
|
|
2670
2670
|
error: {
|
|
2671
|
-
code: "
|
|
2671
|
+
code: "api_key_malformed";
|
|
2672
2672
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2673
2673
|
message: string;
|
|
2674
2674
|
};
|
|
2675
2675
|
requestId: string;
|
|
2676
2676
|
};
|
|
2677
2677
|
outputFormat: "json";
|
|
2678
|
-
status:
|
|
2678
|
+
status: 400;
|
|
2679
2679
|
input: {
|
|
2680
2680
|
param: {
|
|
2681
2681
|
base: `0x${string}`;
|
|
@@ -2690,14 +2690,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2690
2690
|
} | {
|
|
2691
2691
|
output: {
|
|
2692
2692
|
error: {
|
|
2693
|
-
code: "
|
|
2693
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2694
2694
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2695
2695
|
message: string;
|
|
2696
2696
|
};
|
|
2697
2697
|
requestId: string;
|
|
2698
2698
|
};
|
|
2699
2699
|
outputFormat: "json";
|
|
2700
|
-
status:
|
|
2700
|
+
status: 401;
|
|
2701
2701
|
input: {
|
|
2702
2702
|
param: {
|
|
2703
2703
|
base: `0x${string}`;
|
|
@@ -2712,14 +2712,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2712
2712
|
} | {
|
|
2713
2713
|
output: {
|
|
2714
2714
|
error: {
|
|
2715
|
-
code: "
|
|
2715
|
+
code: "api_key_forbidden";
|
|
2716
2716
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2717
2717
|
message: string;
|
|
2718
2718
|
};
|
|
2719
2719
|
requestId: string;
|
|
2720
2720
|
};
|
|
2721
2721
|
outputFormat: "json";
|
|
2722
|
-
status:
|
|
2722
|
+
status: 403;
|
|
2723
2723
|
input: {
|
|
2724
2724
|
param: {
|
|
2725
2725
|
base: `0x${string}`;
|
|
@@ -2734,14 +2734,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2734
2734
|
} | {
|
|
2735
2735
|
output: {
|
|
2736
2736
|
error: {
|
|
2737
|
-
code: "
|
|
2737
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2738
2738
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2739
2739
|
message: string;
|
|
2740
2740
|
};
|
|
2741
2741
|
requestId: string;
|
|
2742
2742
|
};
|
|
2743
2743
|
outputFormat: "json";
|
|
2744
|
-
status:
|
|
2744
|
+
status: 429;
|
|
2745
2745
|
input: {
|
|
2746
2746
|
param: {
|
|
2747
2747
|
base: `0x${string}`;
|
|
@@ -2756,14 +2756,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2756
2756
|
} | {
|
|
2757
2757
|
output: {
|
|
2758
2758
|
error: {
|
|
2759
|
-
code: "
|
|
2759
|
+
code: "query_invalid";
|
|
2760
2760
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2761
2761
|
message: string;
|
|
2762
2762
|
};
|
|
2763
2763
|
requestId: string;
|
|
2764
2764
|
};
|
|
2765
2765
|
outputFormat: "json";
|
|
2766
|
-
status:
|
|
2766
|
+
status: 400;
|
|
2767
2767
|
input: {
|
|
2768
2768
|
param: {
|
|
2769
2769
|
base: `0x${string}`;
|
|
@@ -2778,14 +2778,14 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2778
2778
|
} | {
|
|
2779
2779
|
output: {
|
|
2780
2780
|
error: {
|
|
2781
|
-
code: "
|
|
2781
|
+
code: "upstream_error";
|
|
2782
2782
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2783
2783
|
message: string;
|
|
2784
2784
|
};
|
|
2785
2785
|
requestId: string;
|
|
2786
2786
|
};
|
|
2787
2787
|
outputFormat: "json";
|
|
2788
|
-
status:
|
|
2788
|
+
status: 502;
|
|
2789
2789
|
input: {
|
|
2790
2790
|
param: {
|
|
2791
2791
|
base: `0x${string}`;
|
|
@@ -2891,7 +2891,7 @@ export declare function exchanges(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
2891
2891
|
};
|
|
2892
2892
|
};
|
|
2893
2893
|
};
|
|
2894
|
-
}, "/", "/pairs/:base/depth">;
|
|
2894
|
+
}, "/", "/v1/exchange/pairs/:base/depth">;
|
|
2895
2895
|
/**
|
|
2896
2896
|
* Resolves the point-in-time order-state streams for a set of `orderId`s
|
|
2897
2897
|
* from the raw `OrderPlaced`/`OrderFlipped` logs.
|