tapimo 0.0.2 → 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 +38 -16
- package/dist/ApiKey.d.ts +14 -11
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +11 -12
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +207 -0
- package/dist/ApiKeys.d.ts.map +1 -0
- package/dist/ApiKeys.js +282 -0
- package/dist/ApiKeys.js.map +1 -0
- package/dist/App.d.ts +6771 -3819
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +145 -317
- package/dist/App.js.map +1 -1
- package/dist/Handler.d.ts +86 -0
- package/dist/Handler.d.ts.map +1 -0
- package/dist/Handler.js +83 -0
- package/dist/Handler.js.map +1 -0
- package/dist/Scope.d.ts +14 -4
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +16 -4
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +5 -7
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +11 -4
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/Access.d.ts +1 -3
- package/dist/admin/Access.d.ts.map +1 -1
- package/dist/admin/Access.js +1 -3
- package/dist/admin/Access.js.map +1 -1
- package/dist/admin/App.d.ts +167 -205
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +2 -4
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +105 -5
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +75 -9
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +35 -149
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +18 -39
- 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} +6 -6
- 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} +11 -11
- 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} +288 -288
- 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} +35 -35
- 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} +66 -63
- package/dist/apps/{webhooks.d.ts.map → data/routes/webhooks.d.ts.map} +1 -1
- package/dist/apps/{webhooks.js → data/routes/webhooks.js} +67 -59
- 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.d.ts → cli/Cli.d.ts} +13 -2
- package/dist/cli/Cli.d.ts.map +1 -0
- package/dist/cli/Cli.js +19 -0
- package/dist/cli/Cli.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +4 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +15 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +60 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cloudflare.d.ts +7 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +9 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +113 -0
- package/dist/db/Db.d.ts.map +1 -0
- package/dist/db/Db.js +402 -0
- package/dist/db/Db.js.map +1 -0
- package/dist/db/Schema.d.ts +168 -0
- package/dist/db/Schema.d.ts.map +1 -0
- package/dist/db/Schema.js +229 -0
- package/dist/db/Schema.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +84 -0
- package/dist/db/tables/invitations.d.ts.map +1 -0
- package/dist/db/tables/invitations.js +165 -0
- package/dist/db/tables/invitations.js.map +1 -0
- package/dist/db/tables/memberships.d.ts +108 -0
- package/dist/db/tables/memberships.d.ts.map +1 -0
- package/dist/db/tables/memberships.js +153 -0
- package/dist/db/tables/memberships.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +123 -0
- package/dist/db/tables/organizations.d.ts.map +1 -0
- package/dist/db/tables/organizations.js +170 -0
- package/dist/db/tables/organizations.js.map +1 -0
- 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/db/tables/verifiedTokens.d.ts +53 -0
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokens.js +74 -0
- package/dist/db/tables/verifiedTokens.js.map +1 -0
- package/dist/db/tables/webhookDeliveries.d.ts +71 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -0
- package/dist/db/tables/webhookDeliveries.js +119 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +158 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -0
- package/dist/db/tables/webhookSubscriptions.js +272 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -0
- package/dist/handlers/internal/executionError.d.ts +25 -0
- package/dist/handlers/internal/executionError.d.ts.map +1 -0
- package/dist/handlers/internal/executionError.js +186 -0
- package/dist/handlers/internal/executionError.js.map +1 -0
- package/dist/handlers/internal/multisig.d.ts +233 -0
- package/dist/handlers/internal/multisig.d.ts.map +1 -0
- package/dist/handlers/internal/multisig.js +542 -0
- package/dist/handlers/internal/multisig.js.map +1 -0
- package/dist/handlers/internal/requestListener.d.ts +124 -0
- package/dist/handlers/internal/requestListener.d.ts.map +1 -0
- package/dist/handlers/internal/requestListener.js +173 -0
- package/dist/handlers/internal/requestListener.js.map +1 -0
- package/dist/handlers/internal/sponsorship.d.ts +113 -0
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -0
- package/dist/handlers/internal/sponsorship.js +128 -0
- package/dist/handlers/internal/sponsorship.js.map +1 -0
- package/dist/handlers/internal/types.d.ts +284 -0
- package/dist/handlers/internal/types.d.ts.map +1 -0
- package/dist/handlers/internal/types.js +2 -0
- package/dist/handlers/internal/types.js.map +1 -0
- package/dist/handlers/internal/utils.d.ts +34 -0
- package/dist/handlers/internal/utils.d.ts.map +1 -0
- package/dist/handlers/internal/utils.js +131 -0
- package/dist/handlers/internal/utils.js.map +1 -0
- package/dist/handlers/relay.d.ts +123 -0
- package/dist/handlers/relay.d.ts.map +1 -0
- package/dist/handlers/relay.js +1278 -0
- package/dist/handlers/relay.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +224 -16
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +572 -33
- 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/RpcSchema.d.ts +10 -0
- package/dist/internal/RpcSchema.d.ts.map +1 -0
- package/dist/internal/RpcSchema.js +2 -0
- package/dist/internal/RpcSchema.js.map +1 -0
- package/dist/internal/Store.d.ts +49 -4
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +81 -5
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts +15 -34
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +115 -159
- package/dist/internal/VerifiedTokens.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 +50 -36
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +92 -205
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +37 -6
- package/src/ApiKey.test.ts +3 -3
- package/src/ApiKey.ts +11 -12
- package/src/ApiKeys.test.ts +278 -0
- package/src/ApiKeys.ts +358 -0
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +40508 -19083
- package/src/App.ts +239 -416
- package/src/Client.test-d.ts +307 -16
- package/src/Handler.ts +154 -0
- package/src/Scope.ts +17 -4
- package/src/Webhooks.test.ts +8 -7
- package/src/Webhooks.ts +13 -7
- package/src/admin/Access.ts +1 -3
- package/src/admin/App.ts +19 -24
- package/src/admin/apps/api-keys.test.ts +70 -18
- package/src/admin/apps/api-keys.ts +92 -9
- package/src/admin/apps/scopes.test.ts +8 -0
- package/src/admin/apps/verified-tokens.test.ts +3 -30
- package/src/admin/apps/verified-tokens.ts +18 -37
- 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} +6 -5
- package/src/apps/{balances.ts → data/routes/balances.ts} +46 -12
- package/src/apps/{blocks.test.ts → data/routes/blocks.test.ts} +4 -4
- 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} +2 -2
- 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} +27 -6
- package/src/apps/{indexer.ts → data/routes/indexer.ts} +13 -10
- package/src/apps/{receipts.test.ts → data/routes/receipts.test.ts} +4 -4
- package/src/apps/{receipts.ts → data/routes/receipts.ts} +13 -13
- package/src/apps/{rpc.test.ts → data/routes/rpc.test.ts} +142 -13
- package/src/apps/{rpc.ts → data/routes/rpc.ts} +7 -7
- package/src/apps/{tokenlist.test.ts → data/routes/tokenlist.test.ts} +8 -10
- package/src/apps/{tokenlist.ts → data/routes/tokenlist.ts} +9 -9
- package/src/apps/{tokens.test.ts → data/routes/tokens.test.ts} +6 -5
- package/src/apps/{tokens.ts → data/routes/tokens.ts} +20 -20
- package/src/apps/{transactions.test.ts → data/routes/transactions.test.ts} +4 -4
- package/src/apps/{transactions.ts → data/routes/transactions.ts} +15 -15
- package/src/apps/{transfers.test.ts → data/routes/transfers.test.ts} +3 -3
- package/src/apps/{transfers.ts → data/routes/transfers.ts} +15 -15
- package/src/apps/{verified-tokens.test.ts → data/routes/verified-tokens.test.ts} +27 -15
- package/src/apps/{verified-tokens.ts → data/routes/verified-tokens.ts} +10 -10
- package/src/apps/{webhooks.test.ts → data/routes/webhooks.test.ts} +137 -150
- package/src/apps/{webhooks.ts → data/routes/webhooks.ts} +83 -81
- 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.test.ts → cli/Cli.test.ts} +10 -9
- package/src/{Cli.ts → cli/Cli.ts} +16 -9
- package/src/cli/bin.ts +4 -0
- package/src/cli/commands/admin.test.ts +71 -0
- package/src/cli/commands/admin.ts +60 -0
- package/src/cloudflare.ts +10 -0
- package/src/db/Db.test.ts +84 -0
- package/src/db/Db.ts +542 -0
- package/src/db/Schema.ts +301 -0
- package/src/db/tables/invitations.ts +198 -0
- package/src/db/tables/memberships.ts +208 -0
- package/src/db/tables/organizations.test.ts +160 -0
- package/src/db/tables/organizations.ts +232 -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/db/tables/verifiedTokens.ts +111 -0
- package/src/db/tables/webhookDeliveries.ts +159 -0
- package/src/db/tables/webhookSubscriptions.ts +358 -0
- package/src/handlers/internal/executionError.ts +207 -0
- package/src/handlers/internal/multisig.test.ts +818 -0
- package/src/handlers/internal/multisig.ts +823 -0
- package/src/handlers/internal/requestListener.ts +273 -0
- package/src/handlers/internal/sponsorship.ts +245 -0
- package/src/handlers/internal/types.ts +378 -0
- package/src/handlers/internal/utils.ts +153 -0
- package/src/handlers/relay.test.ts +2035 -0
- package/src/handlers/relay.ts +1623 -0
- package/src/index.ts +4 -2
- package/src/internal/Auth.test.ts +337 -21
- package/src/internal/Auth.ts +783 -44
- 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/RateLimit.test.ts +1 -1
- package/src/internal/RpcSchema.ts +10 -0
- package/src/internal/Store.test.ts +150 -10
- package/src/internal/Store.ts +136 -11
- package/src/internal/Tidx.local.test.ts +1 -1
- package/src/internal/VerifiedTokens.test.ts +99 -115
- package/src/internal/VerifiedTokens.ts +123 -175
- package/src/internal/WebhookDestination.test.ts +1 -1
- package/src/internal/Webhooks.test.ts +111 -111
- package/src/internal/Webhooks.ts +103 -221
- package/dist/ApiKeySource.d.ts +0 -166
- package/dist/ApiKeySource.d.ts.map +0 -1
- package/dist/ApiKeySource.js +0 -234
- package/dist/ApiKeySource.js.map +0 -1
- package/dist/Cli.d.ts.map +0 -1
- package/dist/Cli.js +0 -13
- package/dist/Cli.js.map +0 -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/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/31318/verified-tokens.json +0 -30
- package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +0 -4
- package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +0 -30
- package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +0 -11
- package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +0 -1
- package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +0 -5
- package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
- package/seeds/4217/verified-tokens.json +0 -177
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +0 -1
- package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +0 -1
- package/seeds/42431/verified-tokens.json +0 -44
- package/seeds/openrpc/README.md +0 -27
- package/seeds/openrpc/execution-apis.json +0 -8989
- package/src/ApiKeySource.test-d.ts +0 -11
- package/src/ApiKeySource.test.ts +0 -295
- package/src/ApiKeySource.ts +0 -303
- /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,187 +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: "api_key_malformed";
|
|
1014
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1015
|
-
message: string;
|
|
1016
|
-
};
|
|
1017
|
-
requestId: string;
|
|
1018
|
-
};
|
|
1019
|
-
outputFormat: "json";
|
|
1020
|
-
status: 400;
|
|
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_invalid" | "api_key_missing";
|
|
1045
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1046
|
-
message: string;
|
|
1047
|
-
};
|
|
1048
|
-
requestId: string;
|
|
1049
|
-
};
|
|
1050
|
-
outputFormat: "json";
|
|
1051
|
-
status: 401;
|
|
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_forbidden";
|
|
1076
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1077
|
-
message: string;
|
|
1078
|
-
};
|
|
1079
|
-
requestId: string;
|
|
1080
|
-
};
|
|
1081
|
-
outputFormat: "json";
|
|
1082
|
-
status: 403;
|
|
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: "payment_required" | "rate_limit_exceeded";
|
|
1107
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1108
|
-
message: string;
|
|
1109
|
-
};
|
|
1110
|
-
requestId: string;
|
|
1111
|
-
};
|
|
1112
|
-
outputFormat: "json";
|
|
1113
|
-
status: 429;
|
|
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: "query_invalid";
|
|
1138
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1139
|
-
message: string;
|
|
1140
|
-
};
|
|
1141
|
-
requestId: string;
|
|
1142
|
-
};
|
|
1143
|
-
outputFormat: "json";
|
|
1144
|
-
status: 400;
|
|
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
987
|
output: {
|
|
1167
988
|
data: {
|
|
1168
989
|
blockHash: `0x${string}` | null;
|
|
@@ -1391,14 +1212,14 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1391
1212
|
} | {
|
|
1392
1213
|
output: {
|
|
1393
1214
|
error: {
|
|
1394
|
-
code: "
|
|
1215
|
+
code: "api_key_malformed";
|
|
1395
1216
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1396
1217
|
message: string;
|
|
1397
1218
|
};
|
|
1398
1219
|
requestId: string;
|
|
1399
1220
|
};
|
|
1400
1221
|
outputFormat: "json";
|
|
1401
|
-
status:
|
|
1222
|
+
status: 400;
|
|
1402
1223
|
input: {
|
|
1403
1224
|
query?: {
|
|
1404
1225
|
address?: string | string[];
|
|
@@ -1419,28 +1240,10 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1419
1240
|
'timestamp.to'?: string | string[];
|
|
1420
1241
|
} | undefined;
|
|
1421
1242
|
};
|
|
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
1243
|
} | {
|
|
1441
1244
|
output: {
|
|
1442
1245
|
error: {
|
|
1443
|
-
code: "
|
|
1246
|
+
code: "query_invalid";
|
|
1444
1247
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1445
1248
|
message: string;
|
|
1446
1249
|
};
|
|
@@ -1449,13 +1252,23 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1449
1252
|
outputFormat: "json";
|
|
1450
1253
|
status: 400;
|
|
1451
1254
|
input: {
|
|
1452
|
-
param: {
|
|
1453
|
-
transactionHash: `0x${string}`;
|
|
1454
|
-
};
|
|
1455
|
-
} & {
|
|
1456
1255
|
query?: {
|
|
1256
|
+
address?: string | string[];
|
|
1257
|
+
'blockNumber.from'?: string | string[];
|
|
1258
|
+
'blockNumber.to'?: string | string[];
|
|
1457
1259
|
chainId?: string | string[];
|
|
1260
|
+
cursor?: string | string[];
|
|
1261
|
+
feePayer?: string | string[];
|
|
1262
|
+
feeToken?: string | string[];
|
|
1458
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[];
|
|
1459
1272
|
} | undefined;
|
|
1460
1273
|
};
|
|
1461
1274
|
} | {
|
|
@@ -1470,76 +1283,109 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1470
1283
|
outputFormat: "json";
|
|
1471
1284
|
status: 401;
|
|
1472
1285
|
input: {
|
|
1473
|
-
param: {
|
|
1474
|
-
transactionHash: `0x${string}`;
|
|
1475
|
-
};
|
|
1476
|
-
} & {
|
|
1477
1286
|
query?: {
|
|
1287
|
+
address?: string | string[];
|
|
1288
|
+
'blockNumber.from'?: string | string[];
|
|
1289
|
+
'blockNumber.to'?: string | string[];
|
|
1478
1290
|
chainId?: string | string[];
|
|
1291
|
+
cursor?: string | string[];
|
|
1292
|
+
feePayer?: string | string[];
|
|
1293
|
+
feeToken?: string | string[];
|
|
1479
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[];
|
|
1480
1303
|
} | undefined;
|
|
1481
1304
|
};
|
|
1482
1305
|
} | {
|
|
1483
|
-
output:
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1487
|
-
message: string;
|
|
1488
|
-
};
|
|
1489
|
-
requestId: string;
|
|
1490
|
-
};
|
|
1491
|
-
outputFormat: "json";
|
|
1492
|
-
status: 403;
|
|
1306
|
+
output: null;
|
|
1307
|
+
outputFormat: "body";
|
|
1308
|
+
status: 402;
|
|
1493
1309
|
input: {
|
|
1494
|
-
param: {
|
|
1495
|
-
transactionHash: `0x${string}`;
|
|
1496
|
-
};
|
|
1497
|
-
} & {
|
|
1498
1310
|
query?: {
|
|
1499
|
-
|
|
1311
|
+
address?: string | string[];
|
|
1312
|
+
'blockNumber.from'?: string | string[];
|
|
1313
|
+
'blockNumber.to'?: string | string[];
|
|
1314
|
+
chainId?: string | string[];
|
|
1315
|
+
cursor?: string | string[];
|
|
1316
|
+
feePayer?: string | string[];
|
|
1317
|
+
feeToken?: string | string[];
|
|
1500
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[];
|
|
1501
1327
|
} | undefined;
|
|
1502
1328
|
};
|
|
1503
1329
|
} | {
|
|
1504
1330
|
output: {
|
|
1505
1331
|
error: {
|
|
1506
|
-
code: "
|
|
1332
|
+
code: "api_key_forbidden";
|
|
1507
1333
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1508
1334
|
message: string;
|
|
1509
1335
|
};
|
|
1510
1336
|
requestId: string;
|
|
1511
1337
|
};
|
|
1512
1338
|
outputFormat: "json";
|
|
1513
|
-
status:
|
|
1339
|
+
status: 403;
|
|
1514
1340
|
input: {
|
|
1515
|
-
param: {
|
|
1516
|
-
transactionHash: `0x${string}`;
|
|
1517
|
-
};
|
|
1518
|
-
} & {
|
|
1519
1341
|
query?: {
|
|
1342
|
+
address?: string | string[];
|
|
1343
|
+
'blockNumber.from'?: string | string[];
|
|
1344
|
+
'blockNumber.to'?: string | string[];
|
|
1520
1345
|
chainId?: string | string[];
|
|
1346
|
+
cursor?: string | string[];
|
|
1347
|
+
feePayer?: string | string[];
|
|
1348
|
+
feeToken?: string | string[];
|
|
1521
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[];
|
|
1522
1358
|
} | undefined;
|
|
1523
1359
|
};
|
|
1524
1360
|
} | {
|
|
1525
1361
|
output: {
|
|
1526
1362
|
error: {
|
|
1527
|
-
code: "
|
|
1363
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1528
1364
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1529
1365
|
message: string;
|
|
1530
1366
|
};
|
|
1531
1367
|
requestId: string;
|
|
1532
1368
|
};
|
|
1533
1369
|
outputFormat: "json";
|
|
1534
|
-
status:
|
|
1370
|
+
status: 429;
|
|
1535
1371
|
input: {
|
|
1536
|
-
param: {
|
|
1537
|
-
transactionHash: `0x${string}`;
|
|
1538
|
-
};
|
|
1539
|
-
} & {
|
|
1540
1372
|
query?: {
|
|
1373
|
+
address?: string | string[];
|
|
1374
|
+
'blockNumber.from'?: string | string[];
|
|
1375
|
+
'blockNumber.to'?: string | string[];
|
|
1541
1376
|
chainId?: string | string[];
|
|
1377
|
+
cursor?: string | string[];
|
|
1378
|
+
feePayer?: string | string[];
|
|
1379
|
+
feeToken?: string | string[];
|
|
1542
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[];
|
|
1543
1389
|
} | undefined;
|
|
1544
1390
|
};
|
|
1545
1391
|
} | {
|
|
@@ -1554,58 +1400,30 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
1554
1400
|
outputFormat: "json";
|
|
1555
1401
|
status: 502;
|
|
1556
1402
|
input: {
|
|
1557
|
-
param: {
|
|
1558
|
-
transactionHash: `0x${string}`;
|
|
1559
|
-
};
|
|
1560
|
-
} & {
|
|
1561
|
-
query?: {
|
|
1562
|
-
chainId?: string | string[];
|
|
1563
|
-
include?: string | string[];
|
|
1564
|
-
} | undefined;
|
|
1565
|
-
};
|
|
1566
|
-
} | {
|
|
1567
|
-
output: {
|
|
1568
|
-
error: {
|
|
1569
|
-
code: "transaction_invalid";
|
|
1570
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1571
|
-
message: string;
|
|
1572
|
-
};
|
|
1573
|
-
requestId: string;
|
|
1574
|
-
};
|
|
1575
|
-
outputFormat: "json";
|
|
1576
|
-
status: 400;
|
|
1577
|
-
input: {
|
|
1578
|
-
param: {
|
|
1579
|
-
transactionHash: `0x${string}`;
|
|
1580
|
-
};
|
|
1581
|
-
} & {
|
|
1582
|
-
query?: {
|
|
1583
|
-
chainId?: string | string[];
|
|
1584
|
-
include?: string | string[];
|
|
1585
|
-
} | undefined;
|
|
1586
|
-
};
|
|
1587
|
-
} | {
|
|
1588
|
-
output: {
|
|
1589
|
-
error: {
|
|
1590
|
-
code: "transaction_not_found";
|
|
1591
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1592
|
-
message: string;
|
|
1593
|
-
};
|
|
1594
|
-
requestId: string;
|
|
1595
|
-
};
|
|
1596
|
-
outputFormat: "json";
|
|
1597
|
-
status: 404;
|
|
1598
|
-
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
|