tapimo 0.14.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/dist/ApiKey.js +1 -1
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +95 -14
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +360 -49
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +12466 -10374
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +300 -22
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +2 -1
- package/dist/Assets.js.map +1 -1
- package/dist/Handler.d.ts +0 -1
- package/dist/Handler.d.ts.map +1 -1
- package/dist/Handler.js +0 -1
- package/dist/Handler.js.map +1 -1
- package/dist/Scope.d.ts +13 -5
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +16 -5
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.js +1 -1
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +3057 -546
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +26 -5
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +179 -27
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +95 -43
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +1398 -0
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +463 -7
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +267 -15
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +241 -25
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/routes-support.d.ts +95 -0
- package/dist/admin/apps/routes-support.d.ts.map +1 -0
- package/dist/admin/apps/routes-support.js +151 -0
- package/dist/admin/apps/routes-support.js.map +1 -0
- package/dist/admin/apps/routes.d.ts +2764 -0
- package/dist/admin/apps/routes.d.ts.map +1 -0
- package/dist/admin/apps/routes.js +728 -0
- package/dist/admin/apps/routes.js.map +1 -0
- package/dist/admin/apps/subsidies.d.ts +501 -0
- package/dist/admin/apps/subsidies.d.ts.map +1 -0
- package/dist/admin/apps/subsidies.js +384 -0
- package/dist/admin/apps/subsidies.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +166 -160
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +27 -7
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +201 -149
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +5 -2
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +31 -1
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +2 -1
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +10 -1
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/analytics/tables/routesLifecycleIntervals.d.ts +72 -0
- package/dist/analytics/tables/routesLifecycleIntervals.d.ts.map +1 -0
- package/dist/analytics/tables/routesLifecycleIntervals.js +56 -0
- package/dist/analytics/tables/routesLifecycleIntervals.js.map +1 -0
- package/dist/apps/Zones.d.ts +21 -12526
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +37 -5
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +3971 -2595
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +76 -21
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +629 -299
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +495 -190
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +72 -0
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +116 -116
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +47 -21
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/earn.d.ts +1450 -337
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +1226 -144
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +113 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +41 -21
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +142 -17
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +83 -27
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.d.ts +507 -33
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +309 -165
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +47 -15
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
- package/dist/apps/data/routes/tokenlist.js +68 -11
- package/dist/apps/data/routes/tokenlist.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +2 -0
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +26 -14
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +93 -77
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +9 -7
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +88 -88
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/verified-tokens.js +64 -20
- package/dist/apps/data/routes/verified-tokens.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +614 -177
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +308 -205
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +20 -12
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/docs/reference.js +2 -2
- package/dist/apps/docs/reference.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +3780 -3402
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +5 -14
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/Billing.d.ts +48 -7
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +204 -25
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +317 -215
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +43 -15
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +290 -4
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +274 -49
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +6 -6
- package/dist/apps/management/routes/faucet.js +1 -1
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +213 -138
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +117 -13
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +166 -166
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +6 -2
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +30 -30
- package/dist/apps/management/routes/orgs.d.ts +103 -87
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +52 -12
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +125 -125
- package/dist/apps/management/routes/projects.d.ts.map +1 -1
- package/dist/apps/management/routes/projects.js +6 -1
- package/dist/apps/management/routes/projects.js.map +1 -1
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +4 -1
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/management/routes/usage.js +21 -4
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +7 -9
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +682 -616
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +58 -12
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/mcp.d.ts +1 -1
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +23 -10
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/App.js +35 -7
- package/dist/apps/mpp/App.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts +2 -0
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +30 -1
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/apps/mpp/internal/Policy.d.ts +22 -4
- package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Policy.js +24 -6
- package/dist/apps/mpp/internal/Policy.js.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.d.ts +3 -0
- package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Sponsorship.js +6 -3
- package/dist/apps/mpp/internal/Sponsorship.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -0
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +134 -75
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts +5 -3
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +209 -28
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/apps/{funding → routes}/Access.d.ts +4 -4
- package/dist/apps/routes/Access.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/Access.js +4 -4
- package/dist/apps/routes/Access.js.map +1 -0
- package/dist/apps/{funding → routes}/App.d.ts +418 -124
- package/dist/apps/{funding → routes}/App.d.ts.map +1 -1
- package/dist/apps/{funding → routes}/App.js +16 -16
- package/dist/apps/routes/App.js.map +1 -0
- package/dist/apps/routes/Inventory.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/Inventory.js +2 -2
- package/dist/apps/routes/Inventory.js.map +1 -0
- package/dist/apps/routes/index.d.ts +2 -0
- package/dist/apps/routes/index.d.ts.map +1 -0
- package/dist/apps/routes/index.js +2 -0
- package/dist/apps/routes/index.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/chains.d.ts +32 -32
- package/dist/apps/routes/routes/chains.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/routes/chains.js +25 -25
- package/dist/apps/routes/routes/chains.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/deposit-addresses.d.ts +107 -43
- package/dist/apps/routes/routes/deposit-addresses.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/routes/deposit-addresses.js +497 -222
- package/dist/apps/routes/routes/deposit-addresses.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/providers.d.ts +8 -8
- package/dist/apps/routes/routes/providers.d.ts.map +1 -0
- package/dist/apps/routes/routes/providers.js +57 -0
- package/dist/apps/routes/routes/providers.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/quotes.d.ts +106 -103
- package/dist/apps/routes/routes/quotes.d.ts.map +1 -0
- package/dist/apps/{funding → routes}/routes/quotes.js +55 -38
- package/dist/apps/routes/routes/quotes.js.map +1 -0
- package/dist/apps/{funding → routes}/routes/transfers.d.ts +733 -428
- package/dist/apps/routes/routes/transfers.d.ts.map +1 -0
- package/dist/apps/routes/routes/transfers.js +1140 -0
- package/dist/apps/routes/routes/transfers.js.map +1 -0
- package/dist/cli/Cli.d.ts +30 -0
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/commands/admin.d.ts +36 -0
- package/dist/cli/commands/admin.d.ts.map +1 -1
- package/dist/cli/commands/admin.js +273 -0
- package/dist/cli/commands/admin.js.map +1 -1
- package/dist/cloudflare.d.ts +16 -14
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +26 -21
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +63 -21
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +1035 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +780 -133
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +575 -162
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/apiKeyAdmissionBootstraps.d.ts +4 -0
- package/dist/db/tables/apiKeyAdmissionBootstraps.d.ts.map +1 -0
- package/dist/db/tables/apiKeyAdmissionBootstraps.js +2 -0
- package/dist/db/tables/apiKeyAdmissionBootstraps.js.map +1 -0
- package/dist/db/tables/apiKeyAdmissions.d.ts +73 -0
- package/dist/db/tables/apiKeyAdmissions.d.ts.map +1 -0
- package/dist/db/tables/apiKeyAdmissions.js +142 -0
- package/dist/db/tables/apiKeyAdmissions.js.map +1 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.d.ts +4 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.d.ts.map +1 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.js +2 -0
- package/dist/db/tables/apiKeyOwnerAdmissions.js.map +1 -0
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts +20 -0
- package/dist/db/tables/apiKeyOwnerTombstones.d.ts.map +1 -0
- package/dist/db/tables/apiKeyOwnerTombstones.js +57 -0
- package/dist/db/tables/apiKeyOwnerTombstones.js.map +1 -0
- package/dist/db/tables/apiKeyRevocations.d.ts +21 -0
- package/dist/db/tables/apiKeyRevocations.d.ts.map +1 -0
- package/dist/db/tables/apiKeyRevocations.js +98 -0
- package/dist/db/tables/apiKeyRevocations.js.map +1 -0
- package/dist/db/tables/authAccounts.d.ts +47 -0
- package/dist/db/tables/authAccounts.d.ts.map +1 -0
- package/dist/db/tables/authAccounts.js +72 -0
- package/dist/db/tables/authAccounts.js.map +1 -0
- package/dist/db/tables/authSessions.d.ts +12 -0
- package/dist/db/tables/authSessions.d.ts.map +1 -0
- package/dist/db/tables/authSessions.js +2 -0
- package/dist/db/tables/authSessions.js.map +1 -0
- package/dist/db/tables/authVerifications.d.ts +12 -0
- package/dist/db/tables/authVerifications.d.ts.map +1 -0
- package/dist/db/tables/authVerifications.js +2 -0
- package/dist/db/tables/authVerifications.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +17 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/invitations.js +123 -43
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/memberships.d.ts +8 -0
- package/dist/db/tables/memberships.d.ts.map +1 -1
- package/dist/db/tables/memberships.js +51 -2
- package/dist/db/tables/memberships.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +32 -10
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +110 -49
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +2 -0
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +12 -3
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/rewardAccounts.d.ts +86 -0
- package/dist/db/tables/rewardAccounts.d.ts.map +1 -0
- package/dist/db/tables/rewardAccounts.js +88 -0
- package/dist/db/tables/rewardAccounts.js.map +1 -0
- package/dist/db/tables/rewardCampaignDistributors.d.ts +36 -0
- package/dist/db/tables/rewardCampaignDistributors.d.ts.map +1 -0
- package/dist/db/tables/rewardCampaignDistributors.js +30 -0
- package/dist/db/tables/rewardCampaignDistributors.js.map +1 -0
- package/dist/db/tables/rewardCampaigns.d.ts +171 -0
- package/dist/db/tables/rewardCampaigns.d.ts.map +1 -0
- package/dist/db/tables/rewardCampaigns.js +392 -0
- package/dist/db/tables/rewardCampaigns.js.map +1 -0
- package/dist/db/tables/rewardCredits.d.ts +53 -0
- package/dist/db/tables/rewardCredits.d.ts.map +1 -0
- package/dist/db/tables/rewardCredits.js +63 -0
- package/dist/db/tables/rewardCredits.js.map +1 -0
- package/dist/db/tables/rewardEligibilityAssociations.d.ts +61 -0
- package/dist/db/tables/rewardEligibilityAssociations.d.ts.map +1 -0
- package/dist/db/tables/rewardEligibilityAssociations.js +103 -0
- package/dist/db/tables/rewardEligibilityAssociations.js.map +1 -0
- package/dist/db/tables/rewardRuns.d.ts +188 -0
- package/dist/db/tables/rewardRuns.d.ts.map +1 -0
- package/dist/db/tables/rewardRuns.js +278 -0
- package/dist/db/tables/rewardRuns.js.map +1 -0
- package/dist/db/tables/rewardTransactionAttempts.d.ts +100 -0
- package/dist/db/tables/rewardTransactionAttempts.d.ts.map +1 -0
- package/dist/db/tables/rewardTransactionAttempts.js +163 -0
- package/dist/db/tables/rewardTransactionAttempts.js.map +1 -0
- package/dist/db/tables/routesCatalog.d.ts +58 -0
- package/dist/db/tables/routesCatalog.d.ts.map +1 -0
- package/dist/db/tables/{fundingCatalog.js → routesCatalog.js} +19 -19
- package/dist/db/tables/routesCatalog.js.map +1 -0
- package/dist/db/tables/routesDepositAddresses.d.ts +476 -0
- package/dist/db/tables/routesDepositAddresses.d.ts.map +1 -0
- package/dist/db/tables/routesDepositAddresses.js +587 -0
- package/dist/db/tables/routesDepositAddresses.js.map +1 -0
- package/dist/db/tables/{fundingDepositRequestObservations.d.ts → routesDepositRequestObservations.d.ts} +6 -6
- package/dist/db/tables/routesDepositRequestObservations.d.ts.map +1 -0
- package/dist/db/tables/{fundingDepositRequestObservations.js → routesDepositRequestObservations.js} +6 -6
- package/dist/db/tables/routesDepositRequestObservations.js.map +1 -0
- package/dist/db/tables/{fundingDeposits.d.ts → routesDeposits.d.ts} +210 -22
- package/dist/db/tables/routesDeposits.d.ts.map +1 -0
- package/dist/db/tables/routesDeposits.js +576 -0
- package/dist/db/tables/routesDeposits.js.map +1 -0
- package/dist/db/tables/routesIdempotency.d.ts +166 -0
- package/dist/db/tables/routesIdempotency.d.ts.map +1 -0
- package/dist/db/tables/routesIdempotency.js +330 -0
- package/dist/db/tables/routesIdempotency.js.map +1 -0
- package/dist/db/tables/routesSubsidies.d.ts +27 -0
- package/dist/db/tables/routesSubsidies.d.ts.map +1 -0
- package/dist/db/tables/routesSubsidies.js +45 -0
- package/dist/db/tables/routesSubsidies.js.map +1 -0
- package/dist/db/tables/{fundingTransferEvents.d.ts → routesTransferEvents.d.ts} +3 -3
- package/dist/db/tables/routesTransferEvents.d.ts.map +1 -0
- package/dist/db/tables/{fundingTransferEvents.js → routesTransferEvents.js} +3 -3
- package/dist/db/tables/routesTransferEvents.js.map +1 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts +19 -0
- package/dist/db/tables/routesTransferSubsidies.d.ts.map +1 -0
- package/dist/db/tables/routesTransferSubsidies.js +17 -0
- package/dist/db/tables/routesTransferSubsidies.js.map +1 -0
- package/dist/db/tables/routesTransferSubsidyNonces.d.ts +51 -0
- package/dist/db/tables/routesTransferSubsidyNonces.d.ts.map +1 -0
- package/dist/db/tables/routesTransferSubsidyNonces.js +82 -0
- package/dist/db/tables/routesTransferSubsidyNonces.js.map +1 -0
- package/dist/db/tables/routesTransferTransactions.d.ts +77 -0
- package/dist/db/tables/routesTransferTransactions.d.ts.map +1 -0
- package/dist/db/tables/{fundingTransferTransactions.js → routesTransferTransactions.js} +31 -13
- package/dist/db/tables/routesTransferTransactions.js.map +1 -0
- package/dist/db/tables/routesTransfers.d.ts +319 -0
- package/dist/db/tables/routesTransfers.d.ts.map +1 -0
- package/dist/db/tables/routesTransfers.js +372 -0
- package/dist/db/tables/routesTransfers.js.map +1 -0
- package/dist/db/tables/sponsoredTransactions.d.ts +75 -20
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +124 -54
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/sponsorshipAttributions.d.ts +69 -0
- package/dist/db/tables/sponsorshipAttributions.d.ts.map +1 -0
- package/dist/db/tables/sponsorshipAttributions.js +77 -0
- package/dist/db/tables/sponsorshipAttributions.js.map +1 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.d.ts +22 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.d.ts.map +1 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.js +45 -0
- package/dist/db/tables/sponsorshipReconciliationCursors.js.map +1 -0
- package/dist/db/tables/stripeCustomers.d.ts +11 -0
- package/dist/db/tables/stripeCustomers.d.ts.map +1 -1
- package/dist/db/tables/stripeCustomers.js +13 -0
- package/dist/db/tables/stripeCustomers.js.map +1 -1
- package/dist/db/tables/users.d.ts +17 -1
- package/dist/db/tables/users.d.ts.map +1 -1
- package/dist/db/tables/users.js +47 -2
- package/dist/db/tables/users.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.js +65 -44
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +5 -1
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +19 -11
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +45 -13
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/handlers/internal/executionError.d.ts +2 -2
- package/dist/handlers/internal/executionError.d.ts.map +1 -1
- package/dist/handlers/internal/executionError.js +1 -2
- package/dist/handlers/internal/executionError.js.map +1 -1
- package/dist/handlers/internal/multisig.d.ts +4 -232
- package/dist/handlers/internal/multisig.d.ts.map +1 -1
- package/dist/handlers/internal/multisig.js +11 -537
- package/dist/handlers/internal/multisig.js.map +1 -1
- package/dist/handlers/internal/sponsorship.d.ts +19 -8
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -1
- package/dist/handlers/internal/sponsorship.js +13 -9
- package/dist/handlers/internal/sponsorship.js.map +1 -1
- package/dist/handlers/relay.d.ts +9 -12
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +81 -85
- package/dist/handlers/relay.js.map +1 -1
- package/dist/index.d.ts +0 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -17
- package/dist/index.js.map +1 -1
- package/dist/internal/AssetResponse.d.ts +12 -0
- package/dist/internal/AssetResponse.d.ts.map +1 -0
- package/dist/internal/AssetResponse.js +21 -0
- package/dist/internal/AssetResponse.js.map +1 -0
- package/dist/internal/Auth.d.ts +64 -12
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +631 -180
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/BetterAuth.d.ts +1488 -0
- package/dist/internal/BetterAuth.d.ts.map +1 -0
- package/dist/internal/BetterAuth.js +253 -0
- package/dist/internal/BetterAuth.js.map +1 -0
- package/dist/internal/Cache.d.ts +2 -0
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +2 -0
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EarnRates.d.ts +26 -3
- package/dist/internal/EarnRates.d.ts.map +1 -1
- package/dist/internal/EarnRates.js +84 -19
- package/dist/internal/EarnRates.js.map +1 -1
- package/dist/internal/EarnSharePrices.d.ts +120 -0
- package/dist/internal/EarnSharePrices.d.ts.map +1 -0
- package/dist/internal/EarnSharePrices.js +179 -0
- package/dist/internal/EarnSharePrices.js.map +1 -0
- package/dist/internal/EarnVaults.d.ts +4 -0
- package/dist/internal/EarnVaults.d.ts.map +1 -1
- package/dist/internal/EarnVaults.js +27 -10
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/Email.d.ts +37 -0
- package/dist/internal/Email.d.ts.map +1 -0
- package/dist/internal/Email.js +16 -0
- package/dist/internal/Email.js.map +1 -0
- package/dist/internal/Log.d.ts +32 -28
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +18 -11
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +3 -0
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +67 -8
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Mpp.d.ts.map +1 -1
- package/dist/internal/Mpp.js +20 -25
- package/dist/internal/Mpp.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +26 -3
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +25 -10
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Provider.d.ts +1 -1
- package/dist/internal/Provider.d.ts.map +1 -1
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +13 -1
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Store.d.ts +16 -0
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +59 -8
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -2
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +78 -11
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Timing.d.ts +26 -0
- package/dist/internal/Timing.d.ts.map +1 -1
- package/dist/internal/Timing.js +63 -5
- package/dist/internal/Timing.js.map +1 -1
- package/dist/internal/VercelOidc.d.ts +94 -0
- package/dist/internal/VercelOidc.d.ts.map +1 -0
- package/dist/internal/VercelOidc.js +128 -0
- package/dist/internal/VercelOidc.js.map +1 -0
- package/dist/internal/VerifiedTokens.d.ts +2 -8
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +24 -24
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Viem.d.ts +30 -2067
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +167 -17
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +12 -4
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +9 -3
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/ZoneRpc.d.ts +7 -0
- package/dist/internal/ZoneRpc.d.ts.map +1 -0
- package/dist/internal/ZoneRpc.js +49 -0
- package/dist/internal/ZoneRpc.js.map +1 -0
- package/dist/internal/index.d.ts +3 -1
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +3 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/rewards/Audit.d.ts +88 -0
- package/dist/internal/rewards/Audit.d.ts.map +1 -0
- package/dist/internal/rewards/Audit.js +134 -0
- package/dist/internal/rewards/Audit.js.map +1 -0
- package/dist/internal/rewards/Campaigns.d.ts +572 -0
- package/dist/internal/rewards/Campaigns.d.ts.map +1 -0
- package/dist/internal/rewards/Campaigns.js +531 -0
- package/dist/internal/rewards/Campaigns.js.map +1 -0
- package/dist/internal/rewards/Credits.d.ts +76 -0
- package/dist/internal/rewards/Credits.d.ts.map +1 -0
- package/dist/internal/rewards/Credits.js +95 -0
- package/dist/internal/rewards/Credits.js.map +1 -0
- package/dist/internal/rewards/Events.d.ts +100 -0
- package/dist/internal/rewards/Events.d.ts.map +1 -0
- package/dist/internal/rewards/Events.js +340 -0
- package/dist/internal/rewards/Events.js.map +1 -0
- package/dist/internal/rewards/Projection.d.ts +237 -0
- package/dist/internal/rewards/Projection.d.ts.map +1 -0
- package/dist/internal/rewards/Projection.js +616 -0
- package/dist/internal/rewards/Projection.js.map +1 -0
- package/dist/internal/rewards/Rates.d.ts +44 -0
- package/dist/internal/rewards/Rates.d.ts.map +1 -0
- package/dist/internal/rewards/Rates.js +60 -0
- package/dist/internal/rewards/Rates.js.map +1 -0
- package/dist/internal/rewards/Read.d.ts +158 -0
- package/dist/internal/rewards/Read.d.ts.map +1 -0
- package/dist/internal/rewards/Read.js +292 -0
- package/dist/internal/rewards/Read.js.map +1 -0
- package/dist/internal/rewards/Runner.d.ts +164 -0
- package/dist/internal/rewards/Runner.d.ts.map +1 -0
- package/dist/internal/rewards/Runner.js +1778 -0
- package/dist/internal/rewards/Runner.js.map +1 -0
- package/dist/internal/rewards/Signer.d.ts +224 -0
- package/dist/internal/rewards/Signer.d.ts.map +1 -0
- package/dist/internal/rewards/Signer.js +135 -0
- package/dist/internal/rewards/Signer.js.map +1 -0
- package/dist/internal/rewards/index.d.ts +15 -0
- package/dist/internal/rewards/index.d.ts.map +1 -0
- package/dist/internal/rewards/index.js +15 -0
- package/dist/internal/rewards/index.js.map +1 -0
- package/dist/internal/{funding → routes}/Action.d.ts +12 -1
- package/dist/internal/routes/Action.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Action.js +17 -9
- package/dist/internal/routes/Action.js.map +1 -0
- package/dist/internal/{funding → routes}/Catalog.d.ts +20 -20
- package/dist/internal/routes/Catalog.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Catalog.js +29 -29
- package/dist/internal/routes/Catalog.js.map +1 -0
- package/dist/internal/{funding → routes}/Chain.d.ts +10 -10
- package/dist/internal/routes/Chain.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Chain.js +3 -3
- package/dist/internal/routes/Chain.js.map +1 -0
- package/dist/internal/{funding → routes}/Deposit.d.ts +45 -23
- package/dist/internal/routes/Deposit.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Deposit.js +60 -27
- package/dist/internal/routes/Deposit.js.map +1 -0
- package/dist/internal/{funding → routes}/DepositAddress.d.ts +56 -27
- package/dist/internal/routes/DepositAddress.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/DepositAddress.js +95 -33
- package/dist/internal/routes/DepositAddress.js.map +1 -0
- package/dist/internal/{funding → routes}/DepositWebhook.d.ts +4 -4
- package/dist/internal/routes/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/DepositWebhook.js +4 -4
- package/dist/internal/routes/DepositWebhook.js.map +1 -0
- package/dist/internal/routes/Economics.d.ts +25 -0
- package/dist/internal/routes/Economics.d.ts.map +1 -0
- package/dist/internal/routes/Economics.js +28 -0
- package/dist/internal/routes/Economics.js.map +1 -0
- package/dist/internal/{funding → routes}/Evidence.d.ts +3 -3
- package/dist/internal/routes/Evidence.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Evidence.js +7 -7
- package/dist/internal/routes/Evidence.js.map +1 -0
- package/dist/internal/routes/Observability.d.ts +154 -0
- package/dist/internal/routes/Observability.d.ts.map +1 -0
- package/dist/internal/routes/Observability.js +389 -0
- package/dist/internal/routes/Observability.js.map +1 -0
- package/dist/internal/{funding → routes}/Provider.d.ts +311 -105
- package/dist/internal/routes/Provider.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Provider.js +229 -98
- package/dist/internal/routes/Provider.js.map +1 -0
- package/dist/internal/{funding → routes}/Reconciliation.d.ts +11 -6
- package/dist/internal/routes/Reconciliation.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Reconciliation.js +408 -158
- package/dist/internal/routes/Reconciliation.js.map +1 -0
- package/dist/internal/routes/Route.d.ts +21 -0
- package/dist/internal/routes/Route.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Route.js +1 -1
- package/dist/internal/routes/Route.js.map +1 -0
- package/dist/internal/{funding → routes}/SourceObservation.d.ts +6 -6
- package/dist/internal/routes/SourceObservation.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/SourceObservation.js +8 -8
- package/dist/internal/routes/SourceObservation.js.map +1 -0
- package/dist/internal/{funding → routes}/Subsidy.d.ts +48 -3
- package/dist/internal/routes/Subsidy.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Subsidy.js +43 -3
- package/dist/internal/routes/Subsidy.js.map +1 -0
- package/dist/internal/{funding → routes}/Token.d.ts +4 -4
- package/dist/internal/routes/Token.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/Token.js +3 -3
- package/dist/internal/routes/Token.js.map +1 -0
- package/dist/internal/{funding → routes}/Transfer.d.ts +241 -46
- package/dist/internal/routes/Transfer.d.ts.map +1 -0
- package/dist/internal/routes/Transfer.js +728 -0
- package/dist/internal/routes/Transfer.js.map +1 -0
- package/dist/internal/{funding → routes}/TransferReconciliation.d.ts +13 -10
- package/dist/internal/routes/TransferReconciliation.d.ts.map +1 -0
- package/dist/internal/routes/TransferReconciliation.js +422 -0
- package/dist/internal/routes/TransferReconciliation.js.map +1 -0
- package/dist/internal/routes/TransferSubsidy.d.ts +201 -0
- package/dist/internal/routes/TransferSubsidy.d.ts.map +1 -0
- package/dist/internal/routes/TransferSubsidy.js +256 -0
- package/dist/internal/routes/TransferSubsidy.js.map +1 -0
- package/dist/internal/{funding → routes}/TransferWebhook.d.ts +5 -5
- package/dist/internal/routes/TransferWebhook.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/TransferWebhook.js +3 -3
- package/dist/internal/routes/TransferWebhook.js.map +1 -0
- package/dist/internal/{funding → routes}/index.d.ts +2 -0
- package/dist/internal/routes/index.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/index.js +2 -0
- package/dist/internal/routes/index.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/across.d.ts +4 -4
- package/dist/internal/routes/providers/across.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/across.js +13 -13
- package/dist/internal/routes/providers/across.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/relay.d.ts +21 -12
- package/dist/internal/routes/providers/relay.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/relay.js +194 -110
- package/dist/internal/routes/providers/relay.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/rhino.d.ts +4 -4
- package/dist/internal/routes/providers/rhino.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/rhino.js +10 -10
- package/dist/internal/routes/providers/rhino.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/squid.d.ts +4 -4
- package/dist/internal/routes/providers/squid.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/squid.js +14 -14
- package/dist/internal/routes/providers/squid.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/stargate.d.ts +46 -18
- package/dist/internal/routes/providers/stargate.d.ts.map +1 -0
- package/dist/internal/routes/providers/stargate.js +898 -0
- package/dist/internal/routes/providers/stargate.js.map +1 -0
- package/dist/internal/{funding → routes}/providers/symbiosis.d.ts +4 -4
- package/dist/internal/routes/providers/symbiosis.d.ts.map +1 -0
- package/dist/internal/{funding → routes}/providers/symbiosis.js +30 -20
- package/dist/internal/routes/providers/symbiosis.js.map +1 -0
- package/dist/internal/webhookDestinations/slack.js +12 -12
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/dist/providers/index.d.ts +12 -12
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +12 -12
- package/dist/providers/index.js.map +1 -1
- package/dist/server.d.ts +19 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +19 -0
- package/dist/server.js.map +1 -0
- package/package.json +15 -4
- package/src/ApiKey.ts +1 -1
- package/src/ApiKeys.test.ts +1033 -3
- package/src/ApiKeys.ts +489 -48
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +216 -25
- package/src/App.ts +334 -31
- package/src/Assets.test.ts +2 -2
- package/src/Assets.ts +3 -1
- package/src/Auth.test-d.ts +1 -1
- package/src/Client.test-d.ts +539 -110
- package/src/Handler.ts +0 -1
- package/src/OpenApi.contract.test.ts +195 -0
- package/src/Scope.ts +17 -5
- package/src/Webhooks.ts +1 -1
- package/src/admin/App.test.ts +30 -2
- package/src/admin/App.ts +42 -6
- package/src/admin/apps/api-keys.test.ts +267 -5
- package/src/admin/apps/api-keys.ts +100 -50
- package/src/admin/apps/earn-vaults.test.ts +158 -0
- package/src/admin/apps/earn-vaults.ts +679 -6
- package/src/admin/apps/organizations.test.ts +306 -17
- package/src/admin/apps/organizations.ts +299 -24
- package/src/admin/apps/routes-support.test.ts +200 -0
- package/src/admin/apps/routes-support.ts +201 -0
- package/src/admin/apps/routes.test.ts +450 -0
- package/src/admin/apps/routes.ts +896 -0
- package/src/admin/apps/scopes.test.ts +15 -5
- package/src/admin/apps/subsidies.test.ts +306 -0
- package/src/admin/apps/subsidies.ts +457 -0
- package/src/admin/apps/verified-tokens.test.ts +40 -3
- package/src/admin/apps/verified-tokens.ts +33 -7
- package/src/admin/ui/plugin.ts +1 -2
- package/src/admin/ui/src/components/RewardCampaignForm.tsx +1009 -0
- package/src/admin/ui/src/lib/config.ts +11 -2
- package/src/admin/ui/src/lib/earn-vaults.ts +2 -2
- package/src/admin/ui/src/lib/organizations.test.ts +83 -50
- package/src/admin/ui/src/lib/organizations.ts +106 -25
- package/src/admin/ui/src/lib/query-client.ts +1 -1
- package/src/admin/ui/src/lib/reward-campaigns.ts +136 -0
- package/src/admin/ui/src/lib/routes.test.ts +88 -0
- package/src/admin/ui/src/lib/routes.ts +304 -0
- package/src/admin/ui/src/lib/subsidies.ts +75 -0
- package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
- package/src/admin/ui/src/routeTree.gen.ts +63 -0
- package/src/admin/ui/src/routes/__root.tsx +13 -2
- package/src/admin/ui/src/routes/api-keys.tsx +196 -84
- package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +105 -70
- package/src/admin/ui/src/routes/organizations.tsx +34 -4
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +239 -23
- package/src/admin/ui/src/routes/routes.tsx +1615 -0
- package/src/admin/ui/src/routes/routes_.support.tsx +248 -0
- package/src/admin/ui/src/routes/subsidies.tsx +799 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
- package/src/admin/ui.generated.ts +202 -188
- package/src/analytics/Analytics.test.ts +108 -18
- package/src/analytics/Analytics.ts +38 -6
- package/src/analytics/tables/requestEvents.test.ts +100 -0
- package/src/analytics/tables/requestEvents.ts +10 -1
- package/src/analytics/tables/routesLifecycleIntervals.ts +140 -0
- package/src/apps/Zones.test.ts +15 -0
- package/src/apps/Zones.ts +52 -5
- package/src/apps/composition.test.ts +68 -60
- package/src/apps/data/App.test.ts +180 -2
- package/src/apps/data/App.ts +88 -28
- package/src/apps/data/routes/activities.test.ts +419 -7
- package/src/apps/data/routes/activities.ts +683 -216
- package/src/apps/data/routes/balances.test.ts +2 -2
- package/src/apps/data/routes/blocks.test.ts +46 -1
- package/src/apps/data/routes/coingecko.test.ts +419 -1
- package/src/apps/data/routes/coingecko.ts +309 -253
- package/src/apps/data/routes/earn.discovery.test.ts +274 -0
- package/src/apps/data/routes/earn.test.ts +1294 -17
- package/src/apps/data/routes/earn.ts +1838 -321
- package/src/apps/data/routes/exchanges.test.ts +12 -15
- package/src/apps/data/routes/fee-amm.test.ts +243 -0
- package/src/apps/data/routes/fee-amm.ts +201 -162
- package/src/apps/data/routes/indexer.test.ts +389 -0
- package/src/apps/data/routes/indexer.ts +165 -69
- package/src/apps/data/routes/receipts.test.ts +1 -1
- package/src/apps/data/routes/rpc.test.ts +384 -8
- package/src/apps/data/routes/rpc.ts +452 -227
- package/src/apps/data/routes/rpc.zone.test.ts +340 -0
- package/src/apps/data/routes/tokenlist.test.ts +285 -0
- package/src/apps/data/routes/tokenlist.ts +173 -88
- package/src/apps/data/routes/tokens.test.ts +93 -3
- package/src/apps/data/routes/tokens.ts +39 -23
- package/src/apps/data/routes/transactions.test.ts +1 -1
- package/src/apps/data/routes/transfers.test.ts +56 -24
- package/src/apps/data/routes/transfers.ts +19 -8
- package/src/apps/data/routes/valuation.test.ts +1 -1
- package/src/apps/data/routes/verified-tokens.test.ts +345 -0
- package/src/apps/data/routes/verified-tokens.ts +99 -29
- package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
- package/src/apps/data/routes/webhooks.test.ts +651 -83
- package/src/apps/data/routes/webhooks.ts +1113 -868
- package/src/apps/data/routes/zones.test.ts +148 -71
- package/src/apps/data/routes/zones.ts +71 -55
- package/src/apps/docs/reference.ts +2 -2
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +9 -51
- package/src/apps/management/Billing.test.ts +375 -14
- package/src/apps/management/Billing.ts +265 -29
- package/src/apps/management/routes/api-keys.test.ts +269 -7
- package/src/apps/management/routes/api-keys.ts +61 -20
- package/src/apps/management/routes/billing.test.ts +477 -15
- package/src/apps/management/routes/billing.ts +377 -50
- package/src/apps/management/routes/faucet.test.ts +1 -1
- package/src/apps/management/routes/faucet.ts +1 -1
- package/src/apps/management/routes/invitations.test.ts +270 -3
- package/src/apps/management/routes/invitations.ts +185 -15
- package/src/apps/management/routes/invoicePreview.test.ts +549 -0
- package/src/apps/management/routes/me.test.ts +246 -5
- package/src/apps/management/routes/me.ts +7 -2
- package/src/apps/management/routes/members.test.ts +108 -0
- package/src/apps/management/routes/orgs.test.ts +191 -3
- package/src/apps/management/routes/orgs.ts +58 -11
- package/src/apps/management/routes/projects.test.ts +33 -3
- package/src/apps/management/routes/projects.ts +6 -1
- package/src/apps/management/routes/scopes.test.ts +30 -2
- package/src/apps/management/routes/scopes.ts +4 -1
- package/src/apps/management/routes/usage.test.ts +32 -0
- package/src/apps/management/routes/usage.ts +22 -4
- package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
- package/src/apps/management/routes/verified-token-requests.ts +7 -10
- package/src/apps/management/routes/webhooks.test.ts +49 -26
- package/src/apps/management/routes/webhooks.ts +78 -22
- package/src/apps/mcp.test.ts +113 -30
- package/src/apps/mcp.ts +22 -10
- package/src/apps/mpp/App.ts +37 -7
- package/src/apps/mpp/Mpp.test.ts +49 -8
- package/src/apps/mpp/Mpp.zone.test.ts +219 -0
- package/src/apps/mpp/internal/Adapter.ts +34 -0
- package/src/apps/mpp/internal/Policy.test.ts +86 -31
- package/src/apps/mpp/internal/Policy.ts +49 -7
- package/src/apps/mpp/internal/Sponsorship.test.ts +207 -0
- package/src/apps/mpp/internal/Sponsorship.ts +9 -3
- package/src/apps/relay/App.test.ts +839 -64
- package/src/apps/relay/App.ts +148 -81
- package/src/apps/relay/App.zone-billing.test.ts +257 -0
- package/src/apps/relay/Sponsorships.test.ts +67 -4
- package/src/apps/relay/Sponsorships.ts +233 -32
- package/src/apps/relay/Sponsorships.zone.test.ts +102 -0
- package/src/apps/{funding → routes}/Access.ts +6 -6
- package/src/apps/routes/App.test.ts +165 -0
- package/src/apps/routes/App.ts +96 -0
- package/src/apps/{funding → routes}/Inventory.ts +2 -2
- package/src/apps/routes/index.ts +1 -0
- package/src/apps/{funding → routes}/routes/chains.test.ts +66 -66
- package/src/apps/{funding → routes}/routes/chains.ts +23 -23
- package/src/apps/{funding → routes}/routes/deposit-addresses.test.ts +1358 -458
- package/src/apps/{funding → routes}/routes/deposit-addresses.ts +566 -246
- package/src/apps/{funding → routes}/routes/providers.test.ts +27 -33
- package/src/apps/{funding → routes}/routes/providers.ts +23 -23
- package/src/apps/{funding → routes}/routes/quotes.test.ts +298 -41
- package/src/apps/{funding → routes}/routes/quotes.ts +57 -40
- package/src/apps/{funding → routes}/routes/transfers.test.ts +1100 -353
- package/src/apps/routes/routes/transfers.ts +1332 -0
- package/src/cli/Cli.test.ts +1 -1
- package/src/cli/commands/admin.test.ts +748 -1
- package/src/cli/commands/admin.ts +278 -0
- package/src/cloudflare.ts +52 -47
- package/src/db/Db.test.ts +245 -2
- package/src/db/Db.ts +1485 -34
- package/src/db/Schema.ts +729 -228
- package/src/db/tables/apiKeyAdmissionBootstraps.ts +4 -0
- package/src/db/tables/apiKeyAdmissions.ts +218 -0
- package/src/db/tables/apiKeyOwnerAdmissions.ts +4 -0
- package/src/db/tables/apiKeyOwnerTombstones.ts +81 -0
- package/src/db/tables/apiKeyRevocations.test.ts +74 -0
- package/src/db/tables/apiKeyRevocations.ts +121 -0
- package/src/db/tables/authAccounts.ts +105 -0
- package/src/db/tables/authSessions.ts +13 -0
- package/src/db/tables/authVerifications.ts +13 -0
- package/src/db/tables/invitations.ts +142 -45
- package/src/db/tables/memberships.ts +79 -3
- package/src/db/tables/organizations.test.ts +690 -13
- package/src/db/tables/organizations.ts +139 -55
- package/src/db/tables/projects.test.ts +16 -0
- package/src/db/tables/projects.ts +13 -3
- package/src/db/tables/requestUsage.ts +4 -1
- package/src/db/tables/rewardAccounts.ts +178 -0
- package/src/db/tables/rewardCampaignDistributors.ts +68 -0
- package/src/db/tables/rewardCampaigns.test.ts +1388 -0
- package/src/db/tables/rewardCampaigns.ts +647 -0
- package/src/db/tables/rewardCredits.ts +110 -0
- package/src/db/tables/rewardEligibilityAssociations.test.ts +271 -0
- package/src/db/tables/rewardEligibilityAssociations.ts +184 -0
- package/src/db/tables/rewardRuns.ts +514 -0
- package/src/db/tables/rewardTransactionAttempts.ts +272 -0
- package/src/db/tables/routesCatalog.test.ts +185 -0
- package/src/db/tables/routesCatalog.ts +163 -0
- package/src/db/tables/routesDepositAddresses.test.ts +1048 -0
- package/src/db/tables/routesDepositAddresses.ts +1008 -0
- package/src/db/tables/{fundingDepositRequestObservations.test.ts → routesDepositRequestObservations.test.ts} +13 -14
- package/src/db/tables/{fundingDepositRequestObservations.ts → routesDepositRequestObservations.ts} +10 -10
- package/src/db/tables/{fundingDeposits.test.ts → routesDeposits.test.ts} +388 -46
- package/src/db/tables/routesDeposits.ts +1062 -0
- package/src/db/tables/routesIdempotency.test.ts +796 -0
- package/src/db/tables/routesIdempotency.ts +496 -0
- package/src/db/tables/routesSubsidies.test.ts +120 -0
- package/src/db/tables/routesSubsidies.ts +71 -0
- package/src/db/tables/{fundingTransferEvents.ts → routesTransferEvents.ts} +4 -4
- package/src/db/tables/routesTransferSubsidies.ts +38 -0
- package/src/db/tables/routesTransferSubsidyNonces.ts +124 -0
- package/src/db/tables/routesTransferTransactions.test.ts +195 -0
- package/src/db/tables/{fundingTransferTransactions.ts → routesTransferTransactions.ts} +63 -18
- package/src/db/tables/routesTransfers.test.ts +338 -0
- package/src/db/tables/routesTransfers.ts +662 -0
- package/src/db/tables/sponsoredTransactions.test.ts +269 -45
- package/src/db/tables/sponsoredTransactions.ts +225 -65
- package/src/db/tables/sponsorshipAttributions.test.ts +160 -0
- package/src/db/tables/sponsorshipAttributions.ts +168 -0
- package/src/db/tables/sponsorshipReconciliationCursors.test.ts +115 -0
- package/src/db/tables/sponsorshipReconciliationCursors.ts +67 -0
- package/src/db/tables/stripeCustomers.test.ts +85 -0
- package/src/db/tables/stripeCustomers.ts +24 -0
- package/src/db/tables/users.test.ts +129 -0
- package/src/db/tables/users.ts +49 -3
- package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
- package/src/db/tables/verifiedTokenRequests.ts +80 -44
- package/src/db/tables/webhookQueueEvents.ts +8 -1
- package/src/db/tables/webhookSubscriptions.ts +95 -20
- package/src/handlers/internal/executionError.ts +3 -4
- package/src/handlers/internal/multisig.ts +13 -816
- package/src/handlers/internal/sponsorship.ts +26 -10
- package/src/handlers/relay.test-d.ts +9 -1
- package/src/handlers/relay.test.ts +823 -3
- package/src/handlers/relay.ts +127 -107
- package/src/index.test-d.ts +7 -0
- package/src/index.ts +0 -17
- package/src/internal/AssetResponse.ts +26 -0
- package/src/internal/Auth.test.ts +1656 -9
- package/src/internal/Auth.ts +880 -244
- package/src/internal/BetterAuth.test.ts +242 -0
- package/src/internal/BetterAuth.ts +349 -0
- package/src/internal/Cache.ts +2 -0
- package/src/internal/EarnRates.test.ts +17 -0
- package/src/internal/EarnRates.ts +124 -31
- package/src/internal/EarnSharePrices.test.ts +182 -0
- package/src/internal/EarnSharePrices.ts +313 -0
- package/src/internal/EarnVaults.test.ts +21 -0
- package/src/internal/EarnVaults.ts +33 -11
- package/src/internal/Email.ts +54 -0
- package/src/internal/Idempotency.test.ts +2 -2
- package/src/internal/Log.test-d.ts +8 -7
- package/src/internal/Log.test.ts +114 -16
- package/src/internal/Log.ts +53 -40
- package/src/internal/MetricSink.test.ts +313 -26
- package/src/internal/MetricSink.ts +73 -8
- package/src/internal/Mpp.test.ts +31 -0
- package/src/internal/Mpp.ts +21 -24
- package/src/internal/OpenApi.ts +45 -12
- package/src/internal/Provider.test.ts +1 -1
- package/src/internal/Provider.ts +1 -1
- package/src/internal/RateLimit.test.ts +21 -3
- package/src/internal/RateLimit.ts +12 -1
- package/src/internal/Store.test-d.ts +1 -1
- package/src/internal/Store.test.ts +151 -8
- package/src/internal/Store.ts +76 -9
- package/src/internal/Tidx.test.ts +59 -8
- package/src/internal/Tidx.ts +86 -14
- package/src/internal/Timing.test.ts +77 -0
- package/src/internal/Timing.ts +83 -6
- package/src/internal/VercelOidc.test.ts +188 -0
- package/src/internal/VercelOidc.ts +193 -0
- package/src/internal/VerifiedTokens.test.ts +60 -6
- package/src/internal/VerifiedTokens.ts +21 -24
- package/src/internal/Viem.batch.test.ts +80 -0
- package/src/internal/Viem.test.ts +201 -2
- package/src/internal/Viem.ts +221 -25
- package/src/internal/Webhooks.test.ts +85 -6
- package/src/internal/Webhooks.ts +22 -4
- package/src/internal/ZoneRpc.ts +50 -0
- package/src/internal/exchange/Provider.test.ts +2 -2
- package/src/internal/index.test.ts +3 -1
- package/src/internal/index.ts +3 -1
- package/src/internal/rewards/Audit.ts +231 -0
- package/src/internal/rewards/Campaigns.test.ts +1234 -0
- package/src/internal/rewards/Campaigns.ts +1205 -0
- package/src/internal/rewards/Credits.ts +165 -0
- package/src/internal/rewards/Events.local.test.ts +113 -0
- package/src/internal/rewards/Events.test.ts +152 -0
- package/src/internal/rewards/Events.ts +468 -0
- package/src/internal/rewards/Projection.test.ts +681 -0
- package/src/internal/rewards/Projection.ts +987 -0
- package/src/internal/rewards/Rates.test.ts +171 -0
- package/src/internal/rewards/Rates.ts +110 -0
- package/src/internal/rewards/Read.test.ts +501 -0
- package/src/internal/rewards/Read.ts +476 -0
- package/src/internal/rewards/Runner.checkpoint.test.ts +80 -0
- package/src/internal/rewards/Runner.states.test.ts +188 -0
- package/src/internal/rewards/Runner.test.ts +90 -0
- package/src/internal/rewards/Runner.ts +2229 -0
- package/src/internal/rewards/Signer.test.ts +79 -0
- package/src/internal/rewards/Signer.ts +180 -0
- package/src/internal/rewards/index.ts +14 -0
- package/src/internal/{funding → routes}/Action.test.ts +63 -14
- package/src/internal/{funding → routes}/Action.ts +35 -8
- package/src/internal/{funding → routes}/Catalog.test.ts +3 -3
- package/src/internal/{funding → routes}/Catalog.ts +39 -39
- package/src/internal/{funding → routes}/Chain.test.ts +1 -1
- package/src/internal/{funding → routes}/Chain.ts +11 -11
- package/src/internal/{funding → routes}/Deposit.test.ts +1 -1
- package/src/internal/{funding → routes}/Deposit.ts +93 -45
- package/src/internal/{funding → routes}/DepositAddress.test.ts +11 -3
- package/src/internal/{funding → routes}/DepositAddress.ts +132 -53
- package/src/internal/{funding → routes}/DepositWebhook.test.ts +61 -18
- package/src/internal/{funding → routes}/DepositWebhook.ts +9 -9
- package/src/internal/routes/Economics.test.ts +42 -0
- package/src/internal/routes/Economics.ts +47 -0
- package/src/internal/{funding → routes}/Evidence.test.ts +6 -6
- package/src/internal/{funding → routes}/Evidence.ts +9 -9
- package/src/internal/routes/Observability.test.ts +636 -0
- package/src/internal/routes/Observability.ts +668 -0
- package/src/internal/{funding → routes}/Provider.test.ts +489 -153
- package/src/internal/{funding → routes}/Provider.ts +489 -186
- package/src/internal/{funding → routes}/Reconciliation.local.test.ts +84 -12
- package/src/internal/{funding → routes}/Reconciliation.test.ts +1213 -279
- package/src/internal/{funding → routes}/Reconciliation.ts +501 -203
- package/src/internal/routes/Reconciliation.unattributed.test.ts +250 -0
- package/src/internal/{funding → routes}/Route.ts +7 -7
- package/src/internal/{funding → routes}/SourceObservation.test.ts +13 -14
- package/src/internal/{funding → routes}/SourceObservation.ts +13 -13
- package/src/internal/{funding → routes}/Subsidy.local.test.ts +7 -7
- package/src/internal/routes/Subsidy.test.ts +169 -0
- package/src/internal/{funding → routes}/Subsidy.ts +86 -6
- package/src/internal/{funding → routes}/Token.test.ts +1 -1
- package/src/internal/{funding → routes}/Token.ts +5 -5
- package/src/internal/routes/Transfer.test.ts +1199 -0
- package/src/internal/routes/Transfer.ts +1206 -0
- package/src/internal/routes/TransferReconciliation.test.ts +731 -0
- package/src/internal/routes/TransferReconciliation.ts +527 -0
- package/src/internal/routes/TransferSubsidy.test.ts +172 -0
- package/src/internal/routes/TransferSubsidy.ts +447 -0
- package/src/internal/{funding → routes}/TransferWebhook.test.ts +13 -13
- package/src/internal/{funding → routes}/TransferWebhook.ts +7 -7
- package/src/internal/{funding → routes}/index.test.ts +5 -3
- package/src/internal/{funding → routes}/index.ts +2 -0
- package/src/internal/{funding → routes}/providers/across.ts +16 -16
- package/src/internal/{funding → routes}/providers/index.test.ts +157 -44
- package/src/internal/{funding → routes}/providers/relay.test.ts +224 -32
- package/src/internal/{funding → routes}/providers/relay.ts +228 -121
- package/src/internal/{funding → routes}/providers/rhino.ts +16 -16
- package/src/internal/{funding → routes}/providers/squid.ts +17 -17
- package/src/internal/routes/providers/stargate.test.ts +728 -0
- package/src/internal/routes/providers/stargate.ts +1276 -0
- package/src/internal/{funding → routes}/providers/symbiosis.ts +64 -24
- package/src/internal/webhookDestinations/slack.ts +10 -10
- package/src/providers/index.ts +13 -13
- package/src/server.ts +18 -0
- package/dist/apps/funding/Access.d.ts.map +0 -1
- package/dist/apps/funding/Access.js.map +0 -1
- package/dist/apps/funding/App.js.map +0 -1
- package/dist/apps/funding/Inventory.d.ts.map +0 -1
- package/dist/apps/funding/Inventory.js.map +0 -1
- package/dist/apps/funding/ProviderAttempts.d.ts +0 -5
- package/dist/apps/funding/ProviderAttempts.d.ts.map +0 -1
- package/dist/apps/funding/ProviderAttempts.js +0 -24
- package/dist/apps/funding/ProviderAttempts.js.map +0 -1
- package/dist/apps/funding/index.d.ts +0 -2
- package/dist/apps/funding/index.d.ts.map +0 -1
- package/dist/apps/funding/index.js +0 -2
- package/dist/apps/funding/index.js.map +0 -1
- package/dist/apps/funding/routes/chains.d.ts.map +0 -1
- package/dist/apps/funding/routes/chains.js.map +0 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +0 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +0 -1
- package/dist/apps/funding/routes/providers.d.ts.map +0 -1
- package/dist/apps/funding/routes/providers.js +0 -57
- package/dist/apps/funding/routes/providers.js.map +0 -1
- package/dist/apps/funding/routes/quotes.d.ts.map +0 -1
- package/dist/apps/funding/routes/quotes.js.map +0 -1
- package/dist/apps/funding/routes/transfers.d.ts.map +0 -1
- package/dist/apps/funding/routes/transfers.js +0 -828
- package/dist/apps/funding/routes/transfers.js.map +0 -1
- package/dist/db/tables/fundingCatalog.d.ts +0 -58
- package/dist/db/tables/fundingCatalog.d.ts.map +0 -1
- package/dist/db/tables/fundingCatalog.js.map +0 -1
- package/dist/db/tables/fundingDepositAddresses.d.ts +0 -192
- package/dist/db/tables/fundingDepositAddresses.d.ts.map +0 -1
- package/dist/db/tables/fundingDepositAddresses.js +0 -235
- package/dist/db/tables/fundingDepositAddresses.js.map +0 -1
- package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +0 -1
- package/dist/db/tables/fundingDepositRequestObservations.js.map +0 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +0 -1
- package/dist/db/tables/fundingDeposits.js +0 -295
- package/dist/db/tables/fundingDeposits.js.map +0 -1
- package/dist/db/tables/fundingIdempotency.d.ts +0 -91
- package/dist/db/tables/fundingIdempotency.d.ts.map +0 -1
- package/dist/db/tables/fundingIdempotency.js +0 -103
- package/dist/db/tables/fundingIdempotency.js.map +0 -1
- package/dist/db/tables/fundingTransferEvents.d.ts.map +0 -1
- package/dist/db/tables/fundingTransferEvents.js.map +0 -1
- package/dist/db/tables/fundingTransferTransactions.d.ts +0 -53
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +0 -1
- package/dist/db/tables/fundingTransferTransactions.js.map +0 -1
- package/dist/db/tables/fundingTransfers.d.ts +0 -99
- package/dist/db/tables/fundingTransfers.d.ts.map +0 -1
- package/dist/db/tables/fundingTransfers.js +0 -110
- package/dist/db/tables/fundingTransfers.js.map +0 -1
- package/dist/internal/funding/Action.d.ts.map +0 -1
- package/dist/internal/funding/Action.js.map +0 -1
- package/dist/internal/funding/Catalog.d.ts.map +0 -1
- package/dist/internal/funding/Catalog.js.map +0 -1
- package/dist/internal/funding/Chain.d.ts.map +0 -1
- package/dist/internal/funding/Chain.js.map +0 -1
- package/dist/internal/funding/Deposit.d.ts.map +0 -1
- package/dist/internal/funding/Deposit.js.map +0 -1
- package/dist/internal/funding/DepositAddress.d.ts.map +0 -1
- package/dist/internal/funding/DepositAddress.js.map +0 -1
- package/dist/internal/funding/DepositWebhook.d.ts.map +0 -1
- package/dist/internal/funding/DepositWebhook.js.map +0 -1
- package/dist/internal/funding/Evidence.d.ts.map +0 -1
- package/dist/internal/funding/Evidence.js.map +0 -1
- package/dist/internal/funding/Provider.d.ts.map +0 -1
- package/dist/internal/funding/Provider.js.map +0 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +0 -1
- package/dist/internal/funding/Reconciliation.js.map +0 -1
- package/dist/internal/funding/Route.d.ts +0 -21
- package/dist/internal/funding/Route.d.ts.map +0 -1
- package/dist/internal/funding/Route.js.map +0 -1
- package/dist/internal/funding/SourceObservation.d.ts.map +0 -1
- package/dist/internal/funding/SourceObservation.js.map +0 -1
- package/dist/internal/funding/Subsidy.d.ts.map +0 -1
- package/dist/internal/funding/Subsidy.js.map +0 -1
- package/dist/internal/funding/Token.d.ts.map +0 -1
- package/dist/internal/funding/Token.js.map +0 -1
- package/dist/internal/funding/Transfer.d.ts.map +0 -1
- package/dist/internal/funding/Transfer.js +0 -462
- package/dist/internal/funding/Transfer.js.map +0 -1
- package/dist/internal/funding/TransferReconciliation.d.ts.map +0 -1
- package/dist/internal/funding/TransferReconciliation.js +0 -192
- package/dist/internal/funding/TransferReconciliation.js.map +0 -1
- package/dist/internal/funding/TransferWebhook.d.ts.map +0 -1
- package/dist/internal/funding/TransferWebhook.js.map +0 -1
- package/dist/internal/funding/index.d.ts.map +0 -1
- package/dist/internal/funding/index.js.map +0 -1
- package/dist/internal/funding/providers/across.d.ts.map +0 -1
- package/dist/internal/funding/providers/across.js.map +0 -1
- package/dist/internal/funding/providers/relay.d.ts.map +0 -1
- package/dist/internal/funding/providers/relay.js.map +0 -1
- package/dist/internal/funding/providers/rhino.d.ts.map +0 -1
- package/dist/internal/funding/providers/rhino.js.map +0 -1
- package/dist/internal/funding/providers/squid.d.ts.map +0 -1
- package/dist/internal/funding/providers/squid.js.map +0 -1
- package/dist/internal/funding/providers/stargate.d.ts.map +0 -1
- package/dist/internal/funding/providers/stargate.js +0 -579
- package/dist/internal/funding/providers/stargate.js.map +0 -1
- package/dist/internal/funding/providers/symbiosis.d.ts.map +0 -1
- package/dist/internal/funding/providers/symbiosis.js.map +0 -1
- package/src/apps/funding/App.test.ts +0 -78
- package/src/apps/funding/App.ts +0 -88
- package/src/apps/funding/ProviderAttempts.ts +0 -26
- package/src/apps/funding/index.ts +0 -1
- package/src/apps/funding/routes/transfers.ts +0 -987
- package/src/db/tables/fundingCatalog.test.ts +0 -122
- package/src/db/tables/fundingCatalog.ts +0 -163
- package/src/db/tables/fundingDepositAddresses.test.ts +0 -608
- package/src/db/tables/fundingDepositAddresses.ts +0 -443
- package/src/db/tables/fundingDeposits.ts +0 -572
- package/src/db/tables/fundingIdempotency.test.ts +0 -182
- package/src/db/tables/fundingIdempotency.ts +0 -180
- package/src/db/tables/fundingTransferTransactions.test.ts +0 -112
- package/src/db/tables/fundingTransfers.test.ts +0 -115
- package/src/db/tables/fundingTransfers.ts +0 -189
- package/src/handlers/internal/multisig.test.ts +0 -818
- package/src/internal/funding/Subsidy.test.ts +0 -75
- package/src/internal/funding/Transfer.test.ts +0 -524
- package/src/internal/funding/Transfer.ts +0 -762
- package/src/internal/funding/TransferReconciliation.test.ts +0 -147
- package/src/internal/funding/TransferReconciliation.ts +0 -264
- package/src/internal/funding/providers/stargate.test.ts +0 -328
- package/src/internal/funding/providers/stargate.ts +0 -856
- /package/dist/apps/{funding → routes}/Inventory.d.ts +0 -0
- /package/src/internal/{funding → routes}/Route.test.ts +0 -0
|
@@ -10,23 +10,23 @@ import * as Webhooks from '../../../internal/Webhooks.js';
|
|
|
10
10
|
* truth for the event-type *set*: the {@link EventType} union and the route zod
|
|
11
11
|
* enum ({@link schema.EventType}) both derive from this.
|
|
12
12
|
*/
|
|
13
|
-
export declare const eventTypes: readonly ['block:created', '
|
|
13
|
+
export declare const eventTypes: readonly ['block:created', 'routes:deposit.updated', 'routes:transfer.updated', 'log:emitted', 'token:transfer', 'transaction:included'];
|
|
14
14
|
/** Event types a subscription can listen to. Derived from {@link eventTypes}. */
|
|
15
15
|
export type EventType = (typeof eventTypes)[number];
|
|
16
|
-
/**
|
|
17
|
-
export declare const
|
|
18
|
-
/** Event type carrying an owner-scoped
|
|
19
|
-
export type
|
|
20
|
-
/** Returns whether an event type carries an owner-scoped
|
|
21
|
-
export declare function
|
|
16
|
+
/** Route resource events produced by the API instead of chain scans. */
|
|
17
|
+
export declare const routesEventTypes: readonly ["routes:deposit.updated", "routes:transfer.updated"];
|
|
18
|
+
/** Event type carrying an owner-scoped route resource. */
|
|
19
|
+
export type RoutesEventType = (typeof routesEventTypes)[number];
|
|
20
|
+
/** Returns whether an event type carries an owner-scoped route resource. */
|
|
21
|
+
export declare function isRoutesEventType(eventType: EventType): eventType is RoutesEventType;
|
|
22
22
|
/** Zod schemas owned by the webhooks resource. */
|
|
23
23
|
export declare namespace schema {
|
|
24
24
|
/** Subscribable event type. */
|
|
25
25
|
const EventType: z.ZodMiniEnum<{
|
|
26
26
|
"block:created": "block:created";
|
|
27
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
28
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
29
27
|
"log:emitted": "log:emitted";
|
|
28
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
29
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
30
30
|
"token:transfer": "token:transfer";
|
|
31
31
|
"transaction:included": "transaction:included";
|
|
32
32
|
}>;
|
|
@@ -340,8 +340,8 @@ export declare namespace schema {
|
|
|
340
340
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
341
341
|
}, z.core.$strict>]>>;
|
|
342
342
|
}, z.core.$strict>;
|
|
343
|
-
/** `
|
|
344
|
-
const
|
|
343
|
+
/** `routes:deposit.updated` subscription filters. All are optional and AND-combined. */
|
|
344
|
+
const RoutesDepositFilters: z.ZodMiniObject<{
|
|
345
345
|
depositAddressId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
346
346
|
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
347
347
|
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
@@ -354,8 +354,8 @@ export declare namespace schema {
|
|
|
354
354
|
settling: "settling";
|
|
355
355
|
}>>;
|
|
356
356
|
}, z.core.$strict>;
|
|
357
|
-
/** `
|
|
358
|
-
const
|
|
357
|
+
/** `routes:transfer.updated` subscription filters. All are optional and AND-combined. */
|
|
358
|
+
const RoutesTransferFilters: z.ZodMiniObject<{
|
|
359
359
|
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
360
360
|
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
361
361
|
"action-required": "action-required";
|
|
@@ -406,9 +406,9 @@ export declare namespace schema {
|
|
|
406
406
|
}>>;
|
|
407
407
|
eventType: z.ZodMiniEnum<{
|
|
408
408
|
"block:created": "block:created";
|
|
409
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
410
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
411
409
|
"log:emitted": "log:emitted";
|
|
410
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
411
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
412
412
|
"token:transfer": "token:transfer";
|
|
413
413
|
"transaction:included": "transaction:included";
|
|
414
414
|
}>;
|
|
@@ -437,7 +437,7 @@ export declare namespace schema {
|
|
|
437
437
|
error: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
438
438
|
eventId: z.ZodMiniString<string>;
|
|
439
439
|
id: z.ZodMiniString<string>;
|
|
440
|
-
requestUrl: z.
|
|
440
|
+
requestUrl: z.ZodMiniURL;
|
|
441
441
|
responseMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
442
442
|
responseStatus: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
443
443
|
status: z.ZodMiniEnum<{
|
|
@@ -597,8 +597,8 @@ export declare namespace schema {
|
|
|
597
597
|
transactionCount: z.ZodMiniNumber<number>;
|
|
598
598
|
timestamp: z.ZodMiniISODateTime;
|
|
599
599
|
}, z.core.$strip>;
|
|
600
|
-
/** Public
|
|
601
|
-
const
|
|
600
|
+
/** Public route deposit after a committed material change. */
|
|
601
|
+
const RoutesDepositEvent: z.ZodMiniObject<{
|
|
602
602
|
createdAt: z.ZodMiniISODateTime;
|
|
603
603
|
depositAddressId: z.ZodMiniString<string>;
|
|
604
604
|
detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
@@ -702,10 +702,14 @@ export declare namespace schema {
|
|
|
702
702
|
}>;
|
|
703
703
|
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
704
704
|
code: z.ZodMiniEnum<{
|
|
705
|
+
billing_past_due: "billing_past_due";
|
|
706
|
+
billing_required: "billing_required";
|
|
705
707
|
delivery_failed: "delivery_failed";
|
|
706
708
|
delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
|
|
707
709
|
manual_recovery_required: "manual_recovery_required";
|
|
708
710
|
refund_failed: "refund_failed";
|
|
711
|
+
routes_subsidy_limit_exceeded: "routes_subsidy_limit_exceeded";
|
|
712
|
+
routes_subsidy_not_enabled: "routes_subsidy_not_enabled";
|
|
709
713
|
source_amount_not_supported: "source_amount_not_supported";
|
|
710
714
|
source_token_mismatch: "source_token_mismatch";
|
|
711
715
|
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
@@ -715,8 +719,8 @@ export declare namespace schema {
|
|
|
715
719
|
}, z.core.$strip>>;
|
|
716
720
|
updatedAt: z.ZodMiniISODateTime;
|
|
717
721
|
}, z.core.$strip>;
|
|
718
|
-
/** Public
|
|
719
|
-
const
|
|
722
|
+
/** Public route transfer after a committed material change. */
|
|
723
|
+
const RoutesTransferEvent: z.ZodMiniObject<{
|
|
720
724
|
createdAt: z.ZodMiniISODateTime;
|
|
721
725
|
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
722
726
|
baseUnits: z.ZodMiniString<string>;
|
|
@@ -730,6 +734,12 @@ export declare namespace schema {
|
|
|
730
734
|
decimals: z.ZodMiniNumber<number>;
|
|
731
735
|
formatted: z.ZodMiniString<string>;
|
|
732
736
|
}, z.core.$strip>>;
|
|
737
|
+
destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
738
|
+
baseUnits: z.ZodMiniString<string>;
|
|
739
|
+
currency: z.ZodMiniString<string>;
|
|
740
|
+
decimals: z.ZodMiniNumber<number>;
|
|
741
|
+
formatted: z.ZodMiniString<string>;
|
|
742
|
+
}, z.core.$strip>>;
|
|
733
743
|
destinationChain: z.ZodMiniObject<{
|
|
734
744
|
addressFormat: z.ZodMiniEnum<{
|
|
735
745
|
base58: "base58";
|
|
@@ -844,6 +854,7 @@ export declare namespace schema {
|
|
|
844
854
|
verified: z.ZodMiniBoolean<boolean>;
|
|
845
855
|
}, z.core.$strip>;
|
|
846
856
|
sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
857
|
+
subsidize: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
847
858
|
status: z.ZodMiniEnum<{
|
|
848
859
|
"action-required": "action-required";
|
|
849
860
|
"awaiting-source": "awaiting-source";
|
|
@@ -855,14 +866,20 @@ export declare namespace schema {
|
|
|
855
866
|
}>;
|
|
856
867
|
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
857
868
|
code: z.ZodMiniEnum<{
|
|
869
|
+
billing_past_due: "billing_past_due";
|
|
870
|
+
billing_required: "billing_required";
|
|
858
871
|
destination_amount_below_minimum: "destination_amount_below_minimum";
|
|
859
872
|
destination_recovered: "destination_recovered";
|
|
860
873
|
manual_recovery_required: "manual_recovery_required";
|
|
861
874
|
refund_failed: "refund_failed";
|
|
875
|
+
routes_subsidy_limit_exceeded: "routes_subsidy_limit_exceeded";
|
|
876
|
+
routes_subsidy_not_enabled: "routes_subsidy_not_enabled";
|
|
862
877
|
source_amount_above_maximum: "source_amount_above_maximum";
|
|
863
878
|
source_amount_below_minimum: "source_amount_below_minimum";
|
|
864
879
|
source_chain_mismatch: "source_chain_mismatch";
|
|
865
880
|
source_token_mismatch: "source_token_mismatch";
|
|
881
|
+
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
882
|
+
subsidy_failed: "subsidy_failed";
|
|
866
883
|
}>;
|
|
867
884
|
message: z.ZodMiniString<string>;
|
|
868
885
|
}, z.core.$strip>>;
|
|
@@ -1188,10 +1205,14 @@ export declare namespace schema {
|
|
|
1188
1205
|
}>;
|
|
1189
1206
|
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1190
1207
|
code: z.ZodMiniEnum<{
|
|
1208
|
+
billing_past_due: "billing_past_due";
|
|
1209
|
+
billing_required: "billing_required";
|
|
1191
1210
|
delivery_failed: "delivery_failed";
|
|
1192
1211
|
delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
|
|
1193
1212
|
manual_recovery_required: "manual_recovery_required";
|
|
1194
1213
|
refund_failed: "refund_failed";
|
|
1214
|
+
routes_subsidy_limit_exceeded: "routes_subsidy_limit_exceeded";
|
|
1215
|
+
routes_subsidy_not_enabled: "routes_subsidy_not_enabled";
|
|
1195
1216
|
source_amount_not_supported: "source_amount_not_supported";
|
|
1196
1217
|
source_token_mismatch: "source_token_mismatch";
|
|
1197
1218
|
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
@@ -1201,7 +1222,7 @@ export declare namespace schema {
|
|
|
1201
1222
|
}, z.core.$strip>>;
|
|
1202
1223
|
updatedAt: z.ZodMiniISODateTime;
|
|
1203
1224
|
}, z.core.$strip>;
|
|
1204
|
-
type: z.ZodMiniLiteral<"
|
|
1225
|
+
type: z.ZodMiniLiteral<"routes:deposit.updated">;
|
|
1205
1226
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1206
1227
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1207
1228
|
mainnet: "mainnet";
|
|
@@ -1229,6 +1250,12 @@ export declare namespace schema {
|
|
|
1229
1250
|
decimals: z.ZodMiniNumber<number>;
|
|
1230
1251
|
formatted: z.ZodMiniString<string>;
|
|
1231
1252
|
}, z.core.$strip>>;
|
|
1253
|
+
destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1254
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1255
|
+
currency: z.ZodMiniString<string>;
|
|
1256
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1257
|
+
formatted: z.ZodMiniString<string>;
|
|
1258
|
+
}, z.core.$strip>>;
|
|
1232
1259
|
destinationChain: z.ZodMiniObject<{
|
|
1233
1260
|
addressFormat: z.ZodMiniEnum<{
|
|
1234
1261
|
base58: "base58";
|
|
@@ -1343,6 +1370,7 @@ export declare namespace schema {
|
|
|
1343
1370
|
verified: z.ZodMiniBoolean<boolean>;
|
|
1344
1371
|
}, z.core.$strip>;
|
|
1345
1372
|
sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1373
|
+
subsidize: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
1346
1374
|
status: z.ZodMiniEnum<{
|
|
1347
1375
|
"action-required": "action-required";
|
|
1348
1376
|
"awaiting-source": "awaiting-source";
|
|
@@ -1354,21 +1382,27 @@ export declare namespace schema {
|
|
|
1354
1382
|
}>;
|
|
1355
1383
|
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1356
1384
|
code: z.ZodMiniEnum<{
|
|
1385
|
+
billing_past_due: "billing_past_due";
|
|
1386
|
+
billing_required: "billing_required";
|
|
1357
1387
|
destination_amount_below_minimum: "destination_amount_below_minimum";
|
|
1358
1388
|
destination_recovered: "destination_recovered";
|
|
1359
1389
|
manual_recovery_required: "manual_recovery_required";
|
|
1360
1390
|
refund_failed: "refund_failed";
|
|
1391
|
+
routes_subsidy_limit_exceeded: "routes_subsidy_limit_exceeded";
|
|
1392
|
+
routes_subsidy_not_enabled: "routes_subsidy_not_enabled";
|
|
1361
1393
|
source_amount_above_maximum: "source_amount_above_maximum";
|
|
1362
1394
|
source_amount_below_minimum: "source_amount_below_minimum";
|
|
1363
1395
|
source_chain_mismatch: "source_chain_mismatch";
|
|
1364
1396
|
source_token_mismatch: "source_token_mismatch";
|
|
1397
|
+
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
1398
|
+
subsidy_failed: "subsidy_failed";
|
|
1365
1399
|
}>;
|
|
1366
1400
|
message: z.ZodMiniString<string>;
|
|
1367
1401
|
}, z.core.$strip>>;
|
|
1368
1402
|
updatedAt: z.ZodMiniISODateTime;
|
|
1369
1403
|
version: z.ZodMiniNumber<number>;
|
|
1370
1404
|
}, z.core.$strip>;
|
|
1371
|
-
type: z.ZodMiniLiteral<"
|
|
1405
|
+
type: z.ZodMiniLiteral<"routes:transfer.updated">;
|
|
1372
1406
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1373
1407
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1374
1408
|
mainnet: "mainnet";
|
|
@@ -1385,26 +1419,429 @@ export declare namespace schema {
|
|
|
1385
1419
|
data: z.ZodMiniObject<{
|
|
1386
1420
|
ping: z.ZodMiniLiteral<true>;
|
|
1387
1421
|
}, z.core.$strip>;
|
|
1388
|
-
type: z.ZodMiniLiteral<"ping">;
|
|
1389
|
-
}, z.core.$strip>], "type">;
|
|
1390
|
-
/** Schemas for the getWebhookEventTypes operation. */
|
|
1391
|
-
namespace getWebhookEventTypes {
|
|
1392
|
-
const Response: z.ZodMiniObject<{
|
|
1393
|
-
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1394
|
-
description: z.ZodMiniString<string>;
|
|
1395
|
-
type: z.ZodMiniEnum<{
|
|
1396
|
-
"block:created": "block:created";
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"
|
|
1400
|
-
"token:transfer": "token:transfer";
|
|
1401
|
-
"transaction:included": "transaction:included";
|
|
1402
|
-
}>;
|
|
1422
|
+
type: z.ZodMiniLiteral<"ping">;
|
|
1423
|
+
}, z.core.$strip>], "type">;
|
|
1424
|
+
/** Schemas for the getWebhookEventTypes operation. */
|
|
1425
|
+
namespace getWebhookEventTypes {
|
|
1426
|
+
const Response: z.ZodMiniObject<{
|
|
1427
|
+
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1428
|
+
description: z.ZodMiniString<string>;
|
|
1429
|
+
type: z.ZodMiniEnum<{
|
|
1430
|
+
"block:created": "block:created";
|
|
1431
|
+
"log:emitted": "log:emitted";
|
|
1432
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
1433
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
1434
|
+
"token:transfer": "token:transfer";
|
|
1435
|
+
"transaction:included": "transaction:included";
|
|
1436
|
+
}>;
|
|
1437
|
+
}, z.core.$strip>>;
|
|
1438
|
+
}, z.core.$strip>;
|
|
1439
|
+
}
|
|
1440
|
+
/** Schemas for the createWebhook operation. */
|
|
1441
|
+
namespace createWebhook {
|
|
1442
|
+
/** Request variant for TIP-20 transfer subscriptions. */
|
|
1443
|
+
const TransferBody: z.ZodMiniObject<{
|
|
1444
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1445
|
+
mainnet: "mainnet";
|
|
1446
|
+
testnet: "testnet";
|
|
1447
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1448
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1449
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1450
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1451
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1452
|
+
}, z.core.$strip>>;
|
|
1453
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1454
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1455
|
+
url: z.ZodMiniURL;
|
|
1456
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1457
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1458
|
+
url: z.ZodMiniURL;
|
|
1459
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1460
|
+
token: z.ZodMiniString<string>;
|
|
1461
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1462
|
+
url: z.ZodMiniURL;
|
|
1463
|
+
}, z.core.$strip>], "type">;
|
|
1464
|
+
eventType: z.ZodMiniLiteral<"token:transfer">;
|
|
1465
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1466
|
+
address: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1467
|
+
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1468
|
+
sender: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1469
|
+
token: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1470
|
+
}, z.core.$strip>>;
|
|
1471
|
+
}, z.core.$strip>;
|
|
1472
|
+
/** Request variant for included transaction subscriptions. */
|
|
1473
|
+
const TransactionBody: z.ZodMiniObject<{
|
|
1474
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1475
|
+
mainnet: "mainnet";
|
|
1476
|
+
testnet: "testnet";
|
|
1477
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1478
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1479
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1480
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1481
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1482
|
+
}, z.core.$strip>>;
|
|
1483
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1484
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1485
|
+
url: z.ZodMiniURL;
|
|
1486
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1487
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1488
|
+
url: z.ZodMiniURL;
|
|
1489
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1490
|
+
token: z.ZodMiniString<string>;
|
|
1491
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1492
|
+
url: z.ZodMiniURL;
|
|
1493
|
+
}, z.core.$strip>], "type">;
|
|
1494
|
+
eventType: z.ZodMiniLiteral<"transaction:included">;
|
|
1495
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1496
|
+
hash: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1497
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1498
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1499
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1500
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1501
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1502
|
+
}, z.core.$strict>]>>;
|
|
1503
|
+
address: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1504
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1505
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1506
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1507
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1508
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1509
|
+
}, z.core.$strict>]>>;
|
|
1510
|
+
from: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1511
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1512
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1513
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1514
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1515
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1516
|
+
}, z.core.$strict>]>>;
|
|
1517
|
+
to: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1518
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1519
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1520
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1521
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1522
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1523
|
+
}, z.core.$strict>]>>;
|
|
1524
|
+
includeCalls: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1525
|
+
value: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1526
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1527
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1528
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1529
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1530
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1531
|
+
}, z.core.$strict>]>>;
|
|
1532
|
+
input: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1533
|
+
selector: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1534
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1535
|
+
startsWith: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1536
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1537
|
+
eq: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1538
|
+
}, z.core.$strict>]>>;
|
|
1539
|
+
calls: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1540
|
+
to: z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1541
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1542
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1543
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1544
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1545
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1546
|
+
}, z.core.$strict>]>;
|
|
1547
|
+
}, z.core.$strict>>;
|
|
1548
|
+
callCount: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1549
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1550
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1551
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1552
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1553
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1554
|
+
}, z.core.$strict>]>>;
|
|
1555
|
+
txType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>, z.ZodMiniObject<{
|
|
1556
|
+
eq: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1557
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1558
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
1559
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1560
|
+
not: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1561
|
+
}, z.core.$strict>]>>;
|
|
1562
|
+
feeToken: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1563
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1564
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1565
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1566
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1567
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1568
|
+
}, z.core.$strict>]>>;
|
|
1569
|
+
gasLimit: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1570
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1571
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1572
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1573
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1574
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1575
|
+
}, z.core.$strict>]>>;
|
|
1576
|
+
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1577
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1578
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1579
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1580
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1581
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1582
|
+
}, z.core.$strict>]>>;
|
|
1583
|
+
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1584
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1585
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1586
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1587
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1588
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1589
|
+
}, z.core.$strict>]>>;
|
|
1590
|
+
nonce: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1591
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1592
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1593
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1594
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1595
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1596
|
+
}, z.core.$strict>]>>;
|
|
1597
|
+
nonceKey: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>, z.ZodMiniObject<{
|
|
1598
|
+
eq: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1599
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1600
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
1601
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1602
|
+
not: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
1603
|
+
}, z.core.$strict>]>>;
|
|
1604
|
+
validBefore: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1605
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1606
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1607
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1608
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1609
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1610
|
+
}, z.core.$strict>]>>;
|
|
1611
|
+
validAfter: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1612
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1613
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1614
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1615
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1616
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1617
|
+
}, z.core.$strict>]>>;
|
|
1618
|
+
blockNumber: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1619
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1620
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1621
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1622
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1623
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1624
|
+
}, z.core.$strict>]>>;
|
|
1625
|
+
timestamp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1626
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1627
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1628
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1629
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1630
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1631
|
+
}, z.core.$strict>]>>;
|
|
1632
|
+
}, z.core.$strict>>;
|
|
1633
|
+
}, z.core.$strip>;
|
|
1634
|
+
/** Request variant for emitted log subscriptions. */
|
|
1635
|
+
const LogBody: z.ZodMiniObject<{
|
|
1636
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1637
|
+
mainnet: "mainnet";
|
|
1638
|
+
testnet: "testnet";
|
|
1639
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1640
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1641
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1642
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1643
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1644
|
+
}, z.core.$strip>>;
|
|
1645
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1646
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1647
|
+
url: z.ZodMiniURL;
|
|
1648
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1649
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1650
|
+
url: z.ZodMiniURL;
|
|
1651
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1652
|
+
token: z.ZodMiniString<string>;
|
|
1653
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1654
|
+
url: z.ZodMiniURL;
|
|
1655
|
+
}, z.core.$strip>], "type">;
|
|
1656
|
+
eventType: z.ZodMiniLiteral<"log:emitted">;
|
|
1657
|
+
filters: z.ZodMiniObject<{
|
|
1658
|
+
address: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1659
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1660
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1661
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1662
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1663
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1664
|
+
}, z.core.$strict>]>>;
|
|
1665
|
+
signature: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1666
|
+
topic0: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1667
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1668
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1669
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1670
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1671
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1672
|
+
}, z.core.$strict>]>>;
|
|
1673
|
+
topic1: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1674
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1675
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1676
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1677
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1678
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1679
|
+
}, z.core.$strict>]>>;
|
|
1680
|
+
topic2: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1681
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1682
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1683
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1684
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1685
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1686
|
+
}, z.core.$strict>]>>;
|
|
1687
|
+
topic3: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1688
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1689
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1690
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1691
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1692
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1693
|
+
}, z.core.$strict>]>>;
|
|
1694
|
+
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
1695
|
+
blockNumber: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1696
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1697
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1698
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1699
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1700
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1701
|
+
}, z.core.$strict>]>>;
|
|
1702
|
+
}, z.core.$strict>;
|
|
1703
|
+
}, z.core.$strip>;
|
|
1704
|
+
/** Request variant for created block subscriptions. */
|
|
1705
|
+
const BlockBody: z.ZodMiniObject<{
|
|
1706
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1707
|
+
mainnet: "mainnet";
|
|
1708
|
+
testnet: "testnet";
|
|
1709
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1710
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1711
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1712
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1713
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1714
|
+
}, z.core.$strip>>;
|
|
1715
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1716
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1717
|
+
url: z.ZodMiniURL;
|
|
1718
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1719
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1720
|
+
url: z.ZodMiniURL;
|
|
1721
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1722
|
+
token: z.ZodMiniString<string>;
|
|
1723
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1724
|
+
url: z.ZodMiniURL;
|
|
1725
|
+
}, z.core.$strip>], "type">;
|
|
1726
|
+
eventType: z.ZodMiniLiteral<"block:created">;
|
|
1727
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1728
|
+
number: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1729
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1730
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1731
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1732
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1733
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1734
|
+
}, z.core.$strict>]>>;
|
|
1735
|
+
miner: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1736
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1737
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1738
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1739
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1740
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1741
|
+
}, z.core.$strict>]>>;
|
|
1742
|
+
proposer: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1743
|
+
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1744
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1745
|
+
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1746
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1747
|
+
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1748
|
+
}, z.core.$strict>]>>;
|
|
1749
|
+
gasUsed: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1750
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1751
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1752
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1753
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1754
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1755
|
+
}, z.core.$strict>]>>;
|
|
1756
|
+
gasLimit: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1757
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1758
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1759
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1760
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1761
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1762
|
+
}, z.core.$strict>]>>;
|
|
1763
|
+
timestamp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1764
|
+
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1765
|
+
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1766
|
+
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1767
|
+
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1768
|
+
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1769
|
+
}, z.core.$strict>]>>;
|
|
1770
|
+
}, z.core.$strict>>;
|
|
1771
|
+
}, z.core.$strip>;
|
|
1772
|
+
/** Request variant for route deposit subscriptions. */
|
|
1773
|
+
const RoutesDepositBody: z.ZodMiniObject<{
|
|
1774
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1775
|
+
mainnet: "mainnet";
|
|
1776
|
+
testnet: "testnet";
|
|
1777
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1778
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1779
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1780
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1781
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1782
|
+
}, z.core.$strip>>;
|
|
1783
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1784
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1785
|
+
url: z.ZodMiniURL;
|
|
1786
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1787
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1788
|
+
url: z.ZodMiniURL;
|
|
1789
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1790
|
+
token: z.ZodMiniString<string>;
|
|
1791
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1792
|
+
url: z.ZodMiniURL;
|
|
1793
|
+
}, z.core.$strip>], "type">;
|
|
1794
|
+
eventType: z.ZodMiniLiteral<"routes:deposit.updated">;
|
|
1795
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1796
|
+
depositAddressId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1797
|
+
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1798
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1799
|
+
"action-required": "action-required";
|
|
1800
|
+
bridging: "bridging";
|
|
1801
|
+
completed: "completed";
|
|
1802
|
+
detected: "detected";
|
|
1803
|
+
refunded: "refunded";
|
|
1804
|
+
refunding: "refunding";
|
|
1805
|
+
settling: "settling";
|
|
1806
|
+
}>>;
|
|
1807
|
+
}, z.core.$strict>>;
|
|
1808
|
+
}, z.core.$strip>;
|
|
1809
|
+
/** Request variant for route transfer subscriptions. */
|
|
1810
|
+
const RoutesTransferBody: z.ZodMiniObject<{
|
|
1811
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1812
|
+
mainnet: "mainnet";
|
|
1813
|
+
testnet: "testnet";
|
|
1814
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1815
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1816
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1817
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1818
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1403
1819
|
}, z.core.$strip>>;
|
|
1820
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1821
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1822
|
+
url: z.ZodMiniURL;
|
|
1823
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1824
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1825
|
+
url: z.ZodMiniURL;
|
|
1826
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1827
|
+
token: z.ZodMiniString<string>;
|
|
1828
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1829
|
+
url: z.ZodMiniURL;
|
|
1830
|
+
}, z.core.$strip>], "type">;
|
|
1831
|
+
eventType: z.ZodMiniLiteral<"routes:transfer.updated">;
|
|
1832
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1833
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1834
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1835
|
+
"action-required": "action-required";
|
|
1836
|
+
"awaiting-source": "awaiting-source";
|
|
1837
|
+
completed: "completed";
|
|
1838
|
+
expired: "expired";
|
|
1839
|
+
processing: "processing";
|
|
1840
|
+
refunded: "refunded";
|
|
1841
|
+
refunding: "refunding";
|
|
1842
|
+
}>>;
|
|
1843
|
+
}, z.core.$strict>>;
|
|
1404
1844
|
}, z.core.$strip>;
|
|
1405
|
-
}
|
|
1406
|
-
/** Schemas for the createWebhook operation. */
|
|
1407
|
-
namespace createWebhook {
|
|
1408
1845
|
/**
|
|
1409
1846
|
* Discriminated on `eventType` so each variant carries its own typed
|
|
1410
1847
|
* `filters` object — this is what lets the docs render the valid filter
|
|
@@ -1754,7 +2191,7 @@ export declare namespace schema {
|
|
|
1754
2191
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
1755
2192
|
url: z.ZodMiniURL;
|
|
1756
2193
|
}, z.core.$strip>], "type">;
|
|
1757
|
-
eventType: z.ZodMiniLiteral<"
|
|
2194
|
+
eventType: z.ZodMiniLiteral<"routes:deposit.updated">;
|
|
1758
2195
|
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1759
2196
|
depositAddressId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1760
2197
|
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
@@ -1789,7 +2226,7 @@ export declare namespace schema {
|
|
|
1789
2226
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
1790
2227
|
url: z.ZodMiniURL;
|
|
1791
2228
|
}, z.core.$strip>], "type">;
|
|
1792
|
-
eventType: z.ZodMiniLiteral<"
|
|
2229
|
+
eventType: z.ZodMiniLiteral<"routes:transfer.updated">;
|
|
1793
2230
|
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1794
2231
|
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1795
2232
|
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
@@ -1817,9 +2254,9 @@ export declare namespace schema {
|
|
|
1817
2254
|
}>>;
|
|
1818
2255
|
eventType: z.ZodMiniEnum<{
|
|
1819
2256
|
"block:created": "block:created";
|
|
1820
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
1821
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
1822
2257
|
"log:emitted": "log:emitted";
|
|
2258
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
2259
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
1823
2260
|
"token:transfer": "token:transfer";
|
|
1824
2261
|
"transaction:included": "transaction:included";
|
|
1825
2262
|
}>;
|
|
@@ -1884,9 +2321,9 @@ export declare namespace schema {
|
|
|
1884
2321
|
}>>;
|
|
1885
2322
|
eventType: z.ZodMiniEnum<{
|
|
1886
2323
|
"block:created": "block:created";
|
|
1887
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
1888
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
1889
2324
|
"log:emitted": "log:emitted";
|
|
2325
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
2326
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
1890
2327
|
"token:transfer": "token:transfer";
|
|
1891
2328
|
"transaction:included": "transaction:included";
|
|
1892
2329
|
}>;
|
|
@@ -1939,9 +2376,9 @@ export declare namespace schema {
|
|
|
1939
2376
|
}>>;
|
|
1940
2377
|
eventType: z.ZodMiniEnum<{
|
|
1941
2378
|
"block:created": "block:created";
|
|
1942
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
1943
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
1944
2379
|
"log:emitted": "log:emitted";
|
|
2380
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
2381
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
1945
2382
|
"token:transfer": "token:transfer";
|
|
1946
2383
|
"transaction:included": "transaction:included";
|
|
1947
2384
|
}>;
|
|
@@ -1978,7 +2415,7 @@ export declare namespace schema {
|
|
|
1978
2415
|
error: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1979
2416
|
eventId: z.ZodMiniString<string>;
|
|
1980
2417
|
id: z.ZodMiniString<string>;
|
|
1981
|
-
requestUrl: z.
|
|
2418
|
+
requestUrl: z.ZodMiniURL;
|
|
1982
2419
|
responseMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1983
2420
|
responseStatus: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
1984
2421
|
status: z.ZodMiniEnum<{
|
|
@@ -2076,9 +2513,9 @@ export declare namespace schema {
|
|
|
2076
2513
|
}>>;
|
|
2077
2514
|
eventType: z.ZodMiniEnum<{
|
|
2078
2515
|
"block:created": "block:created";
|
|
2079
|
-
"funding:deposit.updated": "funding:deposit.updated";
|
|
2080
|
-
"funding:transfer.updated": "funding:transfer.updated";
|
|
2081
2516
|
"log:emitted": "log:emitted";
|
|
2517
|
+
"routes:deposit.updated": "routes:deposit.updated";
|
|
2518
|
+
"routes:transfer.updated": "routes:transfer.updated";
|
|
2082
2519
|
"token:transfer": "token:transfer";
|
|
2083
2520
|
"transaction:included": "transaction:included";
|
|
2084
2521
|
}>;
|
|
@@ -2183,7 +2620,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2183
2620
|
output: {
|
|
2184
2621
|
data: {
|
|
2185
2622
|
description: string;
|
|
2186
|
-
type: "block:created" | "
|
|
2623
|
+
type: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
2187
2624
|
}[];
|
|
2188
2625
|
};
|
|
2189
2626
|
outputFormat: "json";
|
|
@@ -2196,7 +2633,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2196
2633
|
$post: {
|
|
2197
2634
|
output: {
|
|
2198
2635
|
error: {
|
|
2199
|
-
code: "
|
|
2636
|
+
code: "api_key_malformed";
|
|
2200
2637
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2201
2638
|
message: string;
|
|
2202
2639
|
};
|
|
@@ -2533,7 +2970,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2533
2970
|
type: "betterstack";
|
|
2534
2971
|
url: string;
|
|
2535
2972
|
};
|
|
2536
|
-
eventType: "
|
|
2973
|
+
eventType: "routes:deposit.updated";
|
|
2537
2974
|
filters?: {
|
|
2538
2975
|
depositAddressId?: string | undefined;
|
|
2539
2976
|
recipient?: `0x${string}` | undefined;
|
|
@@ -2557,7 +2994,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2557
2994
|
type: "betterstack";
|
|
2558
2995
|
url: string;
|
|
2559
2996
|
};
|
|
2560
|
-
eventType: "
|
|
2997
|
+
eventType: "routes:transfer.updated";
|
|
2561
2998
|
filters?: {
|
|
2562
2999
|
id?: string | undefined;
|
|
2563
3000
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -2567,14 +3004,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2567
3004
|
} | {
|
|
2568
3005
|
output: {
|
|
2569
3006
|
error: {
|
|
2570
|
-
code: "
|
|
3007
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2571
3008
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2572
3009
|
message: string;
|
|
2573
3010
|
};
|
|
2574
3011
|
requestId: string;
|
|
2575
3012
|
};
|
|
2576
3013
|
outputFormat: "json";
|
|
2577
|
-
status:
|
|
3014
|
+
status: 401;
|
|
2578
3015
|
input: {
|
|
2579
3016
|
json: {
|
|
2580
3017
|
chainId?: unknown;
|
|
@@ -2904,7 +3341,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2904
3341
|
type: "betterstack";
|
|
2905
3342
|
url: string;
|
|
2906
3343
|
};
|
|
2907
|
-
eventType: "
|
|
3344
|
+
eventType: "routes:deposit.updated";
|
|
2908
3345
|
filters?: {
|
|
2909
3346
|
depositAddressId?: string | undefined;
|
|
2910
3347
|
recipient?: `0x${string}` | undefined;
|
|
@@ -2928,7 +3365,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2928
3365
|
type: "betterstack";
|
|
2929
3366
|
url: string;
|
|
2930
3367
|
};
|
|
2931
|
-
eventType: "
|
|
3368
|
+
eventType: "routes:transfer.updated";
|
|
2932
3369
|
filters?: {
|
|
2933
3370
|
id?: string | undefined;
|
|
2934
3371
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -2938,14 +3375,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2938
3375
|
} | {
|
|
2939
3376
|
output: {
|
|
2940
3377
|
error: {
|
|
2941
|
-
code: "
|
|
3378
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2942
3379
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2943
3380
|
message: string;
|
|
2944
3381
|
};
|
|
2945
3382
|
requestId: string;
|
|
2946
3383
|
};
|
|
2947
3384
|
outputFormat: "json";
|
|
2948
|
-
status:
|
|
3385
|
+
status: 403;
|
|
2949
3386
|
input: {
|
|
2950
3387
|
json: {
|
|
2951
3388
|
chainId?: unknown;
|
|
@@ -3275,7 +3712,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3275
3712
|
type: "betterstack";
|
|
3276
3713
|
url: string;
|
|
3277
3714
|
};
|
|
3278
|
-
eventType: "
|
|
3715
|
+
eventType: "routes:deposit.updated";
|
|
3279
3716
|
filters?: {
|
|
3280
3717
|
depositAddressId?: string | undefined;
|
|
3281
3718
|
recipient?: `0x${string}` | undefined;
|
|
@@ -3299,7 +3736,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3299
3736
|
type: "betterstack";
|
|
3300
3737
|
url: string;
|
|
3301
3738
|
};
|
|
3302
|
-
eventType: "
|
|
3739
|
+
eventType: "routes:transfer.updated";
|
|
3303
3740
|
filters?: {
|
|
3304
3741
|
id?: string | undefined;
|
|
3305
3742
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -3309,14 +3746,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3309
3746
|
} | {
|
|
3310
3747
|
output: {
|
|
3311
3748
|
error: {
|
|
3312
|
-
code: "
|
|
3749
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3313
3750
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3314
3751
|
message: string;
|
|
3315
3752
|
};
|
|
3316
3753
|
requestId: string;
|
|
3317
3754
|
};
|
|
3318
3755
|
outputFormat: "json";
|
|
3319
|
-
status:
|
|
3756
|
+
status: 429;
|
|
3320
3757
|
input: {
|
|
3321
3758
|
json: {
|
|
3322
3759
|
chainId?: unknown;
|
|
@@ -3646,7 +4083,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3646
4083
|
type: "betterstack";
|
|
3647
4084
|
url: string;
|
|
3648
4085
|
};
|
|
3649
|
-
eventType: "
|
|
4086
|
+
eventType: "routes:deposit.updated";
|
|
3650
4087
|
filters?: {
|
|
3651
4088
|
depositAddressId?: string | undefined;
|
|
3652
4089
|
recipient?: `0x${string}` | undefined;
|
|
@@ -3670,7 +4107,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3670
4107
|
type: "betterstack";
|
|
3671
4108
|
url: string;
|
|
3672
4109
|
};
|
|
3673
|
-
eventType: "
|
|
4110
|
+
eventType: "routes:transfer.updated";
|
|
3674
4111
|
filters?: {
|
|
3675
4112
|
id?: string | undefined;
|
|
3676
4113
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -3680,14 +4117,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3680
4117
|
} | {
|
|
3681
4118
|
output: {
|
|
3682
4119
|
error: {
|
|
3683
|
-
code: "
|
|
4120
|
+
code: "upstream_error";
|
|
3684
4121
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3685
4122
|
message: string;
|
|
3686
4123
|
};
|
|
3687
4124
|
requestId: string;
|
|
3688
4125
|
};
|
|
3689
4126
|
outputFormat: "json";
|
|
3690
|
-
status:
|
|
4127
|
+
status: 502;
|
|
3691
4128
|
input: {
|
|
3692
4129
|
json: {
|
|
3693
4130
|
chainId?: unknown;
|
|
@@ -4017,7 +4454,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4017
4454
|
type: "betterstack";
|
|
4018
4455
|
url: string;
|
|
4019
4456
|
};
|
|
4020
|
-
eventType: "
|
|
4457
|
+
eventType: "routes:deposit.updated";
|
|
4021
4458
|
filters?: {
|
|
4022
4459
|
depositAddressId?: string | undefined;
|
|
4023
4460
|
recipient?: `0x${string}` | undefined;
|
|
@@ -4041,7 +4478,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4041
4478
|
type: "betterstack";
|
|
4042
4479
|
url: string;
|
|
4043
4480
|
};
|
|
4044
|
-
eventType: "
|
|
4481
|
+
eventType: "routes:transfer.updated";
|
|
4045
4482
|
filters?: {
|
|
4046
4483
|
id?: string | undefined;
|
|
4047
4484
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -4051,14 +4488,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4051
4488
|
} | {
|
|
4052
4489
|
output: {
|
|
4053
4490
|
error: {
|
|
4054
|
-
code: "
|
|
4491
|
+
code: "webhooks_not_enabled";
|
|
4055
4492
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4056
4493
|
message: string;
|
|
4057
4494
|
};
|
|
4058
4495
|
requestId: string;
|
|
4059
4496
|
};
|
|
4060
4497
|
outputFormat: "json";
|
|
4061
|
-
status:
|
|
4498
|
+
status: 404;
|
|
4062
4499
|
input: {
|
|
4063
4500
|
json: {
|
|
4064
4501
|
chainId?: unknown;
|
|
@@ -4388,7 +4825,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4388
4825
|
type: "betterstack";
|
|
4389
4826
|
url: string;
|
|
4390
4827
|
};
|
|
4391
|
-
eventType: "
|
|
4828
|
+
eventType: "routes:deposit.updated";
|
|
4392
4829
|
filters?: {
|
|
4393
4830
|
depositAddressId?: string | undefined;
|
|
4394
4831
|
recipient?: `0x${string}` | undefined;
|
|
@@ -4412,7 +4849,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4412
4849
|
type: "betterstack";
|
|
4413
4850
|
url: string;
|
|
4414
4851
|
};
|
|
4415
|
-
eventType: "
|
|
4852
|
+
eventType: "routes:transfer.updated";
|
|
4416
4853
|
filters?: {
|
|
4417
4854
|
id?: string | undefined;
|
|
4418
4855
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -4422,14 +4859,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4422
4859
|
} | {
|
|
4423
4860
|
output: {
|
|
4424
4861
|
error: {
|
|
4425
|
-
code: "
|
|
4862
|
+
code: "body_invalid";
|
|
4426
4863
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4427
4864
|
message: string;
|
|
4428
4865
|
};
|
|
4429
4866
|
requestId: string;
|
|
4430
4867
|
};
|
|
4431
4868
|
outputFormat: "json";
|
|
4432
|
-
status:
|
|
4869
|
+
status: 400;
|
|
4433
4870
|
input: {
|
|
4434
4871
|
json: {
|
|
4435
4872
|
chainId?: unknown;
|
|
@@ -4759,7 +5196,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4759
5196
|
type: "betterstack";
|
|
4760
5197
|
url: string;
|
|
4761
5198
|
};
|
|
4762
|
-
eventType: "
|
|
5199
|
+
eventType: "routes:deposit.updated";
|
|
4763
5200
|
filters?: {
|
|
4764
5201
|
depositAddressId?: string | undefined;
|
|
4765
5202
|
recipient?: `0x${string}` | undefined;
|
|
@@ -4783,7 +5220,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4783
5220
|
type: "betterstack";
|
|
4784
5221
|
url: string;
|
|
4785
5222
|
};
|
|
4786
|
-
eventType: "
|
|
5223
|
+
eventType: "routes:transfer.updated";
|
|
4787
5224
|
filters?: {
|
|
4788
5225
|
id?: string | undefined;
|
|
4789
5226
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -4793,14 +5230,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4793
5230
|
} | {
|
|
4794
5231
|
output: {
|
|
4795
5232
|
error: {
|
|
4796
|
-
code: "
|
|
5233
|
+
code: "unauthorized";
|
|
4797
5234
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4798
5235
|
message: string;
|
|
4799
5236
|
};
|
|
4800
5237
|
requestId: string;
|
|
4801
5238
|
};
|
|
4802
5239
|
outputFormat: "json";
|
|
4803
|
-
status:
|
|
5240
|
+
status: 401;
|
|
4804
5241
|
input: {
|
|
4805
5242
|
json: {
|
|
4806
5243
|
chainId?: unknown;
|
|
@@ -5130,7 +5567,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5130
5567
|
type: "betterstack";
|
|
5131
5568
|
url: string;
|
|
5132
5569
|
};
|
|
5133
|
-
eventType: "
|
|
5570
|
+
eventType: "routes:deposit.updated";
|
|
5134
5571
|
filters?: {
|
|
5135
5572
|
depositAddressId?: string | undefined;
|
|
5136
5573
|
recipient?: `0x${string}` | undefined;
|
|
@@ -5154,7 +5591,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5154
5591
|
type: "betterstack";
|
|
5155
5592
|
url: string;
|
|
5156
5593
|
};
|
|
5157
|
-
eventType: "
|
|
5594
|
+
eventType: "routes:transfer.updated";
|
|
5158
5595
|
filters?: {
|
|
5159
5596
|
id?: string | undefined;
|
|
5160
5597
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -5164,14 +5601,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5164
5601
|
} | {
|
|
5165
5602
|
output: {
|
|
5166
5603
|
error: {
|
|
5167
|
-
code: "
|
|
5604
|
+
code: "event_type_unsupported";
|
|
5168
5605
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5169
5606
|
message: string;
|
|
5170
5607
|
};
|
|
5171
5608
|
requestId: string;
|
|
5172
5609
|
};
|
|
5173
5610
|
outputFormat: "json";
|
|
5174
|
-
status:
|
|
5611
|
+
status: 400;
|
|
5175
5612
|
input: {
|
|
5176
5613
|
json: {
|
|
5177
5614
|
chainId?: unknown;
|
|
@@ -5501,7 +5938,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5501
5938
|
type: "betterstack";
|
|
5502
5939
|
url: string;
|
|
5503
5940
|
};
|
|
5504
|
-
eventType: "
|
|
5941
|
+
eventType: "routes:deposit.updated";
|
|
5505
5942
|
filters?: {
|
|
5506
5943
|
depositAddressId?: string | undefined;
|
|
5507
5944
|
recipient?: `0x${string}` | undefined;
|
|
@@ -5525,7 +5962,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5525
5962
|
type: "betterstack";
|
|
5526
5963
|
url: string;
|
|
5527
5964
|
};
|
|
5528
|
-
eventType: "
|
|
5965
|
+
eventType: "routes:transfer.updated";
|
|
5529
5966
|
filters?: {
|
|
5530
5967
|
id?: string | undefined;
|
|
5531
5968
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -5535,7 +5972,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5535
5972
|
} | {
|
|
5536
5973
|
output: {
|
|
5537
5974
|
error: {
|
|
5538
|
-
code: "
|
|
5975
|
+
code: "chain_id_unsupported";
|
|
5539
5976
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5540
5977
|
message: string;
|
|
5541
5978
|
};
|
|
@@ -5872,7 +6309,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5872
6309
|
type: "betterstack";
|
|
5873
6310
|
url: string;
|
|
5874
6311
|
};
|
|
5875
|
-
eventType: "
|
|
6312
|
+
eventType: "routes:deposit.updated";
|
|
5876
6313
|
filters?: {
|
|
5877
6314
|
depositAddressId?: string | undefined;
|
|
5878
6315
|
recipient?: `0x${string}` | undefined;
|
|
@@ -5896,7 +6333,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5896
6333
|
type: "betterstack";
|
|
5897
6334
|
url: string;
|
|
5898
6335
|
};
|
|
5899
|
-
eventType: "
|
|
6336
|
+
eventType: "routes:transfer.updated";
|
|
5900
6337
|
filters?: {
|
|
5901
6338
|
id?: string | undefined;
|
|
5902
6339
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -5915,7 +6352,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5915
6352
|
} | undefined;
|
|
5916
6353
|
createdAt: string;
|
|
5917
6354
|
environment?: "production" | "sandbox" | undefined;
|
|
5918
|
-
eventType: "block:created" | "
|
|
6355
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
5919
6356
|
expiresAt?: string | undefined;
|
|
5920
6357
|
failureCount: number;
|
|
5921
6358
|
filters: {
|
|
@@ -6269,7 +6706,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6269
6706
|
type: "betterstack";
|
|
6270
6707
|
url: string;
|
|
6271
6708
|
};
|
|
6272
|
-
eventType: "
|
|
6709
|
+
eventType: "routes:deposit.updated";
|
|
6273
6710
|
filters?: {
|
|
6274
6711
|
depositAddressId?: string | undefined;
|
|
6275
6712
|
recipient?: `0x${string}` | undefined;
|
|
@@ -6293,7 +6730,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6293
6730
|
type: "betterstack";
|
|
6294
6731
|
url: string;
|
|
6295
6732
|
};
|
|
6296
|
-
eventType: "
|
|
6733
|
+
eventType: "routes:transfer.updated";
|
|
6297
6734
|
filters?: {
|
|
6298
6735
|
id?: string | undefined;
|
|
6299
6736
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -6640,7 +7077,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6640
7077
|
type: "betterstack";
|
|
6641
7078
|
url: string;
|
|
6642
7079
|
};
|
|
6643
|
-
eventType: "
|
|
7080
|
+
eventType: "routes:deposit.updated";
|
|
6644
7081
|
filters?: {
|
|
6645
7082
|
depositAddressId?: string | undefined;
|
|
6646
7083
|
recipient?: `0x${string}` | undefined;
|
|
@@ -6664,7 +7101,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6664
7101
|
type: "betterstack";
|
|
6665
7102
|
url: string;
|
|
6666
7103
|
};
|
|
6667
|
-
eventType: "
|
|
7104
|
+
eventType: "routes:transfer.updated";
|
|
6668
7105
|
filters?: {
|
|
6669
7106
|
id?: string | undefined;
|
|
6670
7107
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -7011,7 +7448,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7011
7448
|
type: "betterstack";
|
|
7012
7449
|
url: string;
|
|
7013
7450
|
};
|
|
7014
|
-
eventType: "
|
|
7451
|
+
eventType: "routes:deposit.updated";
|
|
7015
7452
|
filters?: {
|
|
7016
7453
|
depositAddressId?: string | undefined;
|
|
7017
7454
|
recipient?: `0x${string}` | undefined;
|
|
@@ -7035,7 +7472,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7035
7472
|
type: "betterstack";
|
|
7036
7473
|
url: string;
|
|
7037
7474
|
};
|
|
7038
|
-
eventType: "
|
|
7475
|
+
eventType: "routes:transfer.updated";
|
|
7039
7476
|
filters?: {
|
|
7040
7477
|
id?: string | undefined;
|
|
7041
7478
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -7382,7 +7819,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7382
7819
|
type: "betterstack";
|
|
7383
7820
|
url: string;
|
|
7384
7821
|
};
|
|
7385
|
-
eventType: "
|
|
7822
|
+
eventType: "routes:deposit.updated";
|
|
7386
7823
|
filters?: {
|
|
7387
7824
|
depositAddressId?: string | undefined;
|
|
7388
7825
|
recipient?: `0x${string}` | undefined;
|
|
@@ -7406,7 +7843,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7406
7843
|
type: "betterstack";
|
|
7407
7844
|
url: string;
|
|
7408
7845
|
};
|
|
7409
|
-
eventType: "
|
|
7846
|
+
eventType: "routes:transfer.updated";
|
|
7410
7847
|
filters?: {
|
|
7411
7848
|
id?: string | undefined;
|
|
7412
7849
|
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
@@ -7420,14 +7857,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7420
7857
|
$get: {
|
|
7421
7858
|
output: {
|
|
7422
7859
|
error: {
|
|
7423
|
-
code: "
|
|
7860
|
+
code: "api_key_malformed";
|
|
7424
7861
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7425
7862
|
message: string;
|
|
7426
7863
|
};
|
|
7427
7864
|
requestId: string;
|
|
7428
7865
|
};
|
|
7429
7866
|
outputFormat: "json";
|
|
7430
|
-
status:
|
|
7867
|
+
status: 400;
|
|
7431
7868
|
input: {
|
|
7432
7869
|
query?: {
|
|
7433
7870
|
cursor?: string | string[];
|
|
@@ -7439,14 +7876,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7439
7876
|
} | {
|
|
7440
7877
|
output: {
|
|
7441
7878
|
error: {
|
|
7442
|
-
code: "
|
|
7879
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7443
7880
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7444
7881
|
message: string;
|
|
7445
7882
|
};
|
|
7446
7883
|
requestId: string;
|
|
7447
7884
|
};
|
|
7448
7885
|
outputFormat: "json";
|
|
7449
|
-
status:
|
|
7886
|
+
status: 401;
|
|
7450
7887
|
input: {
|
|
7451
7888
|
query?: {
|
|
7452
7889
|
cursor?: string | string[];
|
|
@@ -7458,14 +7895,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7458
7895
|
} | {
|
|
7459
7896
|
output: {
|
|
7460
7897
|
error: {
|
|
7461
|
-
code: "
|
|
7898
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7462
7899
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7463
7900
|
message: string;
|
|
7464
7901
|
};
|
|
7465
7902
|
requestId: string;
|
|
7466
7903
|
};
|
|
7467
7904
|
outputFormat: "json";
|
|
7468
|
-
status:
|
|
7905
|
+
status: 403;
|
|
7469
7906
|
input: {
|
|
7470
7907
|
query?: {
|
|
7471
7908
|
cursor?: string | string[];
|
|
@@ -7477,14 +7914,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7477
7914
|
} | {
|
|
7478
7915
|
output: {
|
|
7479
7916
|
error: {
|
|
7480
|
-
code: "
|
|
7917
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7481
7918
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7482
7919
|
message: string;
|
|
7483
7920
|
};
|
|
7484
7921
|
requestId: string;
|
|
7485
7922
|
};
|
|
7486
7923
|
outputFormat: "json";
|
|
7487
|
-
status:
|
|
7924
|
+
status: 429;
|
|
7488
7925
|
input: {
|
|
7489
7926
|
query?: {
|
|
7490
7927
|
cursor?: string | string[];
|
|
@@ -7496,14 +7933,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7496
7933
|
} | {
|
|
7497
7934
|
output: {
|
|
7498
7935
|
error: {
|
|
7499
|
-
code: "
|
|
7936
|
+
code: "query_invalid";
|
|
7500
7937
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7501
7938
|
message: string;
|
|
7502
7939
|
};
|
|
7503
7940
|
requestId: string;
|
|
7504
7941
|
};
|
|
7505
7942
|
outputFormat: "json";
|
|
7506
|
-
status:
|
|
7943
|
+
status: 400;
|
|
7507
7944
|
input: {
|
|
7508
7945
|
query?: {
|
|
7509
7946
|
cursor?: string | string[];
|
|
@@ -7515,14 +7952,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7515
7952
|
} | {
|
|
7516
7953
|
output: {
|
|
7517
7954
|
error: {
|
|
7518
|
-
code: "
|
|
7955
|
+
code: "upstream_error";
|
|
7519
7956
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7520
7957
|
message: string;
|
|
7521
7958
|
};
|
|
7522
7959
|
requestId: string;
|
|
7523
7960
|
};
|
|
7524
7961
|
outputFormat: "json";
|
|
7525
|
-
status:
|
|
7962
|
+
status: 502;
|
|
7526
7963
|
input: {
|
|
7527
7964
|
query?: {
|
|
7528
7965
|
cursor?: string | string[];
|
|
@@ -7593,7 +8030,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7593
8030
|
url: string;
|
|
7594
8031
|
};
|
|
7595
8032
|
environment?: "production" | "sandbox" | undefined;
|
|
7596
|
-
eventType: "block:created" | "
|
|
8033
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
7597
8034
|
expiresAt?: string | undefined;
|
|
7598
8035
|
failureCount: number;
|
|
7599
8036
|
filters: {
|
|
@@ -7627,14 +8064,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7627
8064
|
$get: {
|
|
7628
8065
|
output: {
|
|
7629
8066
|
error: {
|
|
7630
|
-
code: "
|
|
8067
|
+
code: "api_key_malformed";
|
|
7631
8068
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7632
8069
|
message: string;
|
|
7633
8070
|
};
|
|
7634
8071
|
requestId: string;
|
|
7635
8072
|
};
|
|
7636
8073
|
outputFormat: "json";
|
|
7637
|
-
status:
|
|
8074
|
+
status: 400;
|
|
7638
8075
|
input: {
|
|
7639
8076
|
param: {
|
|
7640
8077
|
id: string;
|
|
@@ -7643,14 +8080,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7643
8080
|
} | {
|
|
7644
8081
|
output: {
|
|
7645
8082
|
error: {
|
|
7646
|
-
code: "
|
|
8083
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7647
8084
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7648
8085
|
message: string;
|
|
7649
8086
|
};
|
|
7650
8087
|
requestId: string;
|
|
7651
8088
|
};
|
|
7652
8089
|
outputFormat: "json";
|
|
7653
|
-
status:
|
|
8090
|
+
status: 401;
|
|
7654
8091
|
input: {
|
|
7655
8092
|
param: {
|
|
7656
8093
|
id: string;
|
|
@@ -7659,14 +8096,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7659
8096
|
} | {
|
|
7660
8097
|
output: {
|
|
7661
8098
|
error: {
|
|
7662
|
-
code: "
|
|
8099
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7663
8100
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7664
8101
|
message: string;
|
|
7665
8102
|
};
|
|
7666
8103
|
requestId: string;
|
|
7667
8104
|
};
|
|
7668
8105
|
outputFormat: "json";
|
|
7669
|
-
status:
|
|
8106
|
+
status: 403;
|
|
7670
8107
|
input: {
|
|
7671
8108
|
param: {
|
|
7672
8109
|
id: string;
|
|
@@ -7675,14 +8112,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7675
8112
|
} | {
|
|
7676
8113
|
output: {
|
|
7677
8114
|
error: {
|
|
7678
|
-
code: "
|
|
8115
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7679
8116
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7680
8117
|
message: string;
|
|
7681
8118
|
};
|
|
7682
8119
|
requestId: string;
|
|
7683
8120
|
};
|
|
7684
8121
|
outputFormat: "json";
|
|
7685
|
-
status:
|
|
8122
|
+
status: 429;
|
|
7686
8123
|
input: {
|
|
7687
8124
|
param: {
|
|
7688
8125
|
id: string;
|
|
@@ -7691,14 +8128,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7691
8128
|
} | {
|
|
7692
8129
|
output: {
|
|
7693
8130
|
error: {
|
|
7694
|
-
code: "
|
|
8131
|
+
code: "upstream_error";
|
|
7695
8132
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7696
8133
|
message: string;
|
|
7697
8134
|
};
|
|
7698
8135
|
requestId: string;
|
|
7699
8136
|
};
|
|
7700
8137
|
outputFormat: "json";
|
|
7701
|
-
status:
|
|
8138
|
+
status: 502;
|
|
7702
8139
|
input: {
|
|
7703
8140
|
param: {
|
|
7704
8141
|
id: string;
|
|
@@ -7791,7 +8228,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7791
8228
|
url: string;
|
|
7792
8229
|
};
|
|
7793
8230
|
environment?: "production" | "sandbox" | undefined;
|
|
7794
|
-
eventType: "block:created" | "
|
|
8231
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
7795
8232
|
expiresAt?: string | undefined;
|
|
7796
8233
|
failureCount: number;
|
|
7797
8234
|
filters: {
|
|
@@ -7816,14 +8253,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7816
8253
|
$get: {
|
|
7817
8254
|
output: {
|
|
7818
8255
|
error: {
|
|
7819
|
-
code: "
|
|
8256
|
+
code: "api_key_malformed";
|
|
7820
8257
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7821
8258
|
message: string;
|
|
7822
8259
|
};
|
|
7823
8260
|
requestId: string;
|
|
7824
8261
|
};
|
|
7825
8262
|
outputFormat: "json";
|
|
7826
|
-
status:
|
|
8263
|
+
status: 400;
|
|
7827
8264
|
input: {
|
|
7828
8265
|
param: {
|
|
7829
8266
|
id: string;
|
|
@@ -7839,14 +8276,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7839
8276
|
} | {
|
|
7840
8277
|
output: {
|
|
7841
8278
|
error: {
|
|
7842
|
-
code: "
|
|
8279
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7843
8280
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7844
8281
|
message: string;
|
|
7845
8282
|
};
|
|
7846
8283
|
requestId: string;
|
|
7847
8284
|
};
|
|
7848
8285
|
outputFormat: "json";
|
|
7849
|
-
status:
|
|
8286
|
+
status: 401;
|
|
7850
8287
|
input: {
|
|
7851
8288
|
param: {
|
|
7852
8289
|
id: string;
|
|
@@ -7862,14 +8299,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7862
8299
|
} | {
|
|
7863
8300
|
output: {
|
|
7864
8301
|
error: {
|
|
7865
|
-
code: "
|
|
8302
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7866
8303
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7867
8304
|
message: string;
|
|
7868
8305
|
};
|
|
7869
8306
|
requestId: string;
|
|
7870
8307
|
};
|
|
7871
8308
|
outputFormat: "json";
|
|
7872
|
-
status:
|
|
8309
|
+
status: 403;
|
|
7873
8310
|
input: {
|
|
7874
8311
|
param: {
|
|
7875
8312
|
id: string;
|
|
@@ -7885,14 +8322,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7885
8322
|
} | {
|
|
7886
8323
|
output: {
|
|
7887
8324
|
error: {
|
|
7888
|
-
code: "
|
|
8325
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7889
8326
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7890
8327
|
message: string;
|
|
7891
8328
|
};
|
|
7892
8329
|
requestId: string;
|
|
7893
8330
|
};
|
|
7894
8331
|
outputFormat: "json";
|
|
7895
|
-
status:
|
|
8332
|
+
status: 429;
|
|
7896
8333
|
input: {
|
|
7897
8334
|
param: {
|
|
7898
8335
|
id: string;
|
|
@@ -7908,14 +8345,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7908
8345
|
} | {
|
|
7909
8346
|
output: {
|
|
7910
8347
|
error: {
|
|
7911
|
-
code: "
|
|
8348
|
+
code: "query_invalid";
|
|
7912
8349
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7913
8350
|
message: string;
|
|
7914
8351
|
};
|
|
7915
8352
|
requestId: string;
|
|
7916
8353
|
};
|
|
7917
8354
|
outputFormat: "json";
|
|
7918
|
-
status:
|
|
8355
|
+
status: 400;
|
|
7919
8356
|
input: {
|
|
7920
8357
|
param: {
|
|
7921
8358
|
id: string;
|
|
@@ -7931,14 +8368,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7931
8368
|
} | {
|
|
7932
8369
|
output: {
|
|
7933
8370
|
error: {
|
|
7934
|
-
code: "
|
|
8371
|
+
code: "upstream_error";
|
|
7935
8372
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7936
8373
|
message: string;
|
|
7937
8374
|
};
|
|
7938
8375
|
requestId: string;
|
|
7939
8376
|
};
|
|
7940
8377
|
outputFormat: "json";
|
|
7941
|
-
status:
|
|
8378
|
+
status: 502;
|
|
7942
8379
|
input: {
|
|
7943
8380
|
param: {
|
|
7944
8381
|
id: string;
|
|
@@ -8084,14 +8521,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8084
8521
|
$post: {
|
|
8085
8522
|
output: {
|
|
8086
8523
|
error: {
|
|
8087
|
-
code: "
|
|
8524
|
+
code: "api_key_malformed";
|
|
8088
8525
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8089
8526
|
message: string;
|
|
8090
8527
|
};
|
|
8091
8528
|
requestId: string;
|
|
8092
8529
|
};
|
|
8093
8530
|
outputFormat: "json";
|
|
8094
|
-
status:
|
|
8531
|
+
status: 400;
|
|
8095
8532
|
input: {
|
|
8096
8533
|
param: {
|
|
8097
8534
|
id: string;
|
|
@@ -8100,14 +8537,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8100
8537
|
} | {
|
|
8101
8538
|
output: {
|
|
8102
8539
|
error: {
|
|
8103
|
-
code: "
|
|
8540
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
8104
8541
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8105
8542
|
message: string;
|
|
8106
8543
|
};
|
|
8107
8544
|
requestId: string;
|
|
8108
8545
|
};
|
|
8109
8546
|
outputFormat: "json";
|
|
8110
|
-
status:
|
|
8547
|
+
status: 401;
|
|
8111
8548
|
input: {
|
|
8112
8549
|
param: {
|
|
8113
8550
|
id: string;
|
|
@@ -8116,14 +8553,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8116
8553
|
} | {
|
|
8117
8554
|
output: {
|
|
8118
8555
|
error: {
|
|
8119
|
-
code: "
|
|
8556
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
8120
8557
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8121
8558
|
message: string;
|
|
8122
8559
|
};
|
|
8123
8560
|
requestId: string;
|
|
8124
8561
|
};
|
|
8125
8562
|
outputFormat: "json";
|
|
8126
|
-
status:
|
|
8563
|
+
status: 403;
|
|
8127
8564
|
input: {
|
|
8128
8565
|
param: {
|
|
8129
8566
|
id: string;
|
|
@@ -8132,14 +8569,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8132
8569
|
} | {
|
|
8133
8570
|
output: {
|
|
8134
8571
|
error: {
|
|
8135
|
-
code: "
|
|
8572
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
8136
8573
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8137
8574
|
message: string;
|
|
8138
8575
|
};
|
|
8139
8576
|
requestId: string;
|
|
8140
8577
|
};
|
|
8141
8578
|
outputFormat: "json";
|
|
8142
|
-
status:
|
|
8579
|
+
status: 429;
|
|
8143
8580
|
input: {
|
|
8144
8581
|
param: {
|
|
8145
8582
|
id: string;
|
|
@@ -8148,14 +8585,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8148
8585
|
} | {
|
|
8149
8586
|
output: {
|
|
8150
8587
|
error: {
|
|
8151
|
-
code: "
|
|
8588
|
+
code: "upstream_error";
|
|
8152
8589
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8153
8590
|
message: string;
|
|
8154
8591
|
};
|
|
8155
8592
|
requestId: string;
|
|
8156
8593
|
};
|
|
8157
8594
|
outputFormat: "json";
|
|
8158
|
-
status:
|
|
8595
|
+
status: 502;
|
|
8159
8596
|
input: {
|
|
8160
8597
|
param: {
|
|
8161
8598
|
id: string;
|
|
@@ -8247,14 +8684,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8247
8684
|
$post: {
|
|
8248
8685
|
output: {
|
|
8249
8686
|
error: {
|
|
8250
|
-
code: "
|
|
8687
|
+
code: "api_key_malformed";
|
|
8251
8688
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8252
8689
|
message: string;
|
|
8253
8690
|
};
|
|
8254
8691
|
requestId: string;
|
|
8255
8692
|
};
|
|
8256
8693
|
outputFormat: "json";
|
|
8257
|
-
status:
|
|
8694
|
+
status: 400;
|
|
8258
8695
|
input: {
|
|
8259
8696
|
param: {
|
|
8260
8697
|
deliveryId: string;
|
|
@@ -8264,14 +8701,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8264
8701
|
} | {
|
|
8265
8702
|
output: {
|
|
8266
8703
|
error: {
|
|
8267
|
-
code: "
|
|
8704
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
8268
8705
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8269
8706
|
message: string;
|
|
8270
8707
|
};
|
|
8271
8708
|
requestId: string;
|
|
8272
8709
|
};
|
|
8273
8710
|
outputFormat: "json";
|
|
8274
|
-
status:
|
|
8711
|
+
status: 401;
|
|
8275
8712
|
input: {
|
|
8276
8713
|
param: {
|
|
8277
8714
|
deliveryId: string;
|
|
@@ -8281,14 +8718,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8281
8718
|
} | {
|
|
8282
8719
|
output: {
|
|
8283
8720
|
error: {
|
|
8284
|
-
code: "
|
|
8721
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
8285
8722
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8286
8723
|
message: string;
|
|
8287
8724
|
};
|
|
8288
8725
|
requestId: string;
|
|
8289
8726
|
};
|
|
8290
8727
|
outputFormat: "json";
|
|
8291
|
-
status:
|
|
8728
|
+
status: 403;
|
|
8292
8729
|
input: {
|
|
8293
8730
|
param: {
|
|
8294
8731
|
deliveryId: string;
|
|
@@ -8298,14 +8735,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8298
8735
|
} | {
|
|
8299
8736
|
output: {
|
|
8300
8737
|
error: {
|
|
8301
|
-
code: "
|
|
8738
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
8302
8739
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8303
8740
|
message: string;
|
|
8304
8741
|
};
|
|
8305
8742
|
requestId: string;
|
|
8306
8743
|
};
|
|
8307
8744
|
outputFormat: "json";
|
|
8308
|
-
status:
|
|
8745
|
+
status: 429;
|
|
8309
8746
|
input: {
|
|
8310
8747
|
param: {
|
|
8311
8748
|
deliveryId: string;
|
|
@@ -8315,14 +8752,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8315
8752
|
} | {
|
|
8316
8753
|
output: {
|
|
8317
8754
|
error: {
|
|
8318
|
-
code: "
|
|
8755
|
+
code: "upstream_error";
|
|
8319
8756
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8320
8757
|
message: string;
|
|
8321
8758
|
};
|
|
8322
8759
|
requestId: string;
|
|
8323
8760
|
};
|
|
8324
8761
|
outputFormat: "json";
|
|
8325
|
-
status:
|
|
8762
|
+
status: 502;
|
|
8326
8763
|
input: {
|
|
8327
8764
|
param: {
|
|
8328
8765
|
deliveryId: string;
|
|
@@ -8437,14 +8874,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8437
8874
|
$patch: {
|
|
8438
8875
|
output: {
|
|
8439
8876
|
error: {
|
|
8440
|
-
code: "
|
|
8877
|
+
code: "api_key_malformed";
|
|
8441
8878
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8442
8879
|
message: string;
|
|
8443
8880
|
};
|
|
8444
8881
|
requestId: string;
|
|
8445
8882
|
};
|
|
8446
8883
|
outputFormat: "json";
|
|
8447
|
-
status:
|
|
8884
|
+
status: 400;
|
|
8448
8885
|
input: {
|
|
8449
8886
|
param: {
|
|
8450
8887
|
id: string;
|
|
@@ -8474,14 +8911,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8474
8911
|
} | {
|
|
8475
8912
|
output: {
|
|
8476
8913
|
error: {
|
|
8477
|
-
code: "
|
|
8914
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
8478
8915
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8479
8916
|
message: string;
|
|
8480
8917
|
};
|
|
8481
8918
|
requestId: string;
|
|
8482
8919
|
};
|
|
8483
8920
|
outputFormat: "json";
|
|
8484
|
-
status:
|
|
8921
|
+
status: 401;
|
|
8485
8922
|
input: {
|
|
8486
8923
|
param: {
|
|
8487
8924
|
id: string;
|
|
@@ -8511,14 +8948,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8511
8948
|
} | {
|
|
8512
8949
|
output: {
|
|
8513
8950
|
error: {
|
|
8514
|
-
code: "
|
|
8951
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
8515
8952
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8516
8953
|
message: string;
|
|
8517
8954
|
};
|
|
8518
8955
|
requestId: string;
|
|
8519
8956
|
};
|
|
8520
8957
|
outputFormat: "json";
|
|
8521
|
-
status:
|
|
8958
|
+
status: 403;
|
|
8522
8959
|
input: {
|
|
8523
8960
|
param: {
|
|
8524
8961
|
id: string;
|
|
@@ -8548,14 +8985,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8548
8985
|
} | {
|
|
8549
8986
|
output: {
|
|
8550
8987
|
error: {
|
|
8551
|
-
code: "
|
|
8988
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
8552
8989
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8553
8990
|
message: string;
|
|
8554
8991
|
};
|
|
8555
8992
|
requestId: string;
|
|
8556
8993
|
};
|
|
8557
8994
|
outputFormat: "json";
|
|
8558
|
-
status:
|
|
8995
|
+
status: 429;
|
|
8559
8996
|
input: {
|
|
8560
8997
|
param: {
|
|
8561
8998
|
id: string;
|
|
@@ -8585,14 +9022,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8585
9022
|
} | {
|
|
8586
9023
|
output: {
|
|
8587
9024
|
error: {
|
|
8588
|
-
code: "
|
|
9025
|
+
code: "upstream_error";
|
|
8589
9026
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8590
9027
|
message: string;
|
|
8591
9028
|
};
|
|
8592
9029
|
requestId: string;
|
|
8593
9030
|
};
|
|
8594
9031
|
outputFormat: "json";
|
|
8595
|
-
status:
|
|
9032
|
+
status: 502;
|
|
8596
9033
|
input: {
|
|
8597
9034
|
param: {
|
|
8598
9035
|
id: string;
|
|
@@ -8901,7 +9338,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8901
9338
|
url: string;
|
|
8902
9339
|
};
|
|
8903
9340
|
environment?: "production" | "sandbox" | undefined;
|
|
8904
|
-
eventType: "block:created" | "
|
|
9341
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
8905
9342
|
expiresAt?: string | undefined;
|
|
8906
9343
|
failureCount: number;
|
|
8907
9344
|
filters: {
|
|
@@ -8984,14 +9421,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8984
9421
|
$delete: {
|
|
8985
9422
|
output: {
|
|
8986
9423
|
error: {
|
|
8987
|
-
code: "
|
|
9424
|
+
code: "api_key_malformed";
|
|
8988
9425
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8989
9426
|
message: string;
|
|
8990
9427
|
};
|
|
8991
9428
|
requestId: string;
|
|
8992
9429
|
};
|
|
8993
9430
|
outputFormat: "json";
|
|
8994
|
-
status:
|
|
9431
|
+
status: 400;
|
|
8995
9432
|
input: {
|
|
8996
9433
|
param: {
|
|
8997
9434
|
id: string;
|
|
@@ -9000,14 +9437,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
9000
9437
|
} | {
|
|
9001
9438
|
output: {
|
|
9002
9439
|
error: {
|
|
9003
|
-
code: "
|
|
9440
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
9004
9441
|
details?: readonly Response.error.Detail[] | undefined;
|
|
9005
9442
|
message: string;
|
|
9006
9443
|
};
|
|
9007
9444
|
requestId: string;
|
|
9008
9445
|
};
|
|
9009
9446
|
outputFormat: "json";
|
|
9010
|
-
status:
|
|
9447
|
+
status: 401;
|
|
9011
9448
|
input: {
|
|
9012
9449
|
param: {
|
|
9013
9450
|
id: string;
|
|
@@ -9016,14 +9453,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
9016
9453
|
} | {
|
|
9017
9454
|
output: {
|
|
9018
9455
|
error: {
|
|
9019
|
-
code: "
|
|
9456
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
9020
9457
|
details?: readonly Response.error.Detail[] | undefined;
|
|
9021
9458
|
message: string;
|
|
9022
9459
|
};
|
|
9023
9460
|
requestId: string;
|
|
9024
9461
|
};
|
|
9025
9462
|
outputFormat: "json";
|
|
9026
|
-
status:
|
|
9463
|
+
status: 403;
|
|
9027
9464
|
input: {
|
|
9028
9465
|
param: {
|
|
9029
9466
|
id: string;
|
|
@@ -9032,14 +9469,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
9032
9469
|
} | {
|
|
9033
9470
|
output: {
|
|
9034
9471
|
error: {
|
|
9035
|
-
code: "
|
|
9472
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
9036
9473
|
details?: readonly Response.error.Detail[] | undefined;
|
|
9037
9474
|
message: string;
|
|
9038
9475
|
};
|
|
9039
9476
|
requestId: string;
|
|
9040
9477
|
};
|
|
9041
9478
|
outputFormat: "json";
|
|
9042
|
-
status:
|
|
9479
|
+
status: 429;
|
|
9043
9480
|
input: {
|
|
9044
9481
|
param: {
|
|
9045
9482
|
id: string;
|
|
@@ -9048,14 +9485,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
9048
9485
|
} | {
|
|
9049
9486
|
output: {
|
|
9050
9487
|
error: {
|
|
9051
|
-
code: "
|
|
9488
|
+
code: "upstream_error";
|
|
9052
9489
|
details?: readonly Response.error.Detail[] | undefined;
|
|
9053
9490
|
message: string;
|
|
9054
9491
|
};
|
|
9055
9492
|
requestId: string;
|
|
9056
9493
|
};
|
|
9057
9494
|
outputFormat: "json";
|
|
9058
|
-
status:
|
|
9495
|
+
status: 502;
|
|
9059
9496
|
input: {
|
|
9060
9497
|
param: {
|
|
9061
9498
|
id: string;
|
|
@@ -9171,7 +9608,7 @@ export declare function parseFilters(eventType: EventType, filters: Record<strin
|
|
|
9171
9608
|
* - `{ selector }` → first 4 bytes (10 hex chars) equal
|
|
9172
9609
|
* - `{ startsWith }` → hex prefix
|
|
9173
9610
|
*/
|
|
9174
|
-
export declare function matchesOperator(value: string | undefined, op: unknown, kind?: 'number' | 'string'): boolean;
|
|
9611
|
+
export declare function matchesOperator(value: bigint | number | string | undefined, op: unknown, kind?: 'number' | 'string'): boolean;
|
|
9175
9612
|
/**
|
|
9176
9613
|
* Attaches best-effort token metadata to one matched row before delivery.
|
|
9177
9614
|
* Transfers gain display metadata; transactions resolve their fee token.
|