tapimo 0.1.0 → 0.2.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 +28 -15
- package/dist/ApiKey.d.ts +3 -1
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +1 -0
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +71 -3
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +117 -1
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +7139 -4197
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +133 -329
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +11 -4
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +12 -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 +126 -53
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +104 -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 +4 -1
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +115 -115
- 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 +1 -1
- package/dist/apps/data/App.d.ts +19176 -0
- package/dist/apps/data/App.d.ts.map +1 -0
- package/dist/apps/data/App.js +236 -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} +49 -49
- 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} +183 -183
- 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} +460 -460
- 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} +94 -94
- 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/{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} +12 -12
- package/dist/apps/data/routes/receipts.js.map +1 -0
- package/dist/apps/{rpc.d.ts → data/routes/rpc.d.ts} +4 -4
- package/dist/apps/data/routes/rpc.d.ts.map +1 -0
- package/dist/apps/{rpc.js → data/routes/rpc.js} +6 -6
- package/dist/apps/data/routes/rpc.js.map +1 -0
- package/dist/apps/{tokenlist.d.ts → data/routes/tokenlist.d.ts} +4 -4
- 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} +6 -6
- 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} +42 -42
- 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} +62 -62
- package/dist/apps/{webhooks.d.ts.map → data/routes/webhooks.d.ts.map} +1 -1
- package/dist/apps/{webhooks.js → data/routes/webhooks.js} +30 -26
- package/dist/apps/data/routes/webhooks.js.map +1 -0
- package/dist/apps/docs/App.d.ts +27 -0
- package/dist/apps/docs/App.d.ts.map +1 -0
- package/dist/apps/docs/App.js +122 -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/index.d.ts +4 -0
- package/dist/apps/index.d.ts.map +1 -0
- package/dist/apps/index.js +4 -0
- package/dist/apps/index.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 +2985 -0
- package/dist/apps/platform/App.d.ts.map +1 -0
- package/dist/apps/platform/App.js +74 -0
- package/dist/apps/platform/App.js.map +1 -0
- package/dist/apps/platform/index.d.ts +2 -0
- package/dist/apps/platform/index.d.ts.map +1 -0
- package/dist/apps/platform/index.js +2 -0
- package/dist/apps/platform/index.js.map +1 -0
- package/dist/apps/platform/routes/api-keys.d.ts +681 -0
- package/dist/apps/platform/routes/api-keys.d.ts.map +1 -0
- package/dist/apps/platform/routes/api-keys.js +328 -0
- package/dist/apps/platform/routes/api-keys.js.map +1 -0
- package/dist/apps/platform/routes/invitations.d.ts +733 -0
- package/dist/apps/platform/routes/invitations.d.ts.map +1 -0
- package/dist/apps/platform/routes/invitations.js +413 -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 +582 -0
- package/dist/apps/platform/routes/orgs.d.ts.map +1 -0
- package/dist/apps/platform/routes/orgs.js +265 -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/relay/App.d.ts +41 -0
- package/dist/apps/relay/App.d.ts.map +1 -0
- package/dist/apps/relay/App.js +103 -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 +193 -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 +1 -1
- package/dist/cli/Cli.js +1 -1
- package/dist/cli/commands/admin.d.ts +1 -1
- package/dist/cli/commands/admin.js +2 -2
- package/dist/cli/commands/admin.js.map +1 -1
- package/dist/db/Db.d.ts +10 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +128 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +80 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +99 -0
- package/dist/db/Schema.js.map +1 -1
- 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 +44 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +89 -0
- 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/sponsoredTransactions.d.ts +120 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -0
- package/dist/db/tables/sponsoredTransactions.js +161 -0
- package/dist/db/tables/sponsoredTransactions.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 +32 -2
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
- package/dist/handlers/internal/sponsorship.js +34 -9
- package/dist/handlers/internal/sponsorship.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/internal/Auth.d.ts +208 -6
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +500 -21
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Log.d.ts +7 -3
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +4 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +0 -19
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +0 -57
- package/dist/internal/OpenApi.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/package.json +31 -5
- package/src/ApiKey.ts +1 -0
- package/src/ApiKeys.test.ts +104 -1
- package/src/ApiKeys.ts +154 -1
- package/src/App.test.ts +11187 -179
- package/src/App.ts +200 -420
- package/src/Client.test-d.ts +306 -15
- package/src/Scope.ts +13 -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 +5 -1
- package/src/admin/apps/verified-tokens.ts +1 -1
- package/src/admin/ui.generated.ts +1 -1
- package/src/apps/composition.test.ts +66 -0
- package/src/apps/data/App.ts +295 -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/{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} +13 -13
- package/src/apps/{rpc.test.ts → data/routes/rpc.test.ts} +44 -5
- package/src/apps/{rpc.ts → data/routes/rpc.ts} +7 -7
- 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} +6 -6
- package/src/apps/{webhooks.ts → data/routes/webhooks.ts} +39 -35
- package/src/apps/docs/App.ts +136 -0
- package/src/apps/docs/index.ts +1 -0
- package/src/apps/index.ts +3 -0
- package/src/apps/metadata.ts +23 -0
- package/src/apps/platform/App.ts +130 -0
- package/src/apps/platform/index.ts +1 -0
- package/src/apps/platform/routes/api-keys.test.ts +330 -0
- package/src/apps/platform/routes/api-keys.ts +427 -0
- package/src/apps/platform/routes/invitations.test.ts +361 -0
- package/src/apps/platform/routes/invitations.ts +519 -0
- package/src/apps/platform/routes/me.test.ts +121 -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 +343 -0
- package/src/apps/platform/routes/projects.test.ts +181 -0
- package/src/apps/platform/routes/projects.ts +367 -0
- package/src/apps/relay/App.test.ts +484 -0
- package/src/apps/relay/App.ts +128 -0
- package/src/apps/relay/Sponsorships.test.ts +375 -0
- package/src/apps/relay/Sponsorships.ts +305 -0
- package/src/apps/relay/index.ts +2 -0
- package/src/cli/Cli.ts +1 -1
- package/src/cli/commands/admin.ts +2 -2
- package/src/db/Db.ts +159 -0
- package/src/db/Schema.ts +137 -0
- package/src/db/tables/invitations.ts +198 -0
- package/src/db/tables/memberships.ts +208 -0
- package/src/db/tables/organizations.test.ts +37 -1
- package/src/db/tables/organizations.ts +105 -0
- package/src/db/tables/projects.ts +107 -0
- package/src/db/tables/sponsoredTransactions.test.ts +218 -0
- package/src/db/tables/sponsoredTransactions.ts +236 -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 +74 -15
- package/src/handlers/{internal/relay.localnet.test.ts → relay.test.ts} +2 -2
- package/src/handlers/relay.ts +23 -5
- package/src/internal/Auth.test.ts +316 -0
- package/src/internal/Auth.ts +691 -25
- package/src/internal/Cursor.test.ts +3 -2
- package/src/internal/Log.test.ts +1 -1
- package/src/internal/Log.ts +11 -3
- package/src/internal/MetricSink.ts +1 -1
- package/src/internal/OpenApi.ts +0 -59
- 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 +4 -4
- package/src/internal/Webhooks.ts +1 -1
- 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,9 +1,9 @@
|
|
|
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 '
|
|
6
|
-
import * as VerifiedTokens 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
|
+
import * as VerifiedTokens from '../../../internal/VerifiedTokens.js';
|
|
7
7
|
/** Zod schemas owned by the token handlers. */
|
|
8
8
|
export declare namespace schema {
|
|
9
9
|
/** Schemas for the getToken operation. */
|
|
@@ -534,33 +534,11 @@ export declare namespace schema {
|
|
|
534
534
|
}
|
|
535
535
|
/** Creates token handlers. */
|
|
536
536
|
export declare function tokens(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
537
|
-
"/": {
|
|
537
|
+
"/v1/tokens": {
|
|
538
538
|
$get: {
|
|
539
|
-
output:
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
admin?: `0x${string}` | undefined;
|
|
543
|
-
currency: string;
|
|
544
|
-
createdAt?: string | undefined;
|
|
545
|
-
decimals: number;
|
|
546
|
-
holderCount?: number | undefined;
|
|
547
|
-
id: string;
|
|
548
|
-
logoUri?: string | undefined;
|
|
549
|
-
name: string;
|
|
550
|
-
quoteToken?: `0x${string}` | undefined;
|
|
551
|
-
symbol: string;
|
|
552
|
-
totalSupply?: string | undefined;
|
|
553
|
-
transferStats?: {
|
|
554
|
-
count: number;
|
|
555
|
-
firstAt: string | null;
|
|
556
|
-
lastAt: string | null;
|
|
557
|
-
} | undefined;
|
|
558
|
-
verified: boolean;
|
|
559
|
-
}[];
|
|
560
|
-
nextCursor: string | null;
|
|
561
|
-
};
|
|
562
|
-
outputFormat: "json";
|
|
563
|
-
status: 200;
|
|
539
|
+
output: null;
|
|
540
|
+
outputFormat: "body";
|
|
541
|
+
status: 402;
|
|
564
542
|
input: {
|
|
565
543
|
query?: {
|
|
566
544
|
addresses?: string | string[];
|
|
@@ -601,14 +579,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
601
579
|
} | {
|
|
602
580
|
output: {
|
|
603
581
|
error: {
|
|
604
|
-
code: "
|
|
582
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
605
583
|
details?: readonly Response.error.Detail[] | undefined;
|
|
606
584
|
message: string;
|
|
607
585
|
};
|
|
608
586
|
requestId: string;
|
|
609
587
|
};
|
|
610
588
|
outputFormat: "json";
|
|
611
|
-
status:
|
|
589
|
+
status: 401;
|
|
612
590
|
input: {
|
|
613
591
|
query?: {
|
|
614
592
|
addresses?: string | string[];
|
|
@@ -625,14 +603,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
625
603
|
} | {
|
|
626
604
|
output: {
|
|
627
605
|
error: {
|
|
628
|
-
code: "
|
|
606
|
+
code: "api_key_forbidden";
|
|
629
607
|
details?: readonly Response.error.Detail[] | undefined;
|
|
630
608
|
message: string;
|
|
631
609
|
};
|
|
632
610
|
requestId: string;
|
|
633
611
|
};
|
|
634
612
|
outputFormat: "json";
|
|
635
|
-
status:
|
|
613
|
+
status: 403;
|
|
636
614
|
input: {
|
|
637
615
|
query?: {
|
|
638
616
|
addresses?: string | string[];
|
|
@@ -647,9 +625,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
647
625
|
} | undefined;
|
|
648
626
|
};
|
|
649
627
|
} | {
|
|
650
|
-
output:
|
|
651
|
-
|
|
652
|
-
|
|
628
|
+
output: {
|
|
629
|
+
error: {
|
|
630
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
631
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
632
|
+
message: string;
|
|
633
|
+
};
|
|
634
|
+
requestId: string;
|
|
635
|
+
};
|
|
636
|
+
outputFormat: "json";
|
|
637
|
+
status: 429;
|
|
653
638
|
input: {
|
|
654
639
|
query?: {
|
|
655
640
|
addresses?: string | string[];
|
|
@@ -666,14 +651,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
666
651
|
} | {
|
|
667
652
|
output: {
|
|
668
653
|
error: {
|
|
669
|
-
code: "
|
|
654
|
+
code: "query_invalid";
|
|
670
655
|
details?: readonly Response.error.Detail[] | undefined;
|
|
671
656
|
message: string;
|
|
672
657
|
};
|
|
673
658
|
requestId: string;
|
|
674
659
|
};
|
|
675
660
|
outputFormat: "json";
|
|
676
|
-
status:
|
|
661
|
+
status: 400;
|
|
677
662
|
input: {
|
|
678
663
|
query?: {
|
|
679
664
|
addresses?: string | string[];
|
|
@@ -689,15 +674,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
689
674
|
};
|
|
690
675
|
} | {
|
|
691
676
|
output: {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
677
|
+
data: {
|
|
678
|
+
address: `0x${string}`;
|
|
679
|
+
admin?: `0x${string}` | undefined;
|
|
680
|
+
currency: string;
|
|
681
|
+
createdAt?: string | undefined;
|
|
682
|
+
decimals: number;
|
|
683
|
+
holderCount?: number | undefined;
|
|
684
|
+
id: string;
|
|
685
|
+
logoUri?: string | undefined;
|
|
686
|
+
name: string;
|
|
687
|
+
quoteToken?: `0x${string}` | undefined;
|
|
688
|
+
symbol: string;
|
|
689
|
+
totalSupply?: string | undefined;
|
|
690
|
+
transferStats?: {
|
|
691
|
+
count: number;
|
|
692
|
+
firstAt: string | null;
|
|
693
|
+
lastAt: string | null;
|
|
694
|
+
} | undefined;
|
|
695
|
+
verified: boolean;
|
|
696
|
+
}[];
|
|
697
|
+
nextCursor: string | null;
|
|
698
698
|
};
|
|
699
699
|
outputFormat: "json";
|
|
700
|
-
status:
|
|
700
|
+
status: 200;
|
|
701
701
|
input: {
|
|
702
702
|
query?: {
|
|
703
703
|
addresses?: string | string[];
|
|
@@ -738,30 +738,11 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
738
738
|
};
|
|
739
739
|
};
|
|
740
740
|
} & {
|
|
741
|
-
"/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
|
|
741
|
+
"/v1/tokens/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
|
|
742
742
|
$get: {
|
|
743
|
-
output:
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
currency: string;
|
|
747
|
-
createdAt?: string | undefined;
|
|
748
|
-
decimals: number;
|
|
749
|
-
holderCount?: number | undefined;
|
|
750
|
-
id: string;
|
|
751
|
-
logoUri?: string | undefined;
|
|
752
|
-
name: string;
|
|
753
|
-
quoteToken?: `0x${string}` | undefined;
|
|
754
|
-
symbol: string;
|
|
755
|
-
totalSupply?: string | undefined;
|
|
756
|
-
transferStats?: {
|
|
757
|
-
count: number;
|
|
758
|
-
firstAt: string | null;
|
|
759
|
-
lastAt: string | null;
|
|
760
|
-
} | undefined;
|
|
761
|
-
verified: boolean;
|
|
762
|
-
};
|
|
763
|
-
outputFormat: "json";
|
|
764
|
-
status: 200;
|
|
743
|
+
output: null;
|
|
744
|
+
outputFormat: "body";
|
|
745
|
+
status: 402;
|
|
765
746
|
input: {
|
|
766
747
|
param: {
|
|
767
748
|
symbol: string;
|
|
@@ -796,14 +777,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
796
777
|
} | {
|
|
797
778
|
output: {
|
|
798
779
|
error: {
|
|
799
|
-
code: "
|
|
780
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
800
781
|
details?: readonly Response.error.Detail[] | undefined;
|
|
801
782
|
message: string;
|
|
802
783
|
};
|
|
803
784
|
requestId: string;
|
|
804
785
|
};
|
|
805
786
|
outputFormat: "json";
|
|
806
|
-
status:
|
|
787
|
+
status: 401;
|
|
807
788
|
input: {
|
|
808
789
|
param: {
|
|
809
790
|
symbol: string;
|
|
@@ -817,14 +798,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
817
798
|
} | {
|
|
818
799
|
output: {
|
|
819
800
|
error: {
|
|
820
|
-
code: "
|
|
801
|
+
code: "api_key_forbidden";
|
|
821
802
|
details?: readonly Response.error.Detail[] | undefined;
|
|
822
803
|
message: string;
|
|
823
804
|
};
|
|
824
805
|
requestId: string;
|
|
825
806
|
};
|
|
826
807
|
outputFormat: "json";
|
|
827
|
-
status:
|
|
808
|
+
status: 403;
|
|
828
809
|
input: {
|
|
829
810
|
param: {
|
|
830
811
|
symbol: string;
|
|
@@ -838,28 +819,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
838
819
|
} | {
|
|
839
820
|
output: {
|
|
840
821
|
error: {
|
|
841
|
-
code: "
|
|
822
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
842
823
|
details?: readonly Response.error.Detail[] | undefined;
|
|
843
824
|
message: string;
|
|
844
825
|
};
|
|
845
826
|
requestId: string;
|
|
846
827
|
};
|
|
847
828
|
outputFormat: "json";
|
|
848
|
-
status:
|
|
849
|
-
input: {
|
|
850
|
-
param: {
|
|
851
|
-
symbol: string;
|
|
852
|
-
};
|
|
853
|
-
} & {
|
|
854
|
-
query?: {
|
|
855
|
-
chainId?: string | string[];
|
|
856
|
-
include?: string | string[];
|
|
857
|
-
} | undefined;
|
|
858
|
-
};
|
|
859
|
-
} | {
|
|
860
|
-
output: null;
|
|
861
|
-
outputFormat: "body";
|
|
862
|
-
status: 402;
|
|
829
|
+
status: 429;
|
|
863
830
|
input: {
|
|
864
831
|
param: {
|
|
865
832
|
symbol: string;
|
|
@@ -873,14 +840,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
873
840
|
} | {
|
|
874
841
|
output: {
|
|
875
842
|
error: {
|
|
876
|
-
code: "
|
|
843
|
+
code: "query_invalid";
|
|
877
844
|
details?: readonly Response.error.Detail[] | undefined;
|
|
878
845
|
message: string;
|
|
879
846
|
};
|
|
880
847
|
requestId: string;
|
|
881
848
|
};
|
|
882
849
|
outputFormat: "json";
|
|
883
|
-
status:
|
|
850
|
+
status: 400;
|
|
884
851
|
input: {
|
|
885
852
|
param: {
|
|
886
853
|
symbol: string;
|
|
@@ -894,14 +861,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
894
861
|
} | {
|
|
895
862
|
output: {
|
|
896
863
|
error: {
|
|
897
|
-
code: "
|
|
864
|
+
code: "upstream_error";
|
|
898
865
|
details?: readonly Response.error.Detail[] | undefined;
|
|
899
866
|
message: string;
|
|
900
867
|
};
|
|
901
868
|
requestId: string;
|
|
902
869
|
};
|
|
903
870
|
outputFormat: "json";
|
|
904
|
-
status:
|
|
871
|
+
status: 502;
|
|
905
872
|
input: {
|
|
906
873
|
param: {
|
|
907
874
|
symbol: string;
|
|
@@ -915,14 +882,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
915
882
|
} | {
|
|
916
883
|
output: {
|
|
917
884
|
error: {
|
|
918
|
-
code: "
|
|
885
|
+
code: "symbol_invalid";
|
|
919
886
|
details?: readonly Response.error.Detail[] | undefined;
|
|
920
887
|
message: string;
|
|
921
888
|
};
|
|
922
889
|
requestId: string;
|
|
923
890
|
};
|
|
924
891
|
outputFormat: "json";
|
|
925
|
-
status:
|
|
892
|
+
status: 400;
|
|
926
893
|
input: {
|
|
927
894
|
param: {
|
|
928
895
|
symbol: string;
|
|
@@ -934,31 +901,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
934
901
|
} | undefined;
|
|
935
902
|
};
|
|
936
903
|
} | {
|
|
937
|
-
output: {
|
|
938
|
-
error: {
|
|
939
|
-
code: "upstream_error";
|
|
940
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
941
|
-
message: string;
|
|
942
|
-
};
|
|
943
|
-
requestId: string;
|
|
944
|
-
};
|
|
945
|
-
outputFormat: "json";
|
|
946
|
-
status: 502;
|
|
947
|
-
input: {
|
|
948
|
-
param: {
|
|
949
|
-
symbol: string;
|
|
950
|
-
};
|
|
951
|
-
} & {
|
|
952
|
-
query?: {
|
|
953
|
-
chainId?: string | string[];
|
|
954
|
-
include?: string | string[];
|
|
955
|
-
} | undefined;
|
|
956
|
-
};
|
|
957
|
-
};
|
|
958
|
-
};
|
|
959
|
-
} & {
|
|
960
|
-
"/:token": {
|
|
961
|
-
$get: {
|
|
962
904
|
output: {
|
|
963
905
|
address: `0x${string}`;
|
|
964
906
|
admin?: `0x${string}` | undefined;
|
|
@@ -983,7 +925,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
983
925
|
status: 200;
|
|
984
926
|
input: {
|
|
985
927
|
param: {
|
|
986
|
-
|
|
928
|
+
symbol: string;
|
|
987
929
|
};
|
|
988
930
|
} & {
|
|
989
931
|
query?: {
|
|
@@ -994,17 +936,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
994
936
|
} | {
|
|
995
937
|
output: {
|
|
996
938
|
error: {
|
|
997
|
-
code: "
|
|
939
|
+
code: "token_not_found";
|
|
998
940
|
details?: readonly Response.error.Detail[] | undefined;
|
|
999
941
|
message: string;
|
|
1000
942
|
};
|
|
1001
943
|
requestId: string;
|
|
1002
944
|
};
|
|
1003
945
|
outputFormat: "json";
|
|
1004
|
-
status:
|
|
946
|
+
status: 404;
|
|
1005
947
|
input: {
|
|
1006
948
|
param: {
|
|
1007
|
-
|
|
949
|
+
symbol: string;
|
|
1008
950
|
};
|
|
1009
951
|
} & {
|
|
1010
952
|
query?: {
|
|
@@ -1012,17 +954,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1012
954
|
include?: string | string[];
|
|
1013
955
|
} | undefined;
|
|
1014
956
|
};
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
};
|
|
1024
|
-
outputFormat: "json";
|
|
1025
|
-
status: 400;
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/v1/tokens/:token": {
|
|
961
|
+
$get: {
|
|
962
|
+
output: null;
|
|
963
|
+
outputFormat: "body";
|
|
964
|
+
status: 402;
|
|
1026
965
|
input: {
|
|
1027
966
|
param: {
|
|
1028
967
|
token: `0x${string}`;
|
|
@@ -1036,7 +975,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1036
975
|
} | {
|
|
1037
976
|
output: {
|
|
1038
977
|
error: {
|
|
1039
|
-
code: "
|
|
978
|
+
code: "api_key_malformed";
|
|
1040
979
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1041
980
|
message: string;
|
|
1042
981
|
};
|
|
@@ -1075,20 +1014,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1075
1014
|
include?: string | string[];
|
|
1076
1015
|
} | undefined;
|
|
1077
1016
|
};
|
|
1078
|
-
} | {
|
|
1079
|
-
output: null;
|
|
1080
|
-
outputFormat: "body";
|
|
1081
|
-
status: 402;
|
|
1082
|
-
input: {
|
|
1083
|
-
param: {
|
|
1084
|
-
token: `0x${string}`;
|
|
1085
|
-
};
|
|
1086
|
-
} & {
|
|
1087
|
-
query?: {
|
|
1088
|
-
chainId?: string | string[];
|
|
1089
|
-
include?: string | string[];
|
|
1090
|
-
} | undefined;
|
|
1091
|
-
};
|
|
1092
1017
|
} | {
|
|
1093
1018
|
output: {
|
|
1094
1019
|
error: {
|
|
@@ -1113,14 +1038,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1113
1038
|
} | {
|
|
1114
1039
|
output: {
|
|
1115
1040
|
error: {
|
|
1116
|
-
code: "
|
|
1041
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1117
1042
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1118
1043
|
message: string;
|
|
1119
1044
|
};
|
|
1120
1045
|
requestId: string;
|
|
1121
1046
|
};
|
|
1122
1047
|
outputFormat: "json";
|
|
1123
|
-
status:
|
|
1048
|
+
status: 429;
|
|
1124
1049
|
input: {
|
|
1125
1050
|
param: {
|
|
1126
1051
|
token: `0x${string}`;
|
|
@@ -1134,14 +1059,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1134
1059
|
} | {
|
|
1135
1060
|
output: {
|
|
1136
1061
|
error: {
|
|
1137
|
-
code: "
|
|
1062
|
+
code: "query_invalid";
|
|
1138
1063
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1139
1064
|
message: string;
|
|
1140
1065
|
};
|
|
1141
1066
|
requestId: string;
|
|
1142
1067
|
};
|
|
1143
1068
|
outputFormat: "json";
|
|
1144
|
-
status:
|
|
1069
|
+
status: 400;
|
|
1145
1070
|
input: {
|
|
1146
1071
|
param: {
|
|
1147
1072
|
token: `0x${string}`;
|
|
@@ -1173,13 +1098,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1173
1098
|
include?: string | string[];
|
|
1174
1099
|
} | undefined;
|
|
1175
1100
|
};
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1101
|
+
} | {
|
|
1102
|
+
output: {
|
|
1103
|
+
address: `0x${string}`;
|
|
1104
|
+
admin?: `0x${string}` | undefined;
|
|
1105
|
+
currency: string;
|
|
1106
|
+
createdAt?: string | undefined;
|
|
1107
|
+
decimals: number;
|
|
1108
|
+
holderCount?: number | undefined;
|
|
1109
|
+
id: string;
|
|
1110
|
+
logoUri?: string | undefined;
|
|
1111
|
+
name: string;
|
|
1112
|
+
quoteToken?: `0x${string}` | undefined;
|
|
1113
|
+
symbol: string;
|
|
1114
|
+
totalSupply?: string | undefined;
|
|
1115
|
+
transferStats?: {
|
|
1116
|
+
count: number;
|
|
1117
|
+
firstAt: string | null;
|
|
1118
|
+
lastAt: string | null;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
verified: boolean;
|
|
1121
|
+
};
|
|
1122
|
+
outputFormat: "json";
|
|
1183
1123
|
status: 200;
|
|
1184
1124
|
input: {
|
|
1185
1125
|
param: {
|
|
@@ -1188,19 +1128,20 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1188
1128
|
} & {
|
|
1189
1129
|
query?: {
|
|
1190
1130
|
chainId?: string | string[];
|
|
1131
|
+
include?: string | string[];
|
|
1191
1132
|
} | undefined;
|
|
1192
1133
|
};
|
|
1193
1134
|
} | {
|
|
1194
1135
|
output: {
|
|
1195
1136
|
error: {
|
|
1196
|
-
code: "
|
|
1137
|
+
code: "token_not_found";
|
|
1197
1138
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1198
1139
|
message: string;
|
|
1199
1140
|
};
|
|
1200
1141
|
requestId: string;
|
|
1201
1142
|
};
|
|
1202
1143
|
outputFormat: "json";
|
|
1203
|
-
status:
|
|
1144
|
+
status: 404;
|
|
1204
1145
|
input: {
|
|
1205
1146
|
param: {
|
|
1206
1147
|
token: `0x${string}`;
|
|
@@ -1208,12 +1149,13 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1208
1149
|
} & {
|
|
1209
1150
|
query?: {
|
|
1210
1151
|
chainId?: string | string[];
|
|
1152
|
+
include?: string | string[];
|
|
1211
1153
|
} | undefined;
|
|
1212
1154
|
};
|
|
1213
1155
|
} | {
|
|
1214
1156
|
output: {
|
|
1215
1157
|
error: {
|
|
1216
|
-
code: "
|
|
1158
|
+
code: "token_invalid";
|
|
1217
1159
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1218
1160
|
message: string;
|
|
1219
1161
|
};
|
|
@@ -1221,6 +1163,37 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1221
1163
|
};
|
|
1222
1164
|
outputFormat: "json";
|
|
1223
1165
|
status: 400;
|
|
1166
|
+
input: {
|
|
1167
|
+
param: {
|
|
1168
|
+
token: `0x${string}`;
|
|
1169
|
+
};
|
|
1170
|
+
} & {
|
|
1171
|
+
query?: {
|
|
1172
|
+
chainId?: string | string[];
|
|
1173
|
+
include?: string | string[];
|
|
1174
|
+
} | undefined;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
} & {
|
|
1179
|
+
"/v1/tokens/:token/logo": {
|
|
1180
|
+
$get: {
|
|
1181
|
+
output: null;
|
|
1182
|
+
outputFormat: "body";
|
|
1183
|
+
status: 402;
|
|
1184
|
+
input: {
|
|
1185
|
+
param: {
|
|
1186
|
+
token: `0x${string}`;
|
|
1187
|
+
};
|
|
1188
|
+
} & {
|
|
1189
|
+
query?: {
|
|
1190
|
+
chainId?: string | string[];
|
|
1191
|
+
} | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
} | {
|
|
1194
|
+
output: ArrayBuffer;
|
|
1195
|
+
outputFormat: "body";
|
|
1196
|
+
status: 200;
|
|
1224
1197
|
input: {
|
|
1225
1198
|
param: {
|
|
1226
1199
|
token: `0x${string}`;
|
|
@@ -1233,7 +1206,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1233
1206
|
} | {
|
|
1234
1207
|
output: {
|
|
1235
1208
|
error: {
|
|
1236
|
-
code: "
|
|
1209
|
+
code: "api_key_malformed";
|
|
1237
1210
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1238
1211
|
message: string;
|
|
1239
1212
|
};
|
|
@@ -1271,9 +1244,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1271
1244
|
} | undefined;
|
|
1272
1245
|
};
|
|
1273
1246
|
} | {
|
|
1274
|
-
output:
|
|
1275
|
-
|
|
1276
|
-
|
|
1247
|
+
output: {
|
|
1248
|
+
error: {
|
|
1249
|
+
code: "api_key_forbidden";
|
|
1250
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1251
|
+
message: string;
|
|
1252
|
+
};
|
|
1253
|
+
requestId: string;
|
|
1254
|
+
};
|
|
1255
|
+
outputFormat: "json";
|
|
1256
|
+
status: 403;
|
|
1277
1257
|
input: {
|
|
1278
1258
|
param: {
|
|
1279
1259
|
token: `0x${string}`;
|
|
@@ -1286,14 +1266,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1286
1266
|
} | {
|
|
1287
1267
|
output: {
|
|
1288
1268
|
error: {
|
|
1289
|
-
code: "
|
|
1269
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1290
1270
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1291
1271
|
message: string;
|
|
1292
1272
|
};
|
|
1293
1273
|
requestId: string;
|
|
1294
1274
|
};
|
|
1295
1275
|
outputFormat: "json";
|
|
1296
|
-
status:
|
|
1276
|
+
status: 429;
|
|
1297
1277
|
input: {
|
|
1298
1278
|
param: {
|
|
1299
1279
|
token: `0x${string}`;
|
|
@@ -1306,14 +1286,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1306
1286
|
} | {
|
|
1307
1287
|
output: {
|
|
1308
1288
|
error: {
|
|
1309
|
-
code: "
|
|
1289
|
+
code: "query_invalid";
|
|
1310
1290
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1311
1291
|
message: string;
|
|
1312
1292
|
};
|
|
1313
1293
|
requestId: string;
|
|
1314
1294
|
};
|
|
1315
1295
|
outputFormat: "json";
|
|
1316
|
-
status:
|
|
1296
|
+
status: 400;
|
|
1317
1297
|
input: {
|
|
1318
1298
|
param: {
|
|
1319
1299
|
token: `0x${string}`;
|
|
@@ -1326,14 +1306,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1326
1306
|
} | {
|
|
1327
1307
|
output: {
|
|
1328
1308
|
error: {
|
|
1329
|
-
code: "
|
|
1309
|
+
code: "upstream_error";
|
|
1330
1310
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1331
1311
|
message: string;
|
|
1332
1312
|
};
|
|
1333
1313
|
requestId: string;
|
|
1334
1314
|
};
|
|
1335
1315
|
outputFormat: "json";
|
|
1336
|
-
status:
|
|
1316
|
+
status: 502;
|
|
1337
1317
|
input: {
|
|
1338
1318
|
param: {
|
|
1339
1319
|
token: `0x${string}`;
|
|
@@ -1346,14 +1326,34 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1346
1326
|
} | {
|
|
1347
1327
|
output: {
|
|
1348
1328
|
error: {
|
|
1349
|
-
code: "
|
|
1329
|
+
code: "token_invalid";
|
|
1350
1330
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1351
1331
|
message: string;
|
|
1352
1332
|
};
|
|
1353
1333
|
requestId: string;
|
|
1354
1334
|
};
|
|
1355
1335
|
outputFormat: "json";
|
|
1356
|
-
status:
|
|
1336
|
+
status: 400;
|
|
1337
|
+
input: {
|
|
1338
|
+
param: {
|
|
1339
|
+
token: `0x${string}`;
|
|
1340
|
+
};
|
|
1341
|
+
} & {
|
|
1342
|
+
query?: {
|
|
1343
|
+
chainId?: string | string[];
|
|
1344
|
+
} | undefined;
|
|
1345
|
+
};
|
|
1346
|
+
} | {
|
|
1347
|
+
output: {
|
|
1348
|
+
error: {
|
|
1349
|
+
code: "token_logo_not_found";
|
|
1350
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1351
|
+
message: string;
|
|
1352
|
+
};
|
|
1353
|
+
requestId: string;
|
|
1354
|
+
};
|
|
1355
|
+
outputFormat: "json";
|
|
1356
|
+
status: 404;
|
|
1357
1357
|
input: {
|
|
1358
1358
|
param: {
|
|
1359
1359
|
token: `0x${string}`;
|
|
@@ -1366,32 +1366,35 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1366
1366
|
};
|
|
1367
1367
|
};
|
|
1368
1368
|
} & {
|
|
1369
|
-
"/:token/holders": {
|
|
1369
|
+
"/v1/tokens/:token/holders": {
|
|
1370
1370
|
$get: {
|
|
1371
|
-
output:
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
name: string;
|
|
1386
|
-
symbol: string;
|
|
1387
|
-
verified: boolean;
|
|
1388
|
-
} | undefined;
|
|
1389
|
-
totalCount?: number | undefined;
|
|
1371
|
+
output: null;
|
|
1372
|
+
outputFormat: "body";
|
|
1373
|
+
status: 402;
|
|
1374
|
+
input: {
|
|
1375
|
+
param: {
|
|
1376
|
+
token: `0x${string}`;
|
|
1377
|
+
};
|
|
1378
|
+
} & {
|
|
1379
|
+
query?: {
|
|
1380
|
+
chainId?: string | string[];
|
|
1381
|
+
cursor?: string | string[];
|
|
1382
|
+
include?: string | string[];
|
|
1383
|
+
limit?: string | string[];
|
|
1384
|
+
page?: string | string[];
|
|
1390
1385
|
} | undefined;
|
|
1391
|
-
|
|
1386
|
+
};
|
|
1387
|
+
} | {
|
|
1388
|
+
output: {
|
|
1389
|
+
error: {
|
|
1390
|
+
code: "api_key_malformed";
|
|
1391
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1392
|
+
message: string;
|
|
1393
|
+
};
|
|
1394
|
+
requestId: string;
|
|
1392
1395
|
};
|
|
1393
1396
|
outputFormat: "json";
|
|
1394
|
-
status:
|
|
1397
|
+
status: 400;
|
|
1395
1398
|
input: {
|
|
1396
1399
|
param: {
|
|
1397
1400
|
token: `0x${string}`;
|
|
@@ -1408,14 +1411,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1408
1411
|
} | {
|
|
1409
1412
|
output: {
|
|
1410
1413
|
error: {
|
|
1411
|
-
code: "
|
|
1414
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1412
1415
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1413
1416
|
message: string;
|
|
1414
1417
|
};
|
|
1415
1418
|
requestId: string;
|
|
1416
1419
|
};
|
|
1417
1420
|
outputFormat: "json";
|
|
1418
|
-
status:
|
|
1421
|
+
status: 401;
|
|
1419
1422
|
input: {
|
|
1420
1423
|
param: {
|
|
1421
1424
|
token: `0x${string}`;
|
|
@@ -1432,14 +1435,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1432
1435
|
} | {
|
|
1433
1436
|
output: {
|
|
1434
1437
|
error: {
|
|
1435
|
-
code: "
|
|
1438
|
+
code: "api_key_forbidden";
|
|
1436
1439
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1437
1440
|
message: string;
|
|
1438
1441
|
};
|
|
1439
1442
|
requestId: string;
|
|
1440
1443
|
};
|
|
1441
1444
|
outputFormat: "json";
|
|
1442
|
-
status:
|
|
1445
|
+
status: 403;
|
|
1443
1446
|
input: {
|
|
1444
1447
|
param: {
|
|
1445
1448
|
token: `0x${string}`;
|
|
@@ -1456,14 +1459,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1456
1459
|
} | {
|
|
1457
1460
|
output: {
|
|
1458
1461
|
error: {
|
|
1459
|
-
code: "
|
|
1462
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1460
1463
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1461
1464
|
message: string;
|
|
1462
1465
|
};
|
|
1463
1466
|
requestId: string;
|
|
1464
1467
|
};
|
|
1465
1468
|
outputFormat: "json";
|
|
1466
|
-
status:
|
|
1469
|
+
status: 429;
|
|
1467
1470
|
input: {
|
|
1468
1471
|
param: {
|
|
1469
1472
|
token: `0x${string}`;
|
|
@@ -1480,14 +1483,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1480
1483
|
} | {
|
|
1481
1484
|
output: {
|
|
1482
1485
|
error: {
|
|
1483
|
-
code: "
|
|
1486
|
+
code: "query_invalid";
|
|
1484
1487
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1485
1488
|
message: string;
|
|
1486
1489
|
};
|
|
1487
1490
|
requestId: string;
|
|
1488
1491
|
};
|
|
1489
1492
|
outputFormat: "json";
|
|
1490
|
-
status:
|
|
1493
|
+
status: 400;
|
|
1491
1494
|
input: {
|
|
1492
1495
|
param: {
|
|
1493
1496
|
token: `0x${string}`;
|
|
@@ -1502,9 +1505,16 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1502
1505
|
} | undefined;
|
|
1503
1506
|
};
|
|
1504
1507
|
} | {
|
|
1505
|
-
output:
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
+
output: {
|
|
1509
|
+
error: {
|
|
1510
|
+
code: "upstream_error";
|
|
1511
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1512
|
+
message: string;
|
|
1513
|
+
};
|
|
1514
|
+
requestId: string;
|
|
1515
|
+
};
|
|
1516
|
+
outputFormat: "json";
|
|
1517
|
+
status: 502;
|
|
1508
1518
|
input: {
|
|
1509
1519
|
param: {
|
|
1510
1520
|
token: `0x${string}`;
|
|
@@ -1521,87 +1531,318 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1521
1531
|
} | {
|
|
1522
1532
|
output: {
|
|
1523
1533
|
error: {
|
|
1524
|
-
code: "
|
|
1534
|
+
code: "token_invalid";
|
|
1525
1535
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1526
1536
|
message: string;
|
|
1527
1537
|
};
|
|
1528
1538
|
requestId: string;
|
|
1529
1539
|
};
|
|
1530
1540
|
outputFormat: "json";
|
|
1531
|
-
status:
|
|
1541
|
+
status: 400;
|
|
1542
|
+
input: {
|
|
1543
|
+
param: {
|
|
1544
|
+
token: `0x${string}`;
|
|
1545
|
+
};
|
|
1546
|
+
} & {
|
|
1547
|
+
query?: {
|
|
1548
|
+
chainId?: string | string[];
|
|
1549
|
+
cursor?: string | string[];
|
|
1550
|
+
include?: string | string[];
|
|
1551
|
+
limit?: string | string[];
|
|
1552
|
+
page?: string | string[];
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
};
|
|
1555
|
+
} | {
|
|
1556
|
+
output: {
|
|
1557
|
+
data: {
|
|
1558
|
+
address: `0x${string}`;
|
|
1559
|
+
balance: string;
|
|
1560
|
+
id: string;
|
|
1561
|
+
}[];
|
|
1562
|
+
meta?: {
|
|
1563
|
+
totalCountCapped?: boolean | undefined;
|
|
1564
|
+
token?: {
|
|
1565
|
+
address: `0x${string}`;
|
|
1566
|
+
currency: string;
|
|
1567
|
+
decimals: number;
|
|
1568
|
+
id: string;
|
|
1569
|
+
logoUri?: string | undefined;
|
|
1570
|
+
name: string;
|
|
1571
|
+
symbol: string;
|
|
1572
|
+
verified: boolean;
|
|
1573
|
+
} | undefined;
|
|
1574
|
+
totalCount?: number | undefined;
|
|
1575
|
+
} | undefined;
|
|
1576
|
+
nextCursor: string | null;
|
|
1577
|
+
};
|
|
1578
|
+
outputFormat: "json";
|
|
1579
|
+
status: 200;
|
|
1580
|
+
input: {
|
|
1581
|
+
param: {
|
|
1582
|
+
token: `0x${string}`;
|
|
1583
|
+
};
|
|
1584
|
+
} & {
|
|
1585
|
+
query?: {
|
|
1586
|
+
chainId?: string | string[];
|
|
1587
|
+
cursor?: string | string[];
|
|
1588
|
+
include?: string | string[];
|
|
1589
|
+
limit?: string | string[];
|
|
1590
|
+
page?: string | string[];
|
|
1591
|
+
} | undefined;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
} & {
|
|
1596
|
+
"/v1/tokens/:token/transactions": {
|
|
1597
|
+
$get: {
|
|
1598
|
+
output: null;
|
|
1599
|
+
outputFormat: "body";
|
|
1600
|
+
status: 402;
|
|
1532
1601
|
input: {
|
|
1533
1602
|
param: {
|
|
1534
1603
|
token: `0x${string}`;
|
|
1535
1604
|
};
|
|
1536
1605
|
} & {
|
|
1537
1606
|
query?: {
|
|
1607
|
+
'blockNumber.from'?: string | string[];
|
|
1608
|
+
'blockNumber.to'?: string | string[];
|
|
1538
1609
|
chainId?: string | string[];
|
|
1539
1610
|
cursor?: string | string[];
|
|
1611
|
+
feePayer?: string | string[];
|
|
1612
|
+
feeToken?: string | string[];
|
|
1540
1613
|
include?: string | string[];
|
|
1541
1614
|
limit?: string | string[];
|
|
1615
|
+
order?: string | string[];
|
|
1542
1616
|
page?: string | string[];
|
|
1617
|
+
'timestamp.from'?: string | string[];
|
|
1618
|
+
'timestamp.to'?: string | string[];
|
|
1543
1619
|
} | undefined;
|
|
1544
1620
|
};
|
|
1545
1621
|
} | {
|
|
1546
1622
|
output: {
|
|
1547
1623
|
error: {
|
|
1548
|
-
code: "
|
|
1624
|
+
code: "api_key_malformed";
|
|
1549
1625
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1550
1626
|
message: string;
|
|
1551
1627
|
};
|
|
1552
1628
|
requestId: string;
|
|
1553
1629
|
};
|
|
1554
1630
|
outputFormat: "json";
|
|
1555
|
-
status:
|
|
1631
|
+
status: 400;
|
|
1556
1632
|
input: {
|
|
1557
1633
|
param: {
|
|
1558
1634
|
token: `0x${string}`;
|
|
1559
1635
|
};
|
|
1560
1636
|
} & {
|
|
1561
1637
|
query?: {
|
|
1638
|
+
'blockNumber.from'?: string | string[];
|
|
1639
|
+
'blockNumber.to'?: string | string[];
|
|
1562
1640
|
chainId?: string | string[];
|
|
1563
1641
|
cursor?: string | string[];
|
|
1642
|
+
feePayer?: string | string[];
|
|
1643
|
+
feeToken?: string | string[];
|
|
1564
1644
|
include?: string | string[];
|
|
1565
1645
|
limit?: string | string[];
|
|
1646
|
+
order?: string | string[];
|
|
1566
1647
|
page?: string | string[];
|
|
1648
|
+
'timestamp.from'?: string | string[];
|
|
1649
|
+
'timestamp.to'?: string | string[];
|
|
1567
1650
|
} | undefined;
|
|
1568
1651
|
};
|
|
1569
1652
|
} | {
|
|
1570
1653
|
output: {
|
|
1571
1654
|
error: {
|
|
1572
|
-
code: "
|
|
1655
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1573
1656
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1574
1657
|
message: string;
|
|
1575
1658
|
};
|
|
1576
1659
|
requestId: string;
|
|
1577
1660
|
};
|
|
1578
1661
|
outputFormat: "json";
|
|
1579
|
-
status:
|
|
1662
|
+
status: 401;
|
|
1580
1663
|
input: {
|
|
1581
1664
|
param: {
|
|
1582
1665
|
token: `0x${string}`;
|
|
1583
1666
|
};
|
|
1584
1667
|
} & {
|
|
1585
1668
|
query?: {
|
|
1669
|
+
'blockNumber.from'?: string | string[];
|
|
1670
|
+
'blockNumber.to'?: string | string[];
|
|
1586
1671
|
chainId?: string | string[];
|
|
1587
1672
|
cursor?: string | string[];
|
|
1673
|
+
feePayer?: string | string[];
|
|
1674
|
+
feeToken?: string | string[];
|
|
1588
1675
|
include?: string | string[];
|
|
1589
1676
|
limit?: string | string[];
|
|
1677
|
+
order?: string | string[];
|
|
1590
1678
|
page?: string | string[];
|
|
1679
|
+
'timestamp.from'?: string | string[];
|
|
1680
|
+
'timestamp.to'?: string | string[];
|
|
1591
1681
|
} | undefined;
|
|
1592
1682
|
};
|
|
1593
|
-
}
|
|
1594
|
-
};
|
|
1595
|
-
} & {
|
|
1596
|
-
"/:token/transactions": {
|
|
1597
|
-
$get: {
|
|
1683
|
+
} | {
|
|
1598
1684
|
output: {
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1685
|
+
error: {
|
|
1686
|
+
code: "api_key_forbidden";
|
|
1687
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1688
|
+
message: string;
|
|
1689
|
+
};
|
|
1690
|
+
requestId: string;
|
|
1691
|
+
};
|
|
1692
|
+
outputFormat: "json";
|
|
1693
|
+
status: 403;
|
|
1694
|
+
input: {
|
|
1695
|
+
param: {
|
|
1696
|
+
token: `0x${string}`;
|
|
1697
|
+
};
|
|
1698
|
+
} & {
|
|
1699
|
+
query?: {
|
|
1700
|
+
'blockNumber.from'?: string | string[];
|
|
1701
|
+
'blockNumber.to'?: string | string[];
|
|
1702
|
+
chainId?: string | string[];
|
|
1703
|
+
cursor?: string | string[];
|
|
1704
|
+
feePayer?: string | string[];
|
|
1705
|
+
feeToken?: string | string[];
|
|
1706
|
+
include?: string | string[];
|
|
1707
|
+
limit?: string | string[];
|
|
1708
|
+
order?: string | string[];
|
|
1709
|
+
page?: string | string[];
|
|
1710
|
+
'timestamp.from'?: string | string[];
|
|
1711
|
+
'timestamp.to'?: string | string[];
|
|
1712
|
+
} | undefined;
|
|
1713
|
+
};
|
|
1714
|
+
} | {
|
|
1715
|
+
output: {
|
|
1716
|
+
error: {
|
|
1717
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1718
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1719
|
+
message: string;
|
|
1720
|
+
};
|
|
1721
|
+
requestId: string;
|
|
1722
|
+
};
|
|
1723
|
+
outputFormat: "json";
|
|
1724
|
+
status: 429;
|
|
1725
|
+
input: {
|
|
1726
|
+
param: {
|
|
1727
|
+
token: `0x${string}`;
|
|
1728
|
+
};
|
|
1729
|
+
} & {
|
|
1730
|
+
query?: {
|
|
1731
|
+
'blockNumber.from'?: string | string[];
|
|
1732
|
+
'blockNumber.to'?: string | string[];
|
|
1733
|
+
chainId?: string | string[];
|
|
1734
|
+
cursor?: string | string[];
|
|
1735
|
+
feePayer?: string | string[];
|
|
1736
|
+
feeToken?: string | string[];
|
|
1737
|
+
include?: string | string[];
|
|
1738
|
+
limit?: string | string[];
|
|
1739
|
+
order?: string | string[];
|
|
1740
|
+
page?: string | string[];
|
|
1741
|
+
'timestamp.from'?: string | string[];
|
|
1742
|
+
'timestamp.to'?: string | string[];
|
|
1743
|
+
} | undefined;
|
|
1744
|
+
};
|
|
1745
|
+
} | {
|
|
1746
|
+
output: {
|
|
1747
|
+
error: {
|
|
1748
|
+
code: "query_invalid";
|
|
1749
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1750
|
+
message: string;
|
|
1751
|
+
};
|
|
1752
|
+
requestId: string;
|
|
1753
|
+
};
|
|
1754
|
+
outputFormat: "json";
|
|
1755
|
+
status: 400;
|
|
1756
|
+
input: {
|
|
1757
|
+
param: {
|
|
1758
|
+
token: `0x${string}`;
|
|
1759
|
+
};
|
|
1760
|
+
} & {
|
|
1761
|
+
query?: {
|
|
1762
|
+
'blockNumber.from'?: string | string[];
|
|
1763
|
+
'blockNumber.to'?: string | string[];
|
|
1764
|
+
chainId?: string | string[];
|
|
1765
|
+
cursor?: string | string[];
|
|
1766
|
+
feePayer?: string | string[];
|
|
1767
|
+
feeToken?: string | string[];
|
|
1768
|
+
include?: string | string[];
|
|
1769
|
+
limit?: string | string[];
|
|
1770
|
+
order?: string | string[];
|
|
1771
|
+
page?: string | string[];
|
|
1772
|
+
'timestamp.from'?: string | string[];
|
|
1773
|
+
'timestamp.to'?: string | string[];
|
|
1774
|
+
} | undefined;
|
|
1775
|
+
};
|
|
1776
|
+
} | {
|
|
1777
|
+
output: {
|
|
1778
|
+
error: {
|
|
1779
|
+
code: "upstream_error";
|
|
1780
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1781
|
+
message: string;
|
|
1782
|
+
};
|
|
1783
|
+
requestId: string;
|
|
1784
|
+
};
|
|
1785
|
+
outputFormat: "json";
|
|
1786
|
+
status: 502;
|
|
1787
|
+
input: {
|
|
1788
|
+
param: {
|
|
1789
|
+
token: `0x${string}`;
|
|
1790
|
+
};
|
|
1791
|
+
} & {
|
|
1792
|
+
query?: {
|
|
1793
|
+
'blockNumber.from'?: string | string[];
|
|
1794
|
+
'blockNumber.to'?: string | string[];
|
|
1795
|
+
chainId?: string | string[];
|
|
1796
|
+
cursor?: string | string[];
|
|
1797
|
+
feePayer?: string | string[];
|
|
1798
|
+
feeToken?: string | string[];
|
|
1799
|
+
include?: string | string[];
|
|
1800
|
+
limit?: string | string[];
|
|
1801
|
+
order?: string | string[];
|
|
1802
|
+
page?: string | string[];
|
|
1803
|
+
'timestamp.from'?: string | string[];
|
|
1804
|
+
'timestamp.to'?: string | string[];
|
|
1805
|
+
} | undefined;
|
|
1806
|
+
};
|
|
1807
|
+
} | {
|
|
1808
|
+
output: {
|
|
1809
|
+
error: {
|
|
1810
|
+
code: "token_invalid";
|
|
1811
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1812
|
+
message: string;
|
|
1813
|
+
};
|
|
1814
|
+
requestId: string;
|
|
1815
|
+
};
|
|
1816
|
+
outputFormat: "json";
|
|
1817
|
+
status: 400;
|
|
1818
|
+
input: {
|
|
1819
|
+
param: {
|
|
1820
|
+
token: `0x${string}`;
|
|
1821
|
+
};
|
|
1822
|
+
} & {
|
|
1823
|
+
query?: {
|
|
1824
|
+
'blockNumber.from'?: string | string[];
|
|
1825
|
+
'blockNumber.to'?: string | string[];
|
|
1826
|
+
chainId?: string | string[];
|
|
1827
|
+
cursor?: string | string[];
|
|
1828
|
+
feePayer?: string | string[];
|
|
1829
|
+
feeToken?: string | string[];
|
|
1830
|
+
include?: string | string[];
|
|
1831
|
+
limit?: string | string[];
|
|
1832
|
+
order?: string | string[];
|
|
1833
|
+
page?: string | string[];
|
|
1834
|
+
'timestamp.from'?: string | string[];
|
|
1835
|
+
'timestamp.to'?: string | string[];
|
|
1836
|
+
} | undefined;
|
|
1837
|
+
};
|
|
1838
|
+
} | {
|
|
1839
|
+
output: {
|
|
1840
|
+
data: {
|
|
1841
|
+
blockHash: `0x${string}` | null;
|
|
1842
|
+
blockNumber: number | null;
|
|
1843
|
+
calls?: {
|
|
1844
|
+
data?: `0x${string}` | undefined;
|
|
1845
|
+
to: `0x${string}` | null;
|
|
1605
1846
|
}[] | undefined;
|
|
1606
1847
|
chainId?: number | undefined;
|
|
1607
1848
|
feeToken?: `0x${string}` | undefined;
|
|
@@ -1830,250 +2071,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1830
2071
|
'timestamp.to'?: string | string[];
|
|
1831
2072
|
} | undefined;
|
|
1832
2073
|
};
|
|
1833
|
-
} | {
|
|
1834
|
-
output: {
|
|
1835
|
-
error: {
|
|
1836
|
-
code: "api_key_malformed";
|
|
1837
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1838
|
-
message: string;
|
|
1839
|
-
};
|
|
1840
|
-
requestId: string;
|
|
1841
|
-
};
|
|
1842
|
-
outputFormat: "json";
|
|
1843
|
-
status: 400;
|
|
1844
|
-
input: {
|
|
1845
|
-
param: {
|
|
1846
|
-
token: `0x${string}`;
|
|
1847
|
-
};
|
|
1848
|
-
} & {
|
|
1849
|
-
query?: {
|
|
1850
|
-
'blockNumber.from'?: string | string[];
|
|
1851
|
-
'blockNumber.to'?: string | string[];
|
|
1852
|
-
chainId?: string | string[];
|
|
1853
|
-
cursor?: string | string[];
|
|
1854
|
-
feePayer?: string | string[];
|
|
1855
|
-
feeToken?: string | string[];
|
|
1856
|
-
include?: string | string[];
|
|
1857
|
-
limit?: string | string[];
|
|
1858
|
-
order?: string | string[];
|
|
1859
|
-
page?: string | string[];
|
|
1860
|
-
'timestamp.from'?: string | string[];
|
|
1861
|
-
'timestamp.to'?: string | string[];
|
|
1862
|
-
} | undefined;
|
|
1863
|
-
};
|
|
1864
|
-
} | {
|
|
1865
|
-
output: {
|
|
1866
|
-
error: {
|
|
1867
|
-
code: "query_invalid";
|
|
1868
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1869
|
-
message: string;
|
|
1870
|
-
};
|
|
1871
|
-
requestId: string;
|
|
1872
|
-
};
|
|
1873
|
-
outputFormat: "json";
|
|
1874
|
-
status: 400;
|
|
1875
|
-
input: {
|
|
1876
|
-
param: {
|
|
1877
|
-
token: `0x${string}`;
|
|
1878
|
-
};
|
|
1879
|
-
} & {
|
|
1880
|
-
query?: {
|
|
1881
|
-
'blockNumber.from'?: string | string[];
|
|
1882
|
-
'blockNumber.to'?: string | string[];
|
|
1883
|
-
chainId?: string | string[];
|
|
1884
|
-
cursor?: string | string[];
|
|
1885
|
-
feePayer?: string | string[];
|
|
1886
|
-
feeToken?: string | string[];
|
|
1887
|
-
include?: string | string[];
|
|
1888
|
-
limit?: string | string[];
|
|
1889
|
-
order?: string | string[];
|
|
1890
|
-
page?: string | string[];
|
|
1891
|
-
'timestamp.from'?: string | string[];
|
|
1892
|
-
'timestamp.to'?: string | string[];
|
|
1893
|
-
} | undefined;
|
|
1894
|
-
};
|
|
1895
|
-
} | {
|
|
1896
|
-
output: {
|
|
1897
|
-
error: {
|
|
1898
|
-
code: "token_invalid";
|
|
1899
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1900
|
-
message: string;
|
|
1901
|
-
};
|
|
1902
|
-
requestId: string;
|
|
1903
|
-
};
|
|
1904
|
-
outputFormat: "json";
|
|
1905
|
-
status: 400;
|
|
1906
|
-
input: {
|
|
1907
|
-
param: {
|
|
1908
|
-
token: `0x${string}`;
|
|
1909
|
-
};
|
|
1910
|
-
} & {
|
|
1911
|
-
query?: {
|
|
1912
|
-
'blockNumber.from'?: string | string[];
|
|
1913
|
-
'blockNumber.to'?: string | string[];
|
|
1914
|
-
chainId?: string | string[];
|
|
1915
|
-
cursor?: string | string[];
|
|
1916
|
-
feePayer?: string | string[];
|
|
1917
|
-
feeToken?: string | string[];
|
|
1918
|
-
include?: string | string[];
|
|
1919
|
-
limit?: string | string[];
|
|
1920
|
-
order?: string | string[];
|
|
1921
|
-
page?: string | string[];
|
|
1922
|
-
'timestamp.from'?: string | string[];
|
|
1923
|
-
'timestamp.to'?: string | string[];
|
|
1924
|
-
} | undefined;
|
|
1925
|
-
};
|
|
1926
|
-
} | {
|
|
1927
|
-
output: {
|
|
1928
|
-
error: {
|
|
1929
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
1930
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1931
|
-
message: string;
|
|
1932
|
-
};
|
|
1933
|
-
requestId: string;
|
|
1934
|
-
};
|
|
1935
|
-
outputFormat: "json";
|
|
1936
|
-
status: 401;
|
|
1937
|
-
input: {
|
|
1938
|
-
param: {
|
|
1939
|
-
token: `0x${string}`;
|
|
1940
|
-
};
|
|
1941
|
-
} & {
|
|
1942
|
-
query?: {
|
|
1943
|
-
'blockNumber.from'?: string | string[];
|
|
1944
|
-
'blockNumber.to'?: string | string[];
|
|
1945
|
-
chainId?: string | string[];
|
|
1946
|
-
cursor?: string | string[];
|
|
1947
|
-
feePayer?: string | string[];
|
|
1948
|
-
feeToken?: string | string[];
|
|
1949
|
-
include?: string | string[];
|
|
1950
|
-
limit?: string | string[];
|
|
1951
|
-
order?: string | string[];
|
|
1952
|
-
page?: string | string[];
|
|
1953
|
-
'timestamp.from'?: string | string[];
|
|
1954
|
-
'timestamp.to'?: string | string[];
|
|
1955
|
-
} | undefined;
|
|
1956
|
-
};
|
|
1957
|
-
} | {
|
|
1958
|
-
output: null;
|
|
1959
|
-
outputFormat: "body";
|
|
1960
|
-
status: 402;
|
|
1961
|
-
input: {
|
|
1962
|
-
param: {
|
|
1963
|
-
token: `0x${string}`;
|
|
1964
|
-
};
|
|
1965
|
-
} & {
|
|
1966
|
-
query?: {
|
|
1967
|
-
'blockNumber.from'?: string | string[];
|
|
1968
|
-
'blockNumber.to'?: string | string[];
|
|
1969
|
-
chainId?: string | string[];
|
|
1970
|
-
cursor?: string | string[];
|
|
1971
|
-
feePayer?: string | string[];
|
|
1972
|
-
feeToken?: string | string[];
|
|
1973
|
-
include?: string | string[];
|
|
1974
|
-
limit?: string | string[];
|
|
1975
|
-
order?: string | string[];
|
|
1976
|
-
page?: string | string[];
|
|
1977
|
-
'timestamp.from'?: string | string[];
|
|
1978
|
-
'timestamp.to'?: string | string[];
|
|
1979
|
-
} | undefined;
|
|
1980
|
-
};
|
|
1981
|
-
} | {
|
|
1982
|
-
output: {
|
|
1983
|
-
error: {
|
|
1984
|
-
code: "api_key_forbidden";
|
|
1985
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1986
|
-
message: string;
|
|
1987
|
-
};
|
|
1988
|
-
requestId: string;
|
|
1989
|
-
};
|
|
1990
|
-
outputFormat: "json";
|
|
1991
|
-
status: 403;
|
|
1992
|
-
input: {
|
|
1993
|
-
param: {
|
|
1994
|
-
token: `0x${string}`;
|
|
1995
|
-
};
|
|
1996
|
-
} & {
|
|
1997
|
-
query?: {
|
|
1998
|
-
'blockNumber.from'?: string | string[];
|
|
1999
|
-
'blockNumber.to'?: string | string[];
|
|
2000
|
-
chainId?: string | string[];
|
|
2001
|
-
cursor?: string | string[];
|
|
2002
|
-
feePayer?: string | string[];
|
|
2003
|
-
feeToken?: string | string[];
|
|
2004
|
-
include?: string | string[];
|
|
2005
|
-
limit?: string | string[];
|
|
2006
|
-
order?: string | string[];
|
|
2007
|
-
page?: string | string[];
|
|
2008
|
-
'timestamp.from'?: string | string[];
|
|
2009
|
-
'timestamp.to'?: string | string[];
|
|
2010
|
-
} | undefined;
|
|
2011
|
-
};
|
|
2012
|
-
} | {
|
|
2013
|
-
output: {
|
|
2014
|
-
error: {
|
|
2015
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
2016
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2017
|
-
message: string;
|
|
2018
|
-
};
|
|
2019
|
-
requestId: string;
|
|
2020
|
-
};
|
|
2021
|
-
outputFormat: "json";
|
|
2022
|
-
status: 429;
|
|
2023
|
-
input: {
|
|
2024
|
-
param: {
|
|
2025
|
-
token: `0x${string}`;
|
|
2026
|
-
};
|
|
2027
|
-
} & {
|
|
2028
|
-
query?: {
|
|
2029
|
-
'blockNumber.from'?: string | string[];
|
|
2030
|
-
'blockNumber.to'?: string | string[];
|
|
2031
|
-
chainId?: string | string[];
|
|
2032
|
-
cursor?: string | string[];
|
|
2033
|
-
feePayer?: string | string[];
|
|
2034
|
-
feeToken?: string | string[];
|
|
2035
|
-
include?: string | string[];
|
|
2036
|
-
limit?: string | string[];
|
|
2037
|
-
order?: string | string[];
|
|
2038
|
-
page?: string | string[];
|
|
2039
|
-
'timestamp.from'?: string | string[];
|
|
2040
|
-
'timestamp.to'?: string | string[];
|
|
2041
|
-
} | undefined;
|
|
2042
|
-
};
|
|
2043
|
-
} | {
|
|
2044
|
-
output: {
|
|
2045
|
-
error: {
|
|
2046
|
-
code: "upstream_error";
|
|
2047
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2048
|
-
message: string;
|
|
2049
|
-
};
|
|
2050
|
-
requestId: string;
|
|
2051
|
-
};
|
|
2052
|
-
outputFormat: "json";
|
|
2053
|
-
status: 502;
|
|
2054
|
-
input: {
|
|
2055
|
-
param: {
|
|
2056
|
-
token: `0x${string}`;
|
|
2057
|
-
};
|
|
2058
|
-
} & {
|
|
2059
|
-
query?: {
|
|
2060
|
-
'blockNumber.from'?: string | string[];
|
|
2061
|
-
'blockNumber.to'?: string | string[];
|
|
2062
|
-
chainId?: string | string[];
|
|
2063
|
-
cursor?: string | string[];
|
|
2064
|
-
feePayer?: string | string[];
|
|
2065
|
-
feeToken?: string | string[];
|
|
2066
|
-
include?: string | string[];
|
|
2067
|
-
limit?: string | string[];
|
|
2068
|
-
order?: string | string[];
|
|
2069
|
-
page?: string | string[];
|
|
2070
|
-
'timestamp.from'?: string | string[];
|
|
2071
|
-
'timestamp.to'?: string | string[];
|
|
2072
|
-
} | undefined;
|
|
2073
|
-
};
|
|
2074
2074
|
};
|
|
2075
2075
|
};
|
|
2076
|
-
}, "/", "/:token/transactions">;
|
|
2076
|
+
}, "/", "/v1/tokens/:token/transactions">;
|
|
2077
2077
|
declare function getToken(c: Context<App.Environment>, options: getToken.Options): Promise<(Response & import("hono").TypedResponse<{
|
|
2078
2078
|
error: {
|
|
2079
2079
|
code: "token_not_found";
|