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,10 +1,10 @@
|
|
|
1
1
|
import { type Context } from 'hono';
|
|
2
2
|
import { Hex } from 'ox';
|
|
3
3
|
import * as z from 'zod/mini';
|
|
4
|
-
import type * as App from '
|
|
5
|
-
import * as Response from '
|
|
6
|
-
import * as Schema from '
|
|
7
|
-
import type * as Tidx from '
|
|
4
|
+
import type * as App from '../../../App.js';
|
|
5
|
+
import * as Response from '../../../internal/Response.js';
|
|
6
|
+
import * as Schema from '../../../internal/Schema.js';
|
|
7
|
+
import type * as Tidx from '../../../internal/Tidx.js';
|
|
8
8
|
/** A decoded transaction type name. */
|
|
9
9
|
type TransactionType = 'legacy' | 'eip2930' | 'eip1559' | 'eip4844' | 'eip7702' | 'tempo' | 'unknown';
|
|
10
10
|
/** Decodes a transaction `type` (hex string or number) into its name. */
|
|
@@ -982,218 +982,8 @@ export declare namespace schema {
|
|
|
982
982
|
}
|
|
983
983
|
/** Creates transaction handlers. */
|
|
984
984
|
export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
985
|
-
"/": {
|
|
985
|
+
"/v1/transactions": {
|
|
986
986
|
$get: {
|
|
987
|
-
output: null;
|
|
988
|
-
outputFormat: "body";
|
|
989
|
-
status: 402;
|
|
990
|
-
input: {
|
|
991
|
-
query?: {
|
|
992
|
-
address?: string | string[];
|
|
993
|
-
'blockNumber.from'?: string | string[];
|
|
994
|
-
'blockNumber.to'?: string | string[];
|
|
995
|
-
chainId?: string | string[];
|
|
996
|
-
cursor?: string | string[];
|
|
997
|
-
feePayer?: string | string[];
|
|
998
|
-
feeToken?: string | string[];
|
|
999
|
-
include?: string | string[];
|
|
1000
|
-
limit?: string | string[];
|
|
1001
|
-
order?: string | string[];
|
|
1002
|
-
page?: string | string[];
|
|
1003
|
-
recipient?: string | string[];
|
|
1004
|
-
sender?: string | string[];
|
|
1005
|
-
status?: string | string[];
|
|
1006
|
-
'timestamp.from'?: string | string[];
|
|
1007
|
-
'timestamp.to'?: string | string[];
|
|
1008
|
-
} | undefined;
|
|
1009
|
-
};
|
|
1010
|
-
} | {
|
|
1011
|
-
output: {
|
|
1012
|
-
error: {
|
|
1013
|
-
code: "upstream_error";
|
|
1014
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1015
|
-
message: string;
|
|
1016
|
-
};
|
|
1017
|
-
requestId: string;
|
|
1018
|
-
};
|
|
1019
|
-
outputFormat: "json";
|
|
1020
|
-
status: 502;
|
|
1021
|
-
input: {
|
|
1022
|
-
query?: {
|
|
1023
|
-
address?: string | string[];
|
|
1024
|
-
'blockNumber.from'?: string | string[];
|
|
1025
|
-
'blockNumber.to'?: string | string[];
|
|
1026
|
-
chainId?: string | string[];
|
|
1027
|
-
cursor?: string | string[];
|
|
1028
|
-
feePayer?: string | string[];
|
|
1029
|
-
feeToken?: string | string[];
|
|
1030
|
-
include?: string | string[];
|
|
1031
|
-
limit?: string | string[];
|
|
1032
|
-
order?: string | string[];
|
|
1033
|
-
page?: string | string[];
|
|
1034
|
-
recipient?: string | string[];
|
|
1035
|
-
sender?: string | string[];
|
|
1036
|
-
status?: string | string[];
|
|
1037
|
-
'timestamp.from'?: string | string[];
|
|
1038
|
-
'timestamp.to'?: string | string[];
|
|
1039
|
-
} | undefined;
|
|
1040
|
-
};
|
|
1041
|
-
} | {
|
|
1042
|
-
output: {
|
|
1043
|
-
error: {
|
|
1044
|
-
code: "api_key_malformed";
|
|
1045
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1046
|
-
message: string;
|
|
1047
|
-
};
|
|
1048
|
-
requestId: string;
|
|
1049
|
-
};
|
|
1050
|
-
outputFormat: "json";
|
|
1051
|
-
status: 400;
|
|
1052
|
-
input: {
|
|
1053
|
-
query?: {
|
|
1054
|
-
address?: string | string[];
|
|
1055
|
-
'blockNumber.from'?: string | string[];
|
|
1056
|
-
'blockNumber.to'?: string | string[];
|
|
1057
|
-
chainId?: string | string[];
|
|
1058
|
-
cursor?: string | string[];
|
|
1059
|
-
feePayer?: string | string[];
|
|
1060
|
-
feeToken?: string | string[];
|
|
1061
|
-
include?: string | string[];
|
|
1062
|
-
limit?: string | string[];
|
|
1063
|
-
order?: string | string[];
|
|
1064
|
-
page?: string | string[];
|
|
1065
|
-
recipient?: string | string[];
|
|
1066
|
-
sender?: string | string[];
|
|
1067
|
-
status?: string | string[];
|
|
1068
|
-
'timestamp.from'?: string | string[];
|
|
1069
|
-
'timestamp.to'?: string | string[];
|
|
1070
|
-
} | undefined;
|
|
1071
|
-
};
|
|
1072
|
-
} | {
|
|
1073
|
-
output: {
|
|
1074
|
-
error: {
|
|
1075
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
1076
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1077
|
-
message: string;
|
|
1078
|
-
};
|
|
1079
|
-
requestId: string;
|
|
1080
|
-
};
|
|
1081
|
-
outputFormat: "json";
|
|
1082
|
-
status: 401;
|
|
1083
|
-
input: {
|
|
1084
|
-
query?: {
|
|
1085
|
-
address?: string | string[];
|
|
1086
|
-
'blockNumber.from'?: string | string[];
|
|
1087
|
-
'blockNumber.to'?: string | string[];
|
|
1088
|
-
chainId?: string | string[];
|
|
1089
|
-
cursor?: string | string[];
|
|
1090
|
-
feePayer?: string | string[];
|
|
1091
|
-
feeToken?: string | string[];
|
|
1092
|
-
include?: string | string[];
|
|
1093
|
-
limit?: string | string[];
|
|
1094
|
-
order?: string | string[];
|
|
1095
|
-
page?: string | string[];
|
|
1096
|
-
recipient?: string | string[];
|
|
1097
|
-
sender?: string | string[];
|
|
1098
|
-
status?: string | string[];
|
|
1099
|
-
'timestamp.from'?: string | string[];
|
|
1100
|
-
'timestamp.to'?: string | string[];
|
|
1101
|
-
} | undefined;
|
|
1102
|
-
};
|
|
1103
|
-
} | {
|
|
1104
|
-
output: {
|
|
1105
|
-
error: {
|
|
1106
|
-
code: "api_key_forbidden";
|
|
1107
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1108
|
-
message: string;
|
|
1109
|
-
};
|
|
1110
|
-
requestId: string;
|
|
1111
|
-
};
|
|
1112
|
-
outputFormat: "json";
|
|
1113
|
-
status: 403;
|
|
1114
|
-
input: {
|
|
1115
|
-
query?: {
|
|
1116
|
-
address?: string | string[];
|
|
1117
|
-
'blockNumber.from'?: string | string[];
|
|
1118
|
-
'blockNumber.to'?: string | string[];
|
|
1119
|
-
chainId?: string | string[];
|
|
1120
|
-
cursor?: string | string[];
|
|
1121
|
-
feePayer?: string | string[];
|
|
1122
|
-
feeToken?: string | string[];
|
|
1123
|
-
include?: string | string[];
|
|
1124
|
-
limit?: string | string[];
|
|
1125
|
-
order?: string | string[];
|
|
1126
|
-
page?: string | string[];
|
|
1127
|
-
recipient?: string | string[];
|
|
1128
|
-
sender?: string | string[];
|
|
1129
|
-
status?: string | string[];
|
|
1130
|
-
'timestamp.from'?: string | string[];
|
|
1131
|
-
'timestamp.to'?: string | string[];
|
|
1132
|
-
} | undefined;
|
|
1133
|
-
};
|
|
1134
|
-
} | {
|
|
1135
|
-
output: {
|
|
1136
|
-
error: {
|
|
1137
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
1138
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1139
|
-
message: string;
|
|
1140
|
-
};
|
|
1141
|
-
requestId: string;
|
|
1142
|
-
};
|
|
1143
|
-
outputFormat: "json";
|
|
1144
|
-
status: 429;
|
|
1145
|
-
input: {
|
|
1146
|
-
query?: {
|
|
1147
|
-
address?: string | string[];
|
|
1148
|
-
'blockNumber.from'?: string | string[];
|
|
1149
|
-
'blockNumber.to'?: string | string[];
|
|
1150
|
-
chainId?: string | string[];
|
|
1151
|
-
cursor?: string | string[];
|
|
1152
|
-
feePayer?: string | string[];
|
|
1153
|
-
feeToken?: string | string[];
|
|
1154
|
-
include?: string | string[];
|
|
1155
|
-
limit?: string | string[];
|
|
1156
|
-
order?: string | string[];
|
|
1157
|
-
page?: string | string[];
|
|
1158
|
-
recipient?: string | string[];
|
|
1159
|
-
sender?: string | string[];
|
|
1160
|
-
status?: string | string[];
|
|
1161
|
-
'timestamp.from'?: string | string[];
|
|
1162
|
-
'timestamp.to'?: string | string[];
|
|
1163
|
-
} | undefined;
|
|
1164
|
-
};
|
|
1165
|
-
} | {
|
|
1166
|
-
output: {
|
|
1167
|
-
error: {
|
|
1168
|
-
code: "query_invalid";
|
|
1169
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1170
|
-
message: string;
|
|
1171
|
-
};
|
|
1172
|
-
requestId: string;
|
|
1173
|
-
};
|
|
1174
|
-
outputFormat: "json";
|
|
1175
|
-
status: 400;
|
|
1176
|
-
input: {
|
|
1177
|
-
query?: {
|
|
1178
|
-
address?: string | string[];
|
|
1179
|
-
'blockNumber.from'?: string | string[];
|
|
1180
|
-
'blockNumber.to'?: string | string[];
|
|
1181
|
-
chainId?: string | string[];
|
|
1182
|
-
cursor?: string | string[];
|
|
1183
|
-
feePayer?: string | string[];
|
|
1184
|
-
feeToken?: string | string[];
|
|
1185
|
-
include?: string | string[];
|
|
1186
|
-
limit?: string | string[];
|
|
1187
|
-
order?: string | string[];
|
|
1188
|
-
page?: string | string[];
|
|
1189
|
-
recipient?: string | string[];
|
|
1190
|
-
sender?: string | string[];
|
|
1191
|
-
status?: string | string[];
|
|
1192
|
-
'timestamp.from'?: string | string[];
|
|
1193
|
-
'timestamp.to'?: string | string[];
|
|
1194
|
-
} | undefined;
|
|
1195
|
-
};
|
|
1196
|
-
} | {
|
|
1197
987
|
output: {
|
|
1198
988
|
data: {
|
|
1199
989
|
blockHash: `0x${string}` | null;
|
|
@@ -1419,49 +1209,41 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1419
1209
|
'timestamp.to'?: string | string[];
|
|
1420
1210
|
} | undefined;
|
|
1421
1211
|
};
|
|
1422
|
-
};
|
|
1423
|
-
};
|
|
1424
|
-
} & {
|
|
1425
|
-
"/:transactionHash": {
|
|
1426
|
-
$get: {
|
|
1427
|
-
output: null;
|
|
1428
|
-
outputFormat: "body";
|
|
1429
|
-
status: 402;
|
|
1430
|
-
input: {
|
|
1431
|
-
param: {
|
|
1432
|
-
transactionHash: `0x${string}`;
|
|
1433
|
-
};
|
|
1434
|
-
} & {
|
|
1435
|
-
query?: {
|
|
1436
|
-
chainId?: string | string[];
|
|
1437
|
-
include?: string | string[];
|
|
1438
|
-
} | undefined;
|
|
1439
|
-
};
|
|
1440
1212
|
} | {
|
|
1441
1213
|
output: {
|
|
1442
1214
|
error: {
|
|
1443
|
-
code: "
|
|
1215
|
+
code: "api_key_malformed";
|
|
1444
1216
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1445
1217
|
message: string;
|
|
1446
1218
|
};
|
|
1447
1219
|
requestId: string;
|
|
1448
1220
|
};
|
|
1449
1221
|
outputFormat: "json";
|
|
1450
|
-
status:
|
|
1222
|
+
status: 400;
|
|
1451
1223
|
input: {
|
|
1452
|
-
param: {
|
|
1453
|
-
transactionHash: `0x${string}`;
|
|
1454
|
-
};
|
|
1455
|
-
} & {
|
|
1456
1224
|
query?: {
|
|
1225
|
+
address?: string | string[];
|
|
1226
|
+
'blockNumber.from'?: string | string[];
|
|
1227
|
+
'blockNumber.to'?: string | string[];
|
|
1457
1228
|
chainId?: string | string[];
|
|
1229
|
+
cursor?: string | string[];
|
|
1230
|
+
feePayer?: string | string[];
|
|
1231
|
+
feeToken?: string | string[];
|
|
1458
1232
|
include?: string | string[];
|
|
1233
|
+
limit?: string | string[];
|
|
1234
|
+
order?: string | string[];
|
|
1235
|
+
page?: string | string[];
|
|
1236
|
+
recipient?: string | string[];
|
|
1237
|
+
sender?: string | string[];
|
|
1238
|
+
status?: string | string[];
|
|
1239
|
+
'timestamp.from'?: string | string[];
|
|
1240
|
+
'timestamp.to'?: string | string[];
|
|
1459
1241
|
} | undefined;
|
|
1460
1242
|
};
|
|
1461
1243
|
} | {
|
|
1462
1244
|
output: {
|
|
1463
1245
|
error: {
|
|
1464
|
-
code: "
|
|
1246
|
+
code: "query_invalid";
|
|
1465
1247
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1466
1248
|
message: string;
|
|
1467
1249
|
};
|
|
@@ -1470,13 +1252,23 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1470
1252
|
outputFormat: "json";
|
|
1471
1253
|
status: 400;
|
|
1472
1254
|
input: {
|
|
1473
|
-
param: {
|
|
1474
|
-
transactionHash: `0x${string}`;
|
|
1475
|
-
};
|
|
1476
|
-
} & {
|
|
1477
1255
|
query?: {
|
|
1478
|
-
|
|
1256
|
+
address?: string | string[];
|
|
1257
|
+
'blockNumber.from'?: string | string[];
|
|
1258
|
+
'blockNumber.to'?: string | string[];
|
|
1259
|
+
chainId?: string | string[];
|
|
1260
|
+
cursor?: string | string[];
|
|
1261
|
+
feePayer?: string | string[];
|
|
1262
|
+
feeToken?: string | string[];
|
|
1479
1263
|
include?: string | string[];
|
|
1264
|
+
limit?: string | string[];
|
|
1265
|
+
order?: string | string[];
|
|
1266
|
+
page?: string | string[];
|
|
1267
|
+
recipient?: string | string[];
|
|
1268
|
+
sender?: string | string[];
|
|
1269
|
+
status?: string | string[];
|
|
1270
|
+
'timestamp.from'?: string | string[];
|
|
1271
|
+
'timestamp.to'?: string | string[];
|
|
1480
1272
|
} | undefined;
|
|
1481
1273
|
};
|
|
1482
1274
|
} | {
|
|
@@ -1491,121 +1283,147 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1491
1283
|
outputFormat: "json";
|
|
1492
1284
|
status: 401;
|
|
1493
1285
|
input: {
|
|
1494
|
-
param: {
|
|
1495
|
-
transactionHash: `0x${string}`;
|
|
1496
|
-
};
|
|
1497
|
-
} & {
|
|
1498
|
-
query?: {
|
|
1499
|
-
chainId?: string | string[];
|
|
1500
|
-
include?: string | string[];
|
|
1501
|
-
} | undefined;
|
|
1502
|
-
};
|
|
1503
|
-
} | {
|
|
1504
|
-
output: {
|
|
1505
|
-
error: {
|
|
1506
|
-
code: "api_key_forbidden";
|
|
1507
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1508
|
-
message: string;
|
|
1509
|
-
};
|
|
1510
|
-
requestId: string;
|
|
1511
|
-
};
|
|
1512
|
-
outputFormat: "json";
|
|
1513
|
-
status: 403;
|
|
1514
|
-
input: {
|
|
1515
|
-
param: {
|
|
1516
|
-
transactionHash: `0x${string}`;
|
|
1517
|
-
};
|
|
1518
|
-
} & {
|
|
1519
1286
|
query?: {
|
|
1287
|
+
address?: string | string[];
|
|
1288
|
+
'blockNumber.from'?: string | string[];
|
|
1289
|
+
'blockNumber.to'?: string | string[];
|
|
1520
1290
|
chainId?: string | string[];
|
|
1291
|
+
cursor?: string | string[];
|
|
1292
|
+
feePayer?: string | string[];
|
|
1293
|
+
feeToken?: string | string[];
|
|
1521
1294
|
include?: string | string[];
|
|
1295
|
+
limit?: string | string[];
|
|
1296
|
+
order?: string | string[];
|
|
1297
|
+
page?: string | string[];
|
|
1298
|
+
recipient?: string | string[];
|
|
1299
|
+
sender?: string | string[];
|
|
1300
|
+
status?: string | string[];
|
|
1301
|
+
'timestamp.from'?: string | string[];
|
|
1302
|
+
'timestamp.to'?: string | string[];
|
|
1522
1303
|
} | undefined;
|
|
1523
1304
|
};
|
|
1524
1305
|
} | {
|
|
1525
|
-
output:
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1529
|
-
message: string;
|
|
1530
|
-
};
|
|
1531
|
-
requestId: string;
|
|
1532
|
-
};
|
|
1533
|
-
outputFormat: "json";
|
|
1534
|
-
status: 429;
|
|
1306
|
+
output: null;
|
|
1307
|
+
outputFormat: "body";
|
|
1308
|
+
status: 402;
|
|
1535
1309
|
input: {
|
|
1536
|
-
param: {
|
|
1537
|
-
transactionHash: `0x${string}`;
|
|
1538
|
-
};
|
|
1539
|
-
} & {
|
|
1540
1310
|
query?: {
|
|
1311
|
+
address?: string | string[];
|
|
1312
|
+
'blockNumber.from'?: string | string[];
|
|
1313
|
+
'blockNumber.to'?: string | string[];
|
|
1541
1314
|
chainId?: string | string[];
|
|
1315
|
+
cursor?: string | string[];
|
|
1316
|
+
feePayer?: string | string[];
|
|
1317
|
+
feeToken?: string | string[];
|
|
1542
1318
|
include?: string | string[];
|
|
1319
|
+
limit?: string | string[];
|
|
1320
|
+
order?: string | string[];
|
|
1321
|
+
page?: string | string[];
|
|
1322
|
+
recipient?: string | string[];
|
|
1323
|
+
sender?: string | string[];
|
|
1324
|
+
status?: string | string[];
|
|
1325
|
+
'timestamp.from'?: string | string[];
|
|
1326
|
+
'timestamp.to'?: string | string[];
|
|
1543
1327
|
} | undefined;
|
|
1544
1328
|
};
|
|
1545
1329
|
} | {
|
|
1546
1330
|
output: {
|
|
1547
1331
|
error: {
|
|
1548
|
-
code: "
|
|
1332
|
+
code: "api_key_forbidden";
|
|
1549
1333
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1550
1334
|
message: string;
|
|
1551
1335
|
};
|
|
1552
1336
|
requestId: string;
|
|
1553
1337
|
};
|
|
1554
1338
|
outputFormat: "json";
|
|
1555
|
-
status:
|
|
1339
|
+
status: 403;
|
|
1556
1340
|
input: {
|
|
1557
|
-
param: {
|
|
1558
|
-
transactionHash: `0x${string}`;
|
|
1559
|
-
};
|
|
1560
|
-
} & {
|
|
1561
1341
|
query?: {
|
|
1342
|
+
address?: string | string[];
|
|
1343
|
+
'blockNumber.from'?: string | string[];
|
|
1344
|
+
'blockNumber.to'?: string | string[];
|
|
1562
1345
|
chainId?: string | string[];
|
|
1346
|
+
cursor?: string | string[];
|
|
1347
|
+
feePayer?: string | string[];
|
|
1348
|
+
feeToken?: string | string[];
|
|
1563
1349
|
include?: string | string[];
|
|
1350
|
+
limit?: string | string[];
|
|
1351
|
+
order?: string | string[];
|
|
1352
|
+
page?: string | string[];
|
|
1353
|
+
recipient?: string | string[];
|
|
1354
|
+
sender?: string | string[];
|
|
1355
|
+
status?: string | string[];
|
|
1356
|
+
'timestamp.from'?: string | string[];
|
|
1357
|
+
'timestamp.to'?: string | string[];
|
|
1564
1358
|
} | undefined;
|
|
1565
1359
|
};
|
|
1566
1360
|
} | {
|
|
1567
1361
|
output: {
|
|
1568
1362
|
error: {
|
|
1569
|
-
code: "
|
|
1363
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1570
1364
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1571
1365
|
message: string;
|
|
1572
1366
|
};
|
|
1573
1367
|
requestId: string;
|
|
1574
1368
|
};
|
|
1575
1369
|
outputFormat: "json";
|
|
1576
|
-
status:
|
|
1370
|
+
status: 429;
|
|
1577
1371
|
input: {
|
|
1578
|
-
param: {
|
|
1579
|
-
transactionHash: `0x${string}`;
|
|
1580
|
-
};
|
|
1581
|
-
} & {
|
|
1582
1372
|
query?: {
|
|
1373
|
+
address?: string | string[];
|
|
1374
|
+
'blockNumber.from'?: string | string[];
|
|
1375
|
+
'blockNumber.to'?: string | string[];
|
|
1583
1376
|
chainId?: string | string[];
|
|
1377
|
+
cursor?: string | string[];
|
|
1378
|
+
feePayer?: string | string[];
|
|
1379
|
+
feeToken?: string | string[];
|
|
1584
1380
|
include?: string | string[];
|
|
1381
|
+
limit?: string | string[];
|
|
1382
|
+
order?: string | string[];
|
|
1383
|
+
page?: string | string[];
|
|
1384
|
+
recipient?: string | string[];
|
|
1385
|
+
sender?: string | string[];
|
|
1386
|
+
status?: string | string[];
|
|
1387
|
+
'timestamp.from'?: string | string[];
|
|
1388
|
+
'timestamp.to'?: string | string[];
|
|
1585
1389
|
} | undefined;
|
|
1586
1390
|
};
|
|
1587
1391
|
} | {
|
|
1588
1392
|
output: {
|
|
1589
1393
|
error: {
|
|
1590
|
-
code: "
|
|
1394
|
+
code: "upstream_error";
|
|
1591
1395
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1592
1396
|
message: string;
|
|
1593
1397
|
};
|
|
1594
1398
|
requestId: string;
|
|
1595
1399
|
};
|
|
1596
1400
|
outputFormat: "json";
|
|
1597
|
-
status:
|
|
1401
|
+
status: 502;
|
|
1598
1402
|
input: {
|
|
1599
|
-
param: {
|
|
1600
|
-
transactionHash: `0x${string}`;
|
|
1601
|
-
};
|
|
1602
|
-
} & {
|
|
1603
1403
|
query?: {
|
|
1404
|
+
address?: string | string[];
|
|
1405
|
+
'blockNumber.from'?: string | string[];
|
|
1406
|
+
'blockNumber.to'?: string | string[];
|
|
1604
1407
|
chainId?: string | string[];
|
|
1408
|
+
cursor?: string | string[];
|
|
1409
|
+
feePayer?: string | string[];
|
|
1410
|
+
feeToken?: string | string[];
|
|
1605
1411
|
include?: string | string[];
|
|
1412
|
+
limit?: string | string[];
|
|
1413
|
+
order?: string | string[];
|
|
1414
|
+
page?: string | string[];
|
|
1415
|
+
recipient?: string | string[];
|
|
1416
|
+
sender?: string | string[];
|
|
1417
|
+
status?: string | string[];
|
|
1418
|
+
'timestamp.from'?: string | string[];
|
|
1419
|
+
'timestamp.to'?: string | string[];
|
|
1606
1420
|
} | undefined;
|
|
1607
1421
|
};
|
|
1608
|
-
}
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
} & {
|
|
1425
|
+
"/v1/transactions/:transactionHash": {
|
|
1426
|
+
$get: {
|
|
1609
1427
|
output: {
|
|
1610
1428
|
blockHash: `0x${string}` | null;
|
|
1611
1429
|
blockNumber: number | null;
|
|
@@ -1814,9 +1632,191 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1814
1632
|
include?: string | string[];
|
|
1815
1633
|
} | undefined;
|
|
1816
1634
|
};
|
|
1635
|
+
} | {
|
|
1636
|
+
output: {
|
|
1637
|
+
error: {
|
|
1638
|
+
code: "api_key_malformed";
|
|
1639
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1640
|
+
message: string;
|
|
1641
|
+
};
|
|
1642
|
+
requestId: string;
|
|
1643
|
+
};
|
|
1644
|
+
outputFormat: "json";
|
|
1645
|
+
status: 400;
|
|
1646
|
+
input: {
|
|
1647
|
+
param: {
|
|
1648
|
+
transactionHash: `0x${string}`;
|
|
1649
|
+
};
|
|
1650
|
+
} & {
|
|
1651
|
+
query?: {
|
|
1652
|
+
chainId?: string | string[];
|
|
1653
|
+
include?: string | string[];
|
|
1654
|
+
} | undefined;
|
|
1655
|
+
};
|
|
1656
|
+
} | {
|
|
1657
|
+
output: {
|
|
1658
|
+
error: {
|
|
1659
|
+
code: "query_invalid";
|
|
1660
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1661
|
+
message: string;
|
|
1662
|
+
};
|
|
1663
|
+
requestId: string;
|
|
1664
|
+
};
|
|
1665
|
+
outputFormat: "json";
|
|
1666
|
+
status: 400;
|
|
1667
|
+
input: {
|
|
1668
|
+
param: {
|
|
1669
|
+
transactionHash: `0x${string}`;
|
|
1670
|
+
};
|
|
1671
|
+
} & {
|
|
1672
|
+
query?: {
|
|
1673
|
+
chainId?: string | string[];
|
|
1674
|
+
include?: string | string[];
|
|
1675
|
+
} | undefined;
|
|
1676
|
+
};
|
|
1677
|
+
} | {
|
|
1678
|
+
output: {
|
|
1679
|
+
error: {
|
|
1680
|
+
code: "transaction_invalid";
|
|
1681
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1682
|
+
message: string;
|
|
1683
|
+
};
|
|
1684
|
+
requestId: string;
|
|
1685
|
+
};
|
|
1686
|
+
outputFormat: "json";
|
|
1687
|
+
status: 400;
|
|
1688
|
+
input: {
|
|
1689
|
+
param: {
|
|
1690
|
+
transactionHash: `0x${string}`;
|
|
1691
|
+
};
|
|
1692
|
+
} & {
|
|
1693
|
+
query?: {
|
|
1694
|
+
chainId?: string | string[];
|
|
1695
|
+
include?: string | string[];
|
|
1696
|
+
} | undefined;
|
|
1697
|
+
};
|
|
1698
|
+
} | {
|
|
1699
|
+
output: {
|
|
1700
|
+
error: {
|
|
1701
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1702
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1703
|
+
message: string;
|
|
1704
|
+
};
|
|
1705
|
+
requestId: string;
|
|
1706
|
+
};
|
|
1707
|
+
outputFormat: "json";
|
|
1708
|
+
status: 401;
|
|
1709
|
+
input: {
|
|
1710
|
+
param: {
|
|
1711
|
+
transactionHash: `0x${string}`;
|
|
1712
|
+
};
|
|
1713
|
+
} & {
|
|
1714
|
+
query?: {
|
|
1715
|
+
chainId?: string | string[];
|
|
1716
|
+
include?: string | string[];
|
|
1717
|
+
} | undefined;
|
|
1718
|
+
};
|
|
1719
|
+
} | {
|
|
1720
|
+
output: null;
|
|
1721
|
+
outputFormat: "body";
|
|
1722
|
+
status: 402;
|
|
1723
|
+
input: {
|
|
1724
|
+
param: {
|
|
1725
|
+
transactionHash: `0x${string}`;
|
|
1726
|
+
};
|
|
1727
|
+
} & {
|
|
1728
|
+
query?: {
|
|
1729
|
+
chainId?: string | string[];
|
|
1730
|
+
include?: string | string[];
|
|
1731
|
+
} | undefined;
|
|
1732
|
+
};
|
|
1733
|
+
} | {
|
|
1734
|
+
output: {
|
|
1735
|
+
error: {
|
|
1736
|
+
code: "api_key_forbidden";
|
|
1737
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1738
|
+
message: string;
|
|
1739
|
+
};
|
|
1740
|
+
requestId: string;
|
|
1741
|
+
};
|
|
1742
|
+
outputFormat: "json";
|
|
1743
|
+
status: 403;
|
|
1744
|
+
input: {
|
|
1745
|
+
param: {
|
|
1746
|
+
transactionHash: `0x${string}`;
|
|
1747
|
+
};
|
|
1748
|
+
} & {
|
|
1749
|
+
query?: {
|
|
1750
|
+
chainId?: string | string[];
|
|
1751
|
+
include?: string | string[];
|
|
1752
|
+
} | undefined;
|
|
1753
|
+
};
|
|
1754
|
+
} | {
|
|
1755
|
+
output: {
|
|
1756
|
+
error: {
|
|
1757
|
+
code: "transaction_not_found";
|
|
1758
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1759
|
+
message: string;
|
|
1760
|
+
};
|
|
1761
|
+
requestId: string;
|
|
1762
|
+
};
|
|
1763
|
+
outputFormat: "json";
|
|
1764
|
+
status: 404;
|
|
1765
|
+
input: {
|
|
1766
|
+
param: {
|
|
1767
|
+
transactionHash: `0x${string}`;
|
|
1768
|
+
};
|
|
1769
|
+
} & {
|
|
1770
|
+
query?: {
|
|
1771
|
+
chainId?: string | string[];
|
|
1772
|
+
include?: string | string[];
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
};
|
|
1775
|
+
} | {
|
|
1776
|
+
output: {
|
|
1777
|
+
error: {
|
|
1778
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1779
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1780
|
+
message: string;
|
|
1781
|
+
};
|
|
1782
|
+
requestId: string;
|
|
1783
|
+
};
|
|
1784
|
+
outputFormat: "json";
|
|
1785
|
+
status: 429;
|
|
1786
|
+
input: {
|
|
1787
|
+
param: {
|
|
1788
|
+
transactionHash: `0x${string}`;
|
|
1789
|
+
};
|
|
1790
|
+
} & {
|
|
1791
|
+
query?: {
|
|
1792
|
+
chainId?: string | string[];
|
|
1793
|
+
include?: string | string[];
|
|
1794
|
+
} | undefined;
|
|
1795
|
+
};
|
|
1796
|
+
} | {
|
|
1797
|
+
output: {
|
|
1798
|
+
error: {
|
|
1799
|
+
code: "upstream_error";
|
|
1800
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1801
|
+
message: string;
|
|
1802
|
+
};
|
|
1803
|
+
requestId: string;
|
|
1804
|
+
};
|
|
1805
|
+
outputFormat: "json";
|
|
1806
|
+
status: 502;
|
|
1807
|
+
input: {
|
|
1808
|
+
param: {
|
|
1809
|
+
transactionHash: `0x${string}`;
|
|
1810
|
+
};
|
|
1811
|
+
} & {
|
|
1812
|
+
query?: {
|
|
1813
|
+
chainId?: string | string[];
|
|
1814
|
+
include?: string | string[];
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
};
|
|
1817
1817
|
};
|
|
1818
1818
|
};
|
|
1819
|
-
}, "/", "/:transactionHash">;
|
|
1819
|
+
}, "/", "/v1/transactions/:transactionHash">;
|
|
1820
1820
|
/**
|
|
1821
1821
|
* Lists humanized transactions and embeds opt-in `include` resources
|
|
1822
1822
|
* (`feeToken`, `receipt`). A `status` filter routes the page through the
|