tapimo 0.9.0 → 0.10.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/dist/ApiKey.d.ts +2 -1
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKeys.d.ts +4 -2
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +26 -1
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +4292 -3708
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +1 -0
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +21 -20
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +66 -23
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +91 -84
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +26 -17
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +6 -0
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +4 -2
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +168 -168
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +69 -69
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +26 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/apps/Zones.d.ts +4280 -84
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +30 -10
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +5799 -4929
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +4 -5
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.js +19 -4
- package/dist/apps/data/FxOracle.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +3391 -492
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +372 -29
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +853 -339
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +10 -10
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +145 -83
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/earn.d.ts +455 -1
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +369 -45
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +114 -118
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +24 -24
- package/dist/apps/data/routes/indexer.d.ts +35 -34
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +3 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +68 -47
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +5 -1
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokens.d.ts +461 -459
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +313 -305
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +25 -23
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +108 -86
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +618 -105
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +519 -868
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +642 -353
- 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 +4 -2
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.d.ts +36 -36
- package/dist/apps/funding/routes/transfers.js +1 -1
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +11 -309
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +74 -74
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +35 -35
- package/dist/apps/management/routes/faucet.js +2 -2
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/invite-links.d.ts +80 -80
- package/dist/apps/management/routes/members.d.ts +69 -69
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +60 -60
- package/dist/apps/management/routes/usage.d.ts +72 -72
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/management/routes/webhooks.d.ts +203 -618
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +4 -1
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +56 -44
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +3 -0
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +3 -0
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +9 -2
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/db/Db.d.ts +4 -2
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +75 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +19 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +24 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +4 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +122 -0
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -0
- package/dist/db/tables/webhookQueueEvents.js +160 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +58 -3
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +86 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +3 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +6 -4
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +139 -3
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +144 -4
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +4 -6
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +15 -14
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Schema.js +1 -1
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +2 -1
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +57 -18
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +1 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +1 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Value.d.ts +2 -0
- package/dist/internal/Value.d.ts.map +1 -1
- package/dist/internal/Value.js +25 -0
- package/dist/internal/Value.js.map +1 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +2 -1
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts +2 -0
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +11 -0
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +75 -0
- package/dist/internal/WebhookTransfer.d.ts.map +1 -0
- package/dist/internal/WebhookTransfer.js +299 -0
- package/dist/internal/WebhookTransfer.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +176 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +216 -20
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +4 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +11 -7
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +128 -0
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts +6 -4
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +71 -9
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +4 -4
- package/src/ApiKeys.test.ts +20 -0
- package/src/ApiKeys.ts +28 -1
- package/src/App.test.ts +10 -8
- package/src/App.ts +1 -0
- package/src/Client.test-d.ts +61 -5
- package/src/Webhooks.bench.ts +714 -0
- package/src/Webhooks.memory.bench.ts +250 -0
- package/src/Webhooks.test.ts +77 -6
- package/src/Webhooks.ts +85 -29
- package/src/admin/apps/api-keys.test.ts +9 -0
- package/src/admin/apps/api-keys.ts +15 -0
- package/src/admin/ui/src/lib/query-client.ts +3 -2
- package/src/admin/ui/src/routes/api-keys.tsx +31 -9
- package/src/admin/ui.generated.ts +69 -69
- package/src/analytics/Analytics.test.ts +8 -0
- package/src/analytics/Analytics.ts +26 -0
- package/src/apps/Zones.test.ts +23 -5
- package/src/apps/Zones.ts +31 -10
- package/src/apps/composition.test.ts +1 -0
- package/src/apps/data/App.test.ts +2 -2
- package/src/apps/data/FxOracle.test.ts +18 -0
- package/src/apps/data/FxOracle.ts +28 -5
- package/src/apps/data/routes/activities.bench.ts +41 -0
- package/src/apps/data/routes/activities.test.ts +122 -2
- package/src/apps/data/routes/activities.ts +435 -32
- package/src/apps/data/routes/balances.bench.ts +21 -0
- package/src/apps/data/routes/balances.test.ts +119 -10
- package/src/apps/data/routes/balances.ts +164 -97
- package/src/apps/data/routes/blocks.bench.ts +34 -0
- package/src/apps/data/routes/blocks.test.ts +12 -6
- package/src/apps/data/routes/coingecko.bench.ts +53 -0
- package/src/apps/data/routes/earn.bench.ts +71 -0
- package/src/apps/data/routes/earn.test.ts +197 -0
- package/src/apps/data/routes/earn.ts +487 -45
- package/src/apps/data/routes/exchanges.bench.ts +85 -0
- package/src/apps/data/routes/exchanges.test.ts +7 -6
- package/src/apps/data/routes/exchanges.ts +124 -117
- package/src/apps/data/routes/fee-amm.bench.ts +13 -0
- package/src/apps/data/routes/indexer.bench.ts +8 -0
- package/src/apps/data/routes/indexer.test.ts +2 -1
- package/src/apps/data/routes/indexer.ts +3 -2
- package/src/apps/data/routes/receipts.bench.ts +39 -0
- package/src/apps/data/routes/receipts.test.ts +24 -7
- package/src/apps/data/routes/receipts.ts +67 -50
- package/src/apps/data/routes/rpc.bench.ts +14 -0
- package/src/apps/data/routes/rpc.test.ts +27 -0
- package/src/apps/data/routes/rpc.ts +5 -1
- package/src/apps/data/routes/tokenlist.bench.ts +3 -0
- package/src/apps/data/routes/tokens.bench.ts +76 -0
- package/src/apps/data/routes/tokens.test.ts +51 -0
- package/src/apps/data/routes/transactions.bench.ts +40 -0
- package/src/apps/data/routes/transactions.test.ts +42 -0
- package/src/apps/data/routes/transactions.ts +44 -39
- package/src/apps/data/routes/transfers.bench.ts +28 -0
- package/src/apps/data/routes/transfers.test.ts +402 -24
- package/src/apps/data/routes/transfers.ts +708 -101
- package/src/apps/data/routes/valuation.bench.ts +14 -0
- package/src/apps/data/routes/valuation.test.ts +26 -0
- package/src/apps/data/routes/valuation.ts +6 -2
- package/src/apps/data/routes/verified-tokens.bench.ts +8 -0
- package/src/apps/data/routes/webhooks.bench.ts +26 -0
- package/src/apps/data/routes/webhooks.scan.test.ts +326 -0
- package/src/apps/data/routes/webhooks.test.ts +466 -135
- package/src/apps/data/routes/webhooks.ts +820 -429
- package/src/apps/data/routes/zones.bench.ts +32 -0
- package/src/apps/data/routes/zones.test.ts +1 -1
- package/src/apps/data/routes/zones.ts +7 -2
- package/src/apps/funding/routes/chains.test.ts +1 -1
- package/src/apps/funding/routes/deposit-addresses.test.ts +1 -1
- package/src/apps/funding/routes/deposit-addresses.ts +1 -1
- package/src/apps/funding/routes/providers.test.ts +1 -1
- package/src/apps/funding/routes/quotes.test.ts +2 -2
- package/src/apps/funding/routes/transfers.test.ts +3 -6
- package/src/apps/funding/routes/transfers.ts +1 -1
- package/src/apps/management/routes/billing.ts +1 -1
- package/src/apps/management/routes/faucet.ts +2 -2
- package/src/apps/management/routes/me.test.ts +31 -0
- package/src/apps/mcp.ts +4 -1
- package/src/apps/mpp/Mpp.test.ts +13 -1
- package/src/apps/mpp/Mpp.ts +8 -0
- package/src/apps/mpp/internal/Adapter.ts +10 -2
- package/src/db/Db.test.ts +40 -6
- package/src/db/Db.ts +114 -19
- package/src/db/Schema.ts +32 -0
- package/src/db/tables/sponsoredTransactions.ts +9 -2
- package/src/db/tables/webhookQueueEvents.ts +285 -0
- package/src/db/tables/webhookSubscriptions.ts +131 -4
- package/src/internal/Auth.test.ts +61 -50
- package/src/internal/Auth.ts +9 -4
- package/src/internal/EarnVaults.test.ts +2 -2
- package/src/internal/MetricSink.test.ts +575 -0
- package/src/internal/MetricSink.ts +325 -10
- package/src/internal/RateLimit.test.ts +23 -18
- package/src/internal/RateLimit.ts +23 -15
- package/src/internal/Schema.ts +1 -1
- package/src/internal/Store.test.ts +99 -13
- package/src/internal/Store.ts +52 -17
- package/src/internal/Tidx.test.ts +4 -4
- package/src/internal/Tidx.ts +1 -3
- package/src/internal/Value.test.ts +25 -0
- package/src/internal/Value.ts +29 -0
- package/src/internal/Viem.test.ts +8 -0
- package/src/internal/Viem.ts +2 -1
- package/src/internal/WebhookDestination.test.ts +20 -0
- package/src/internal/WebhookDestination.ts +10 -0
- package/src/internal/WebhookTransfer.test.ts +89 -0
- package/src/internal/WebhookTransfer.ts +430 -0
- package/src/internal/Webhooks.test.ts +616 -0
- package/src/internal/Webhooks.ts +412 -24
- package/src/internal/funding/Provider.test.ts +48 -8
- package/src/internal/funding/Provider.ts +12 -7
- package/src/internal/funding/Reconciliation.local.test.ts +3 -1
- package/src/internal/funding/Reconciliation.test.ts +1240 -0
- package/src/internal/funding/Reconciliation.ts +136 -0
- package/src/internal/funding/SourceObservation.test.ts +1 -0
- package/src/internal/funding/providers/index.test.ts +73 -3
- package/src/internal/funding/providers/relay.test.ts +2 -9
- package/src/internal/funding/providers/relay.ts +72 -13
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { type RpcLog } from 'viem';
|
|
1
2
|
import * as z from 'zod/mini';
|
|
2
3
|
import type * as App from '../../../App.js';
|
|
3
4
|
import * as Db from '../../../db/Db.js';
|
|
5
|
+
import type * as MetricSink from '../../../internal/MetricSink.js';
|
|
4
6
|
import * as Response from '../../../internal/Response.js';
|
|
5
7
|
import * as Store from '../../../internal/Store.js';
|
|
6
|
-
import type * as Tidx from '../../../internal/Tidx.js';
|
|
7
8
|
import type * as Viem from '../../../internal/Viem.js';
|
|
8
9
|
import * as Webhooks from '../../../internal/Webhooks.js';
|
|
9
10
|
/**
|
|
@@ -84,13 +85,12 @@ export declare namespace schema {
|
|
|
84
85
|
}, z.core.$strip>;
|
|
85
86
|
/**
|
|
86
87
|
* `transaction:included` subscription filters: operators over every column the
|
|
87
|
-
* `txs` envelope exposes, plus inner account-abstraction `calls
|
|
88
|
-
* top-level `input` calldata
|
|
89
|
-
*
|
|
88
|
+
* `txs` envelope exposes, plus inner account-abstraction `calls` and the
|
|
89
|
+
* top-level `input` calldata. All optional and AND-combined; omit every field
|
|
90
|
+
* for the full stream.
|
|
90
91
|
*
|
|
91
92
|
* `address` matches either side (`from` OR `to`); when `includeCalls` is set
|
|
92
93
|
* (default), `to`/`address` also match an inner call target (`calls[].to`).
|
|
93
|
-
* Set `includeReceipt` to embed the receipt in the delivered payload.
|
|
94
94
|
*/
|
|
95
95
|
const TxFilters: z.ZodMiniObject<{
|
|
96
96
|
hash: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
@@ -122,7 +122,6 @@ export declare namespace schema {
|
|
|
122
122
|
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
123
123
|
}, z.core.$strict>]>>;
|
|
124
124
|
includeCalls: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
125
|
-
includeReceipt: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
126
125
|
value: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
127
126
|
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
128
127
|
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -167,13 +166,6 @@ export declare namespace schema {
|
|
|
167
166
|
}, z.core.$strict>, z.ZodMiniObject<{
|
|
168
167
|
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
169
168
|
}, z.core.$strict>]>>;
|
|
170
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
171
|
-
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
172
|
-
}, z.core.$strict>, z.ZodMiniObject<{
|
|
173
|
-
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
174
|
-
}, z.core.$strict>, z.ZodMiniObject<{
|
|
175
|
-
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
176
|
-
}, z.core.$strict>]>>;
|
|
177
169
|
gasLimit: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
178
170
|
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
179
171
|
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -181,13 +173,6 @@ export declare namespace schema {
|
|
|
181
173
|
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
182
174
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
183
175
|
}, z.core.$strict>]>>;
|
|
184
|
-
gasUsed: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
185
|
-
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
186
|
-
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
187
|
-
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
188
|
-
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
189
|
-
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
190
|
-
}, z.core.$strict>]>>;
|
|
191
176
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
192
177
|
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
193
178
|
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -244,10 +229,6 @@ export declare namespace schema {
|
|
|
244
229
|
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
245
230
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
246
231
|
}, z.core.$strict>]>>;
|
|
247
|
-
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
248
|
-
reverted: "reverted";
|
|
249
|
-
success: "success";
|
|
250
|
-
}>>;
|
|
251
232
|
}, z.core.$strict>;
|
|
252
233
|
/**
|
|
253
234
|
* `log:emitted` subscription filters. Raw `topic0..3` map straight to the
|
|
@@ -447,8 +428,8 @@ export declare namespace schema {
|
|
|
447
428
|
transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
448
429
|
}, z.core.$strip>;
|
|
449
430
|
/**
|
|
450
|
-
* A `transaction` event payload
|
|
451
|
-
*
|
|
431
|
+
* A `transaction` event payload using the humanized transaction shape without
|
|
432
|
+
* opt-in read resources such as receipts.
|
|
452
433
|
*/
|
|
453
434
|
const TransactionEvent: z.ZodMiniObject<{
|
|
454
435
|
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
@@ -474,106 +455,25 @@ export declare namespace schema {
|
|
|
474
455
|
input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
475
456
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
476
457
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
458
|
+
nonce: z.ZodMiniNumber<number>;
|
|
459
|
+
nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
460
|
+
recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
461
|
+
sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
462
|
+
timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
463
|
+
transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
464
|
+
type: z.ZodMiniEnum<{
|
|
465
|
+
eip1559: "eip1559";
|
|
466
|
+
eip2930: "eip2930";
|
|
467
|
+
eip4844: "eip4844";
|
|
468
|
+
eip7702: "eip7702";
|
|
469
|
+
legacy: "legacy";
|
|
470
|
+
tempo: "tempo";
|
|
471
|
+
unknown: "unknown";
|
|
472
|
+
}>;
|
|
473
|
+
validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
474
|
+
validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
475
|
+
value: z.ZodMiniString<string>;
|
|
477
476
|
meta: z.ZodMiniObject<{
|
|
478
|
-
receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
479
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
480
|
-
blockNumber: z.ZodMiniNumber<number>;
|
|
481
|
-
contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
482
|
-
cumulativeGasUsed: z.ZodMiniNumber<number>;
|
|
483
|
-
effectiveGasPrice: z.ZodMiniString<string>;
|
|
484
|
-
feeAmount: z.ZodMiniObject<{
|
|
485
|
-
baseUnits: z.ZodMiniString<string>;
|
|
486
|
-
currency: z.ZodMiniString<string>;
|
|
487
|
-
decimals: z.ZodMiniNumber<number>;
|
|
488
|
-
formatted: z.ZodMiniString<string>;
|
|
489
|
-
valuation: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
490
|
-
amount: z.ZodMiniString<string>;
|
|
491
|
-
currency: z.ZodMiniString<string>;
|
|
492
|
-
}, z.core.$strip>>>;
|
|
493
|
-
}, z.core.$strip>;
|
|
494
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
495
|
-
feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
496
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
497
|
-
currency: z.ZodMiniString<string>;
|
|
498
|
-
decimals: z.ZodMiniNumber<number>;
|
|
499
|
-
logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
500
|
-
name: z.ZodMiniString<string>;
|
|
501
|
-
symbol: z.ZodMiniString<string>;
|
|
502
|
-
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
503
|
-
}, z.core.$strip>>>;
|
|
504
|
-
gasUsed: z.ZodMiniNumber<number>;
|
|
505
|
-
id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
506
|
-
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
507
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
508
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
509
|
-
blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
510
|
-
blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
511
|
-
data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
512
|
-
logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
513
|
-
removed: z.ZodMiniBoolean<boolean>;
|
|
514
|
-
topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
515
|
-
transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
516
|
-
transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
517
|
-
}, z.core.$loose>>;
|
|
518
|
-
meta: z.ZodMiniObject<{
|
|
519
|
-
valuation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
520
|
-
asOf: z.ZodMiniISODateTime;
|
|
521
|
-
basis: z.ZodMiniLiteral<"nominal">;
|
|
522
|
-
source: z.ZodMiniString<string>;
|
|
523
|
-
}, z.core.$strip>>;
|
|
524
|
-
rpc: z.ZodMiniObject<{
|
|
525
|
-
blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
526
|
-
blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
527
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
528
|
-
blockNumber: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
529
|
-
blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
530
|
-
contractAddress: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
|
|
531
|
-
cumulativeGasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
532
|
-
effectiveGasPrice: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
533
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
|
|
534
|
-
feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
|
|
535
|
-
from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
536
|
-
gasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
537
|
-
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
538
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
539
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
540
|
-
blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
541
|
-
blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
542
|
-
data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
543
|
-
logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
544
|
-
removed: z.ZodMiniBoolean<boolean>;
|
|
545
|
-
topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
546
|
-
transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
547
|
-
transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
548
|
-
}, z.core.$loose>>;
|
|
549
|
-
logsBloom: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
550
|
-
root: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
551
|
-
status: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
552
|
-
to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
553
|
-
transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
554
|
-
transactionIndex: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
555
|
-
type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
556
|
-
}, z.core.$loose>;
|
|
557
|
-
}, z.core.$strip>;
|
|
558
|
-
recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
559
|
-
sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
560
|
-
status: z.ZodMiniEnum<{
|
|
561
|
-
reverted: "reverted";
|
|
562
|
-
success: "success";
|
|
563
|
-
}>;
|
|
564
|
-
timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
565
|
-
transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
566
|
-
transactionIndex: z.ZodMiniNumber<number>;
|
|
567
|
-
type: z.ZodMiniLazy<z.ZodMiniEnum<{
|
|
568
|
-
eip1559: "eip1559";
|
|
569
|
-
eip2930: "eip2930";
|
|
570
|
-
eip4844: "eip4844";
|
|
571
|
-
eip7702: "eip7702";
|
|
572
|
-
legacy: "legacy";
|
|
573
|
-
tempo: "tempo";
|
|
574
|
-
unknown: "unknown";
|
|
575
|
-
}>>;
|
|
576
|
-
}, z.core.$strip>>>;
|
|
577
477
|
rpc: z.ZodMiniObject<{
|
|
578
478
|
aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
|
|
579
479
|
accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -592,6 +492,7 @@ export declare namespace schema {
|
|
|
592
492
|
value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
593
493
|
}, z.core.$loose>>, z.ZodMiniNull]>>;
|
|
594
494
|
chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
495
|
+
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
595
496
|
feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
596
497
|
type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
597
498
|
}, z.core.$loose>>>;
|
|
@@ -622,24 +523,6 @@ export declare namespace schema {
|
|
|
622
523
|
yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
623
524
|
}, z.core.$loose>;
|
|
624
525
|
}, z.core.$strip>;
|
|
625
|
-
nonce: z.ZodMiniNumber<number>;
|
|
626
|
-
nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
627
|
-
recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
628
|
-
sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
629
|
-
timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
630
|
-
transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
631
|
-
type: z.ZodMiniEnum<{
|
|
632
|
-
eip1559: "eip1559";
|
|
633
|
-
eip2930: "eip2930";
|
|
634
|
-
eip4844: "eip4844";
|
|
635
|
-
eip7702: "eip7702";
|
|
636
|
-
legacy: "legacy";
|
|
637
|
-
tempo: "tempo";
|
|
638
|
-
unknown: "unknown";
|
|
639
|
-
}>;
|
|
640
|
-
validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
641
|
-
validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
642
|
-
value: z.ZodMiniString<string>;
|
|
643
526
|
}, z.core.$strip>;
|
|
644
527
|
/**
|
|
645
528
|
* A `log:emitted` event payload: the raw contract event log. When a
|
|
@@ -663,7 +546,7 @@ export declare namespace schema {
|
|
|
663
546
|
transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
664
547
|
transactionIndex: z.ZodMiniNumber<number>;
|
|
665
548
|
}, z.core.$strip>;
|
|
666
|
-
/** Payload for a `block:created` event (
|
|
549
|
+
/** Payload for a `block:created` event (an RPC-derived block header). */
|
|
667
550
|
const BlockEvent: z.ZodMiniObject<{
|
|
668
551
|
number: z.ZodMiniNumber<number>;
|
|
669
552
|
hash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
@@ -752,106 +635,25 @@ export declare namespace schema {
|
|
|
752
635
|
input: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
753
636
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
754
637
|
maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
638
|
+
nonce: z.ZodMiniNumber<number>;
|
|
639
|
+
nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
640
|
+
recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
641
|
+
sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
642
|
+
timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
643
|
+
transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
644
|
+
type: z.ZodMiniEnum<{
|
|
645
|
+
eip1559: "eip1559";
|
|
646
|
+
eip2930: "eip2930";
|
|
647
|
+
eip4844: "eip4844";
|
|
648
|
+
eip7702: "eip7702";
|
|
649
|
+
legacy: "legacy";
|
|
650
|
+
tempo: "tempo";
|
|
651
|
+
unknown: "unknown";
|
|
652
|
+
}>;
|
|
653
|
+
validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
654
|
+
validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
655
|
+
value: z.ZodMiniString<string>;
|
|
755
656
|
meta: z.ZodMiniObject<{
|
|
756
|
-
receipt: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
757
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
758
|
-
blockNumber: z.ZodMiniNumber<number>;
|
|
759
|
-
contractAddress: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
760
|
-
cumulativeGasUsed: z.ZodMiniNumber<number>;
|
|
761
|
-
effectiveGasPrice: z.ZodMiniString<string>;
|
|
762
|
-
feeAmount: z.ZodMiniObject<{
|
|
763
|
-
baseUnits: z.ZodMiniString<string>;
|
|
764
|
-
currency: z.ZodMiniString<string>;
|
|
765
|
-
decimals: z.ZodMiniNumber<number>;
|
|
766
|
-
formatted: z.ZodMiniString<string>;
|
|
767
|
-
valuation: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
768
|
-
amount: z.ZodMiniString<string>;
|
|
769
|
-
currency: z.ZodMiniString<string>;
|
|
770
|
-
}, z.core.$strip>>>;
|
|
771
|
-
}, z.core.$strip>;
|
|
772
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
773
|
-
feeToken: z.ZodMiniOptional<z.ZodMiniLazy<z.ZodMiniObject<{
|
|
774
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
775
|
-
currency: z.ZodMiniString<string>;
|
|
776
|
-
decimals: z.ZodMiniNumber<number>;
|
|
777
|
-
logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
778
|
-
name: z.ZodMiniString<string>;
|
|
779
|
-
symbol: z.ZodMiniString<string>;
|
|
780
|
-
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
781
|
-
}, z.core.$strip>>>;
|
|
782
|
-
gasUsed: z.ZodMiniNumber<number>;
|
|
783
|
-
id: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
784
|
-
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
785
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
786
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
787
|
-
blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
788
|
-
blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
789
|
-
data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
790
|
-
logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
791
|
-
removed: z.ZodMiniBoolean<boolean>;
|
|
792
|
-
topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
793
|
-
transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
794
|
-
transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
795
|
-
}, z.core.$loose>>;
|
|
796
|
-
meta: z.ZodMiniObject<{
|
|
797
|
-
valuation: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
798
|
-
asOf: z.ZodMiniISODateTime;
|
|
799
|
-
basis: z.ZodMiniLiteral<"nominal">;
|
|
800
|
-
source: z.ZodMiniString<string>;
|
|
801
|
-
}, z.core.$strip>>;
|
|
802
|
-
rpc: z.ZodMiniObject<{
|
|
803
|
-
blobGasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
804
|
-
blobGasUsed: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
805
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
806
|
-
blockNumber: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
807
|
-
blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
808
|
-
contractAddress: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
|
|
809
|
-
cumulativeGasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
810
|
-
effectiveGasPrice: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
811
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
|
|
812
|
-
feeToken: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>>;
|
|
813
|
-
from: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
814
|
-
gasUsed: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
815
|
-
logs: z.ZodMiniArray<z.ZodMiniObject<{
|
|
816
|
-
address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
817
|
-
blockHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
818
|
-
blockNumber: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
819
|
-
blockTimestamp: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
820
|
-
data: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
821
|
-
logIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
822
|
-
removed: z.ZodMiniBoolean<boolean>;
|
|
823
|
-
topics: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
824
|
-
transactionHash: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
825
|
-
transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
826
|
-
}, z.core.$loose>>;
|
|
827
|
-
logsBloom: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
828
|
-
root: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
829
|
-
status: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
830
|
-
to: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
831
|
-
transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
832
|
-
transactionIndex: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
833
|
-
type: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>;
|
|
834
|
-
}, z.core.$loose>;
|
|
835
|
-
}, z.core.$strip>;
|
|
836
|
-
recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
837
|
-
sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
838
|
-
status: z.ZodMiniEnum<{
|
|
839
|
-
reverted: "reverted";
|
|
840
|
-
success: "success";
|
|
841
|
-
}>;
|
|
842
|
-
timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
843
|
-
transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
844
|
-
transactionIndex: z.ZodMiniNumber<number>;
|
|
845
|
-
type: z.ZodMiniLazy<z.ZodMiniEnum<{
|
|
846
|
-
eip1559: "eip1559";
|
|
847
|
-
eip2930: "eip2930";
|
|
848
|
-
eip4844: "eip4844";
|
|
849
|
-
eip7702: "eip7702";
|
|
850
|
-
legacy: "legacy";
|
|
851
|
-
tempo: "tempo";
|
|
852
|
-
unknown: "unknown";
|
|
853
|
-
}>>;
|
|
854
|
-
}, z.core.$strip>>>;
|
|
855
657
|
rpc: z.ZodMiniObject<{
|
|
856
658
|
aaAuthorizationList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{}, z.core.$loose>>>;
|
|
857
659
|
accessList: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
@@ -870,6 +672,7 @@ export declare namespace schema {
|
|
|
870
672
|
value: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
871
673
|
}, z.core.$loose>>, z.ZodMiniNull]>>;
|
|
872
674
|
chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
675
|
+
feePayer: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
873
676
|
feePayerSignature: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
874
677
|
type: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
875
678
|
}, z.core.$loose>>>;
|
|
@@ -900,24 +703,6 @@ export declare namespace schema {
|
|
|
900
703
|
yParity: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
901
704
|
}, z.core.$loose>;
|
|
902
705
|
}, z.core.$strip>;
|
|
903
|
-
nonce: z.ZodMiniNumber<number>;
|
|
904
|
-
nonceKey: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<`0x${string}`, string>>>;
|
|
905
|
-
recipient: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
906
|
-
sender: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
907
|
-
timestamp: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
908
|
-
transactionIndex: z.ZodMiniNullable<z.ZodMiniNumber<number>>;
|
|
909
|
-
type: z.ZodMiniEnum<{
|
|
910
|
-
eip1559: "eip1559";
|
|
911
|
-
eip2930: "eip2930";
|
|
912
|
-
eip4844: "eip4844";
|
|
913
|
-
eip7702: "eip7702";
|
|
914
|
-
legacy: "legacy";
|
|
915
|
-
tempo: "tempo";
|
|
916
|
-
unknown: "unknown";
|
|
917
|
-
}>;
|
|
918
|
-
validAfter: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
919
|
-
validBefore: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
920
|
-
value: z.ZodMiniString<string>;
|
|
921
706
|
}, z.core.$strip>;
|
|
922
707
|
type: z.ZodMiniLiteral<"transaction:included">;
|
|
923
708
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
@@ -1095,7 +880,6 @@ export declare namespace schema {
|
|
|
1095
880
|
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1096
881
|
}, z.core.$strict>]>>;
|
|
1097
882
|
includeCalls: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1098
|
-
includeReceipt: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
1099
883
|
value: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1100
884
|
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1101
885
|
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1140,13 +924,6 @@ export declare namespace schema {
|
|
|
1140
924
|
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1141
925
|
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1142
926
|
}, z.core.$strict>]>>;
|
|
1143
|
-
feePayer: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>, z.ZodMiniObject<{
|
|
1144
|
-
eq: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1145
|
-
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1146
|
-
in: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
1147
|
-
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1148
|
-
not: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
|
|
1149
|
-
}, z.core.$strict>]>>;
|
|
1150
927
|
gasLimit: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1151
928
|
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1152
929
|
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1154,13 +931,6 @@ export declare namespace schema {
|
|
|
1154
931
|
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1155
932
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1156
933
|
}, z.core.$strict>]>>;
|
|
1157
|
-
gasUsed: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1158
|
-
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1159
|
-
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1160
|
-
gte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1161
|
-
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1162
|
-
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1163
|
-
}, z.core.$strict>]>>;
|
|
1164
934
|
maxFeePerGas: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniObject<{
|
|
1165
935
|
eq: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1166
936
|
gt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1217,10 +987,6 @@ export declare namespace schema {
|
|
|
1217
987
|
lt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1218
988
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1219
989
|
}, z.core.$strict>]>>;
|
|
1220
|
-
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1221
|
-
reverted: "reverted";
|
|
1222
|
-
success: "success";
|
|
1223
|
-
}>>;
|
|
1224
990
|
}, z.core.$strict>>;
|
|
1225
991
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1226
992
|
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
@@ -1645,9 +1411,14 @@ export declare namespace schema {
|
|
|
1645
1411
|
export declare function webhooks(options?: webhooks.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
1646
1412
|
"/v1/webhooks/event-types": {
|
|
1647
1413
|
$get: {
|
|
1648
|
-
output:
|
|
1649
|
-
|
|
1650
|
-
|
|
1414
|
+
output: {
|
|
1415
|
+
data: {
|
|
1416
|
+
description: string;
|
|
1417
|
+
type: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
1418
|
+
}[];
|
|
1419
|
+
};
|
|
1420
|
+
outputFormat: "json";
|
|
1421
|
+
status: 200;
|
|
1651
1422
|
input: {};
|
|
1652
1423
|
} | {
|
|
1653
1424
|
output: {
|
|
@@ -1673,6 +1444,11 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1673
1444
|
outputFormat: "json";
|
|
1674
1445
|
status: 401;
|
|
1675
1446
|
input: {};
|
|
1447
|
+
} | {
|
|
1448
|
+
output: null;
|
|
1449
|
+
outputFormat: "body";
|
|
1450
|
+
status: 402;
|
|
1451
|
+
input: {};
|
|
1676
1452
|
} | {
|
|
1677
1453
|
output: {
|
|
1678
1454
|
error: {
|
|
@@ -1688,36 +1464,26 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1688
1464
|
} | {
|
|
1689
1465
|
output: {
|
|
1690
1466
|
error: {
|
|
1691
|
-
code: "
|
|
1467
|
+
code: "webhooks_not_enabled";
|
|
1692
1468
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1693
1469
|
message: string;
|
|
1694
1470
|
};
|
|
1695
1471
|
requestId: string;
|
|
1696
1472
|
};
|
|
1697
1473
|
outputFormat: "json";
|
|
1698
|
-
status:
|
|
1474
|
+
status: 404;
|
|
1699
1475
|
input: {};
|
|
1700
1476
|
} | {
|
|
1701
1477
|
output: {
|
|
1702
1478
|
error: {
|
|
1703
|
-
code: "
|
|
1479
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1704
1480
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1705
1481
|
message: string;
|
|
1706
1482
|
};
|
|
1707
1483
|
requestId: string;
|
|
1708
1484
|
};
|
|
1709
1485
|
outputFormat: "json";
|
|
1710
|
-
status:
|
|
1711
|
-
input: {};
|
|
1712
|
-
} | {
|
|
1713
|
-
output: {
|
|
1714
|
-
data: {
|
|
1715
|
-
description: string;
|
|
1716
|
-
type: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
1717
|
-
}[];
|
|
1718
|
-
};
|
|
1719
|
-
outputFormat: "json";
|
|
1720
|
-
status: 200;
|
|
1486
|
+
status: 429;
|
|
1721
1487
|
input: {};
|
|
1722
1488
|
};
|
|
1723
1489
|
};
|
|
@@ -1725,15 +1491,40 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1725
1491
|
"/v1/webhooks": {
|
|
1726
1492
|
$post: {
|
|
1727
1493
|
output: {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1494
|
+
chainId: number;
|
|
1495
|
+
context?: {
|
|
1496
|
+
description?: string | undefined;
|
|
1497
|
+
metadata?: {
|
|
1498
|
+
[x: string]: string;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
title?: string | undefined;
|
|
1501
|
+
} | undefined;
|
|
1502
|
+
createdAt: string;
|
|
1503
|
+
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
1504
|
+
expiresAt?: string | undefined;
|
|
1505
|
+
failureCount: number;
|
|
1506
|
+
filters: {
|
|
1507
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1732
1508
|
};
|
|
1733
|
-
|
|
1509
|
+
id: string;
|
|
1510
|
+
lastDeliveryAt?: string | undefined;
|
|
1511
|
+
status: "active" | "disabled" | "paused";
|
|
1512
|
+
updatedAt: string;
|
|
1513
|
+
destination: {
|
|
1514
|
+
type: "url";
|
|
1515
|
+
url: string;
|
|
1516
|
+
} | {
|
|
1517
|
+
type: "slack";
|
|
1518
|
+
url: string;
|
|
1519
|
+
} | {
|
|
1520
|
+
token: string;
|
|
1521
|
+
type: "betterstack";
|
|
1522
|
+
url: string;
|
|
1523
|
+
};
|
|
1524
|
+
secret: string;
|
|
1734
1525
|
};
|
|
1735
1526
|
outputFormat: "json";
|
|
1736
|
-
status:
|
|
1527
|
+
status: 200;
|
|
1737
1528
|
input: {
|
|
1738
1529
|
json: {
|
|
1739
1530
|
chainId?: unknown;
|
|
@@ -1809,7 +1600,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1809
1600
|
not: `0x${string}`;
|
|
1810
1601
|
} | `0x${string}` | undefined;
|
|
1811
1602
|
includeCalls?: boolean | undefined;
|
|
1812
|
-
includeReceipt?: boolean | undefined;
|
|
1813
1603
|
value?: {
|
|
1814
1604
|
eq?: `0x${string}` | undefined;
|
|
1815
1605
|
gt?: `0x${string}` | undefined;
|
|
@@ -1854,13 +1644,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1854
1644
|
} | {
|
|
1855
1645
|
not: `0x${string}`;
|
|
1856
1646
|
} | `0x${string}` | undefined;
|
|
1857
|
-
feePayer?: {
|
|
1858
|
-
eq: `0x${string}`;
|
|
1859
|
-
} | {
|
|
1860
|
-
in: `0x${string}`[];
|
|
1861
|
-
} | {
|
|
1862
|
-
not: `0x${string}`;
|
|
1863
|
-
} | `0x${string}` | undefined;
|
|
1864
1647
|
gasLimit?: {
|
|
1865
1648
|
eq?: `0x${string}` | undefined;
|
|
1866
1649
|
gt?: `0x${string}` | undefined;
|
|
@@ -1868,13 +1651,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1868
1651
|
lt?: `0x${string}` | undefined;
|
|
1869
1652
|
lte?: `0x${string}` | undefined;
|
|
1870
1653
|
} | `0x${string}` | undefined;
|
|
1871
|
-
gasUsed?: {
|
|
1872
|
-
eq?: `0x${string}` | undefined;
|
|
1873
|
-
gt?: `0x${string}` | undefined;
|
|
1874
|
-
gte?: `0x${string}` | undefined;
|
|
1875
|
-
lt?: `0x${string}` | undefined;
|
|
1876
|
-
lte?: `0x${string}` | undefined;
|
|
1877
|
-
} | `0x${string}` | undefined;
|
|
1878
1654
|
maxFeePerGas?: {
|
|
1879
1655
|
eq?: `0x${string}` | undefined;
|
|
1880
1656
|
gt?: `0x${string}` | undefined;
|
|
@@ -1931,7 +1707,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1931
1707
|
lt?: `0x${string}` | undefined;
|
|
1932
1708
|
lte?: `0x${string}` | undefined;
|
|
1933
1709
|
} | `0x${string}` | undefined;
|
|
1934
|
-
status?: "reverted" | "success" | undefined;
|
|
1935
1710
|
} | undefined;
|
|
1936
1711
|
} | {
|
|
1937
1712
|
chainId?: unknown;
|
|
@@ -2066,14 +1841,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2066
1841
|
} | {
|
|
2067
1842
|
output: {
|
|
2068
1843
|
error: {
|
|
2069
|
-
code: "
|
|
1844
|
+
code: "api_key_malformed";
|
|
2070
1845
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2071
1846
|
message: string;
|
|
2072
1847
|
};
|
|
2073
1848
|
requestId: string;
|
|
2074
1849
|
};
|
|
2075
1850
|
outputFormat: "json";
|
|
2076
|
-
status:
|
|
1851
|
+
status: 400;
|
|
2077
1852
|
input: {
|
|
2078
1853
|
json: {
|
|
2079
1854
|
chainId?: unknown;
|
|
@@ -2149,7 +1924,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2149
1924
|
not: `0x${string}`;
|
|
2150
1925
|
} | `0x${string}` | undefined;
|
|
2151
1926
|
includeCalls?: boolean | undefined;
|
|
2152
|
-
includeReceipt?: boolean | undefined;
|
|
2153
1927
|
value?: {
|
|
2154
1928
|
eq?: `0x${string}` | undefined;
|
|
2155
1929
|
gt?: `0x${string}` | undefined;
|
|
@@ -2194,13 +1968,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2194
1968
|
} | {
|
|
2195
1969
|
not: `0x${string}`;
|
|
2196
1970
|
} | `0x${string}` | undefined;
|
|
2197
|
-
feePayer?: {
|
|
2198
|
-
eq: `0x${string}`;
|
|
2199
|
-
} | {
|
|
2200
|
-
in: `0x${string}`[];
|
|
2201
|
-
} | {
|
|
2202
|
-
not: `0x${string}`;
|
|
2203
|
-
} | `0x${string}` | undefined;
|
|
2204
1971
|
gasLimit?: {
|
|
2205
1972
|
eq?: `0x${string}` | undefined;
|
|
2206
1973
|
gt?: `0x${string}` | undefined;
|
|
@@ -2208,13 +1975,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2208
1975
|
lt?: `0x${string}` | undefined;
|
|
2209
1976
|
lte?: `0x${string}` | undefined;
|
|
2210
1977
|
} | `0x${string}` | undefined;
|
|
2211
|
-
gasUsed?: {
|
|
2212
|
-
eq?: `0x${string}` | undefined;
|
|
2213
|
-
gt?: `0x${string}` | undefined;
|
|
2214
|
-
gte?: `0x${string}` | undefined;
|
|
2215
|
-
lt?: `0x${string}` | undefined;
|
|
2216
|
-
lte?: `0x${string}` | undefined;
|
|
2217
|
-
} | `0x${string}` | undefined;
|
|
2218
1978
|
maxFeePerGas?: {
|
|
2219
1979
|
eq?: `0x${string}` | undefined;
|
|
2220
1980
|
gt?: `0x${string}` | undefined;
|
|
@@ -2271,7 +2031,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2271
2031
|
lt?: `0x${string}` | undefined;
|
|
2272
2032
|
lte?: `0x${string}` | undefined;
|
|
2273
2033
|
} | `0x${string}` | undefined;
|
|
2274
|
-
status?: "reverted" | "success" | undefined;
|
|
2275
2034
|
} | undefined;
|
|
2276
2035
|
} | {
|
|
2277
2036
|
chainId?: unknown;
|
|
@@ -2406,14 +2165,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2406
2165
|
} | {
|
|
2407
2166
|
output: {
|
|
2408
2167
|
error: {
|
|
2409
|
-
code: "
|
|
2168
|
+
code: "body_invalid";
|
|
2410
2169
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2411
2170
|
message: string;
|
|
2412
2171
|
};
|
|
2413
2172
|
requestId: string;
|
|
2414
2173
|
};
|
|
2415
2174
|
outputFormat: "json";
|
|
2416
|
-
status:
|
|
2175
|
+
status: 400;
|
|
2417
2176
|
input: {
|
|
2418
2177
|
json: {
|
|
2419
2178
|
chainId?: unknown;
|
|
@@ -2489,7 +2248,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2489
2248
|
not: `0x${string}`;
|
|
2490
2249
|
} | `0x${string}` | undefined;
|
|
2491
2250
|
includeCalls?: boolean | undefined;
|
|
2492
|
-
includeReceipt?: boolean | undefined;
|
|
2493
2251
|
value?: {
|
|
2494
2252
|
eq?: `0x${string}` | undefined;
|
|
2495
2253
|
gt?: `0x${string}` | undefined;
|
|
@@ -2534,13 +2292,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2534
2292
|
} | {
|
|
2535
2293
|
not: `0x${string}`;
|
|
2536
2294
|
} | `0x${string}` | undefined;
|
|
2537
|
-
feePayer?: {
|
|
2538
|
-
eq: `0x${string}`;
|
|
2539
|
-
} | {
|
|
2540
|
-
in: `0x${string}`[];
|
|
2541
|
-
} | {
|
|
2542
|
-
not: `0x${string}`;
|
|
2543
|
-
} | `0x${string}` | undefined;
|
|
2544
2295
|
gasLimit?: {
|
|
2545
2296
|
eq?: `0x${string}` | undefined;
|
|
2546
2297
|
gt?: `0x${string}` | undefined;
|
|
@@ -2548,13 +2299,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2548
2299
|
lt?: `0x${string}` | undefined;
|
|
2549
2300
|
lte?: `0x${string}` | undefined;
|
|
2550
2301
|
} | `0x${string}` | undefined;
|
|
2551
|
-
gasUsed?: {
|
|
2552
|
-
eq?: `0x${string}` | undefined;
|
|
2553
|
-
gt?: `0x${string}` | undefined;
|
|
2554
|
-
gte?: `0x${string}` | undefined;
|
|
2555
|
-
lt?: `0x${string}` | undefined;
|
|
2556
|
-
lte?: `0x${string}` | undefined;
|
|
2557
|
-
} | `0x${string}` | undefined;
|
|
2558
2302
|
maxFeePerGas?: {
|
|
2559
2303
|
eq?: `0x${string}` | undefined;
|
|
2560
2304
|
gt?: `0x${string}` | undefined;
|
|
@@ -2611,7 +2355,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2611
2355
|
lt?: `0x${string}` | undefined;
|
|
2612
2356
|
lte?: `0x${string}` | undefined;
|
|
2613
2357
|
} | `0x${string}` | undefined;
|
|
2614
|
-
status?: "reverted" | "success" | undefined;
|
|
2615
2358
|
} | undefined;
|
|
2616
2359
|
} | {
|
|
2617
2360
|
chainId?: unknown;
|
|
@@ -2746,14 +2489,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2746
2489
|
} | {
|
|
2747
2490
|
output: {
|
|
2748
2491
|
error: {
|
|
2749
|
-
code: "
|
|
2492
|
+
code: "chain_id_unsupported";
|
|
2750
2493
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2751
2494
|
message: string;
|
|
2752
2495
|
};
|
|
2753
2496
|
requestId: string;
|
|
2754
2497
|
};
|
|
2755
2498
|
outputFormat: "json";
|
|
2756
|
-
status:
|
|
2499
|
+
status: 400;
|
|
2757
2500
|
input: {
|
|
2758
2501
|
json: {
|
|
2759
2502
|
chainId?: unknown;
|
|
@@ -2829,7 +2572,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2829
2572
|
not: `0x${string}`;
|
|
2830
2573
|
} | `0x${string}` | undefined;
|
|
2831
2574
|
includeCalls?: boolean | undefined;
|
|
2832
|
-
includeReceipt?: boolean | undefined;
|
|
2833
2575
|
value?: {
|
|
2834
2576
|
eq?: `0x${string}` | undefined;
|
|
2835
2577
|
gt?: `0x${string}` | undefined;
|
|
@@ -2874,13 +2616,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2874
2616
|
} | {
|
|
2875
2617
|
not: `0x${string}`;
|
|
2876
2618
|
} | `0x${string}` | undefined;
|
|
2877
|
-
feePayer?: {
|
|
2878
|
-
eq: `0x${string}`;
|
|
2879
|
-
} | {
|
|
2880
|
-
in: `0x${string}`[];
|
|
2881
|
-
} | {
|
|
2882
|
-
not: `0x${string}`;
|
|
2883
|
-
} | `0x${string}` | undefined;
|
|
2884
2619
|
gasLimit?: {
|
|
2885
2620
|
eq?: `0x${string}` | undefined;
|
|
2886
2621
|
gt?: `0x${string}` | undefined;
|
|
@@ -2888,13 +2623,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2888
2623
|
lt?: `0x${string}` | undefined;
|
|
2889
2624
|
lte?: `0x${string}` | undefined;
|
|
2890
2625
|
} | `0x${string}` | undefined;
|
|
2891
|
-
gasUsed?: {
|
|
2892
|
-
eq?: `0x${string}` | undefined;
|
|
2893
|
-
gt?: `0x${string}` | undefined;
|
|
2894
|
-
gte?: `0x${string}` | undefined;
|
|
2895
|
-
lt?: `0x${string}` | undefined;
|
|
2896
|
-
lte?: `0x${string}` | undefined;
|
|
2897
|
-
} | `0x${string}` | undefined;
|
|
2898
2626
|
maxFeePerGas?: {
|
|
2899
2627
|
eq?: `0x${string}` | undefined;
|
|
2900
2628
|
gt?: `0x${string}` | undefined;
|
|
@@ -2951,7 +2679,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2951
2679
|
lt?: `0x${string}` | undefined;
|
|
2952
2680
|
lte?: `0x${string}` | undefined;
|
|
2953
2681
|
} | `0x${string}` | undefined;
|
|
2954
|
-
status?: "reverted" | "success" | undefined;
|
|
2955
2682
|
} | undefined;
|
|
2956
2683
|
} | {
|
|
2957
2684
|
chainId?: unknown;
|
|
@@ -3086,14 +2813,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3086
2813
|
} | {
|
|
3087
2814
|
output: {
|
|
3088
2815
|
error: {
|
|
3089
|
-
code: "
|
|
2816
|
+
code: "url_invalid";
|
|
3090
2817
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3091
2818
|
message: string;
|
|
3092
2819
|
};
|
|
3093
2820
|
requestId: string;
|
|
3094
2821
|
};
|
|
3095
2822
|
outputFormat: "json";
|
|
3096
|
-
status:
|
|
2823
|
+
status: 400;
|
|
3097
2824
|
input: {
|
|
3098
2825
|
json: {
|
|
3099
2826
|
chainId?: unknown;
|
|
@@ -3169,7 +2896,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3169
2896
|
not: `0x${string}`;
|
|
3170
2897
|
} | `0x${string}` | undefined;
|
|
3171
2898
|
includeCalls?: boolean | undefined;
|
|
3172
|
-
includeReceipt?: boolean | undefined;
|
|
3173
2899
|
value?: {
|
|
3174
2900
|
eq?: `0x${string}` | undefined;
|
|
3175
2901
|
gt?: `0x${string}` | undefined;
|
|
@@ -3214,13 +2940,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3214
2940
|
} | {
|
|
3215
2941
|
not: `0x${string}`;
|
|
3216
2942
|
} | `0x${string}` | undefined;
|
|
3217
|
-
feePayer?: {
|
|
3218
|
-
eq: `0x${string}`;
|
|
3219
|
-
} | {
|
|
3220
|
-
in: `0x${string}`[];
|
|
3221
|
-
} | {
|
|
3222
|
-
not: `0x${string}`;
|
|
3223
|
-
} | `0x${string}` | undefined;
|
|
3224
2943
|
gasLimit?: {
|
|
3225
2944
|
eq?: `0x${string}` | undefined;
|
|
3226
2945
|
gt?: `0x${string}` | undefined;
|
|
@@ -3228,13 +2947,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3228
2947
|
lt?: `0x${string}` | undefined;
|
|
3229
2948
|
lte?: `0x${string}` | undefined;
|
|
3230
2949
|
} | `0x${string}` | undefined;
|
|
3231
|
-
gasUsed?: {
|
|
3232
|
-
eq?: `0x${string}` | undefined;
|
|
3233
|
-
gt?: `0x${string}` | undefined;
|
|
3234
|
-
gte?: `0x${string}` | undefined;
|
|
3235
|
-
lt?: `0x${string}` | undefined;
|
|
3236
|
-
lte?: `0x${string}` | undefined;
|
|
3237
|
-
} | `0x${string}` | undefined;
|
|
3238
2950
|
maxFeePerGas?: {
|
|
3239
2951
|
eq?: `0x${string}` | undefined;
|
|
3240
2952
|
gt?: `0x${string}` | undefined;
|
|
@@ -3291,7 +3003,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3291
3003
|
lt?: `0x${string}` | undefined;
|
|
3292
3004
|
lte?: `0x${string}` | undefined;
|
|
3293
3005
|
} | `0x${string}` | undefined;
|
|
3294
|
-
status?: "reverted" | "success" | undefined;
|
|
3295
3006
|
} | undefined;
|
|
3296
3007
|
} | {
|
|
3297
3008
|
chainId?: unknown;
|
|
@@ -3426,14 +3137,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3426
3137
|
} | {
|
|
3427
3138
|
output: {
|
|
3428
3139
|
error: {
|
|
3429
|
-
code: "
|
|
3140
|
+
code: "filters_invalid";
|
|
3430
3141
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3431
3142
|
message: string;
|
|
3432
3143
|
};
|
|
3433
3144
|
requestId: string;
|
|
3434
3145
|
};
|
|
3435
3146
|
outputFormat: "json";
|
|
3436
|
-
status:
|
|
3147
|
+
status: 400;
|
|
3437
3148
|
input: {
|
|
3438
3149
|
json: {
|
|
3439
3150
|
chainId?: unknown;
|
|
@@ -3509,7 +3220,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3509
3220
|
not: `0x${string}`;
|
|
3510
3221
|
} | `0x${string}` | undefined;
|
|
3511
3222
|
includeCalls?: boolean | undefined;
|
|
3512
|
-
includeReceipt?: boolean | undefined;
|
|
3513
3223
|
value?: {
|
|
3514
3224
|
eq?: `0x${string}` | undefined;
|
|
3515
3225
|
gt?: `0x${string}` | undefined;
|
|
@@ -3554,13 +3264,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3554
3264
|
} | {
|
|
3555
3265
|
not: `0x${string}`;
|
|
3556
3266
|
} | `0x${string}` | undefined;
|
|
3557
|
-
feePayer?: {
|
|
3558
|
-
eq: `0x${string}`;
|
|
3559
|
-
} | {
|
|
3560
|
-
in: `0x${string}`[];
|
|
3561
|
-
} | {
|
|
3562
|
-
not: `0x${string}`;
|
|
3563
|
-
} | `0x${string}` | undefined;
|
|
3564
3267
|
gasLimit?: {
|
|
3565
3268
|
eq?: `0x${string}` | undefined;
|
|
3566
3269
|
gt?: `0x${string}` | undefined;
|
|
@@ -3568,13 +3271,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3568
3271
|
lt?: `0x${string}` | undefined;
|
|
3569
3272
|
lte?: `0x${string}` | undefined;
|
|
3570
3273
|
} | `0x${string}` | undefined;
|
|
3571
|
-
gasUsed?: {
|
|
3572
|
-
eq?: `0x${string}` | undefined;
|
|
3573
|
-
gt?: `0x${string}` | undefined;
|
|
3574
|
-
gte?: `0x${string}` | undefined;
|
|
3575
|
-
lt?: `0x${string}` | undefined;
|
|
3576
|
-
lte?: `0x${string}` | undefined;
|
|
3577
|
-
} | `0x${string}` | undefined;
|
|
3578
3274
|
maxFeePerGas?: {
|
|
3579
3275
|
eq?: `0x${string}` | undefined;
|
|
3580
3276
|
gt?: `0x${string}` | undefined;
|
|
@@ -3631,7 +3327,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3631
3327
|
lt?: `0x${string}` | undefined;
|
|
3632
3328
|
lte?: `0x${string}` | undefined;
|
|
3633
3329
|
} | `0x${string}` | undefined;
|
|
3634
|
-
status?: "reverted" | "success" | undefined;
|
|
3635
3330
|
} | undefined;
|
|
3636
3331
|
} | {
|
|
3637
3332
|
chainId?: unknown;
|
|
@@ -3766,14 +3461,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3766
3461
|
} | {
|
|
3767
3462
|
output: {
|
|
3768
3463
|
error: {
|
|
3769
|
-
code: "
|
|
3464
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3770
3465
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3771
3466
|
message: string;
|
|
3772
3467
|
};
|
|
3773
3468
|
requestId: string;
|
|
3774
3469
|
};
|
|
3775
3470
|
outputFormat: "json";
|
|
3776
|
-
status:
|
|
3471
|
+
status: 401;
|
|
3777
3472
|
input: {
|
|
3778
3473
|
json: {
|
|
3779
3474
|
chainId?: unknown;
|
|
@@ -3849,7 +3544,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3849
3544
|
not: `0x${string}`;
|
|
3850
3545
|
} | `0x${string}` | undefined;
|
|
3851
3546
|
includeCalls?: boolean | undefined;
|
|
3852
|
-
includeReceipt?: boolean | undefined;
|
|
3853
3547
|
value?: {
|
|
3854
3548
|
eq?: `0x${string}` | undefined;
|
|
3855
3549
|
gt?: `0x${string}` | undefined;
|
|
@@ -3894,13 +3588,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3894
3588
|
} | {
|
|
3895
3589
|
not: `0x${string}`;
|
|
3896
3590
|
} | `0x${string}` | undefined;
|
|
3897
|
-
feePayer?: {
|
|
3898
|
-
eq: `0x${string}`;
|
|
3899
|
-
} | {
|
|
3900
|
-
in: `0x${string}`[];
|
|
3901
|
-
} | {
|
|
3902
|
-
not: `0x${string}`;
|
|
3903
|
-
} | `0x${string}` | undefined;
|
|
3904
3591
|
gasLimit?: {
|
|
3905
3592
|
eq?: `0x${string}` | undefined;
|
|
3906
3593
|
gt?: `0x${string}` | undefined;
|
|
@@ -3908,13 +3595,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3908
3595
|
lt?: `0x${string}` | undefined;
|
|
3909
3596
|
lte?: `0x${string}` | undefined;
|
|
3910
3597
|
} | `0x${string}` | undefined;
|
|
3911
|
-
gasUsed?: {
|
|
3912
|
-
eq?: `0x${string}` | undefined;
|
|
3913
|
-
gt?: `0x${string}` | undefined;
|
|
3914
|
-
gte?: `0x${string}` | undefined;
|
|
3915
|
-
lt?: `0x${string}` | undefined;
|
|
3916
|
-
lte?: `0x${string}` | undefined;
|
|
3917
|
-
} | `0x${string}` | undefined;
|
|
3918
3598
|
maxFeePerGas?: {
|
|
3919
3599
|
eq?: `0x${string}` | undefined;
|
|
3920
3600
|
gt?: `0x${string}` | undefined;
|
|
@@ -3971,7 +3651,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3971
3651
|
lt?: `0x${string}` | undefined;
|
|
3972
3652
|
lte?: `0x${string}` | undefined;
|
|
3973
3653
|
} | `0x${string}` | undefined;
|
|
3974
|
-
status?: "reverted" | "success" | undefined;
|
|
3975
3654
|
} | undefined;
|
|
3976
3655
|
} | {
|
|
3977
3656
|
chainId?: unknown;
|
|
@@ -4189,7 +3868,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4189
3868
|
not: `0x${string}`;
|
|
4190
3869
|
} | `0x${string}` | undefined;
|
|
4191
3870
|
includeCalls?: boolean | undefined;
|
|
4192
|
-
includeReceipt?: boolean | undefined;
|
|
4193
3871
|
value?: {
|
|
4194
3872
|
eq?: `0x${string}` | undefined;
|
|
4195
3873
|
gt?: `0x${string}` | undefined;
|
|
@@ -4234,13 +3912,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4234
3912
|
} | {
|
|
4235
3913
|
not: `0x${string}`;
|
|
4236
3914
|
} | `0x${string}` | undefined;
|
|
4237
|
-
feePayer?: {
|
|
4238
|
-
eq: `0x${string}`;
|
|
4239
|
-
} | {
|
|
4240
|
-
in: `0x${string}`[];
|
|
4241
|
-
} | {
|
|
4242
|
-
not: `0x${string}`;
|
|
4243
|
-
} | `0x${string}` | undefined;
|
|
4244
3915
|
gasLimit?: {
|
|
4245
3916
|
eq?: `0x${string}` | undefined;
|
|
4246
3917
|
gt?: `0x${string}` | undefined;
|
|
@@ -4248,13 +3919,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4248
3919
|
lt?: `0x${string}` | undefined;
|
|
4249
3920
|
lte?: `0x${string}` | undefined;
|
|
4250
3921
|
} | `0x${string}` | undefined;
|
|
4251
|
-
gasUsed?: {
|
|
4252
|
-
eq?: `0x${string}` | undefined;
|
|
4253
|
-
gt?: `0x${string}` | undefined;
|
|
4254
|
-
gte?: `0x${string}` | undefined;
|
|
4255
|
-
lt?: `0x${string}` | undefined;
|
|
4256
|
-
lte?: `0x${string}` | undefined;
|
|
4257
|
-
} | `0x${string}` | undefined;
|
|
4258
3922
|
maxFeePerGas?: {
|
|
4259
3923
|
eq?: `0x${string}` | undefined;
|
|
4260
3924
|
gt?: `0x${string}` | undefined;
|
|
@@ -4311,7 +3975,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4311
3975
|
lt?: `0x${string}` | undefined;
|
|
4312
3976
|
lte?: `0x${string}` | undefined;
|
|
4313
3977
|
} | `0x${string}` | undefined;
|
|
4314
|
-
status?: "reverted" | "success" | undefined;
|
|
4315
3978
|
} | undefined;
|
|
4316
3979
|
} | {
|
|
4317
3980
|
chainId?: unknown;
|
|
@@ -4446,14 +4109,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4446
4109
|
} | {
|
|
4447
4110
|
output: {
|
|
4448
4111
|
error: {
|
|
4449
|
-
code: "
|
|
4112
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
4450
4113
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4451
4114
|
message: string;
|
|
4452
4115
|
};
|
|
4453
4116
|
requestId: string;
|
|
4454
4117
|
};
|
|
4455
4118
|
outputFormat: "json";
|
|
4456
|
-
status:
|
|
4119
|
+
status: 403;
|
|
4457
4120
|
input: {
|
|
4458
4121
|
json: {
|
|
4459
4122
|
chainId?: unknown;
|
|
@@ -4529,7 +4192,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4529
4192
|
not: `0x${string}`;
|
|
4530
4193
|
} | `0x${string}` | undefined;
|
|
4531
4194
|
includeCalls?: boolean | undefined;
|
|
4532
|
-
includeReceipt?: boolean | undefined;
|
|
4533
4195
|
value?: {
|
|
4534
4196
|
eq?: `0x${string}` | undefined;
|
|
4535
4197
|
gt?: `0x${string}` | undefined;
|
|
@@ -4574,13 +4236,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4574
4236
|
} | {
|
|
4575
4237
|
not: `0x${string}`;
|
|
4576
4238
|
} | `0x${string}` | undefined;
|
|
4577
|
-
feePayer?: {
|
|
4578
|
-
eq: `0x${string}`;
|
|
4579
|
-
} | {
|
|
4580
|
-
in: `0x${string}`[];
|
|
4581
|
-
} | {
|
|
4582
|
-
not: `0x${string}`;
|
|
4583
|
-
} | `0x${string}` | undefined;
|
|
4584
4239
|
gasLimit?: {
|
|
4585
4240
|
eq?: `0x${string}` | undefined;
|
|
4586
4241
|
gt?: `0x${string}` | undefined;
|
|
@@ -4588,13 +4243,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4588
4243
|
lt?: `0x${string}` | undefined;
|
|
4589
4244
|
lte?: `0x${string}` | undefined;
|
|
4590
4245
|
} | `0x${string}` | undefined;
|
|
4591
|
-
gasUsed?: {
|
|
4592
|
-
eq?: `0x${string}` | undefined;
|
|
4593
|
-
gt?: `0x${string}` | undefined;
|
|
4594
|
-
gte?: `0x${string}` | undefined;
|
|
4595
|
-
lt?: `0x${string}` | undefined;
|
|
4596
|
-
lte?: `0x${string}` | undefined;
|
|
4597
|
-
} | `0x${string}` | undefined;
|
|
4598
4246
|
maxFeePerGas?: {
|
|
4599
4247
|
eq?: `0x${string}` | undefined;
|
|
4600
4248
|
gt?: `0x${string}` | undefined;
|
|
@@ -4651,7 +4299,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4651
4299
|
lt?: `0x${string}` | undefined;
|
|
4652
4300
|
lte?: `0x${string}` | undefined;
|
|
4653
4301
|
} | `0x${string}` | undefined;
|
|
4654
|
-
status?: "reverted" | "success" | undefined;
|
|
4655
4302
|
} | undefined;
|
|
4656
4303
|
} | {
|
|
4657
4304
|
chainId?: unknown;
|
|
@@ -4785,40 +4432,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4785
4432
|
};
|
|
4786
4433
|
} | {
|
|
4787
4434
|
output: {
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
[x: string]: string;
|
|
4793
|
-
} | undefined;
|
|
4794
|
-
title?: string | undefined;
|
|
4795
|
-
} | undefined;
|
|
4796
|
-
createdAt: string;
|
|
4797
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4798
|
-
expiresAt?: string | undefined;
|
|
4799
|
-
failureCount: number;
|
|
4800
|
-
filters: {
|
|
4801
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
4802
|
-
};
|
|
4803
|
-
id: string;
|
|
4804
|
-
lastDeliveryAt?: string | undefined;
|
|
4805
|
-
status: "active" | "disabled" | "paused";
|
|
4806
|
-
updatedAt: string;
|
|
4807
|
-
destination: {
|
|
4808
|
-
type: "url";
|
|
4809
|
-
url: string;
|
|
4810
|
-
} | {
|
|
4811
|
-
type: "slack";
|
|
4812
|
-
url: string;
|
|
4813
|
-
} | {
|
|
4814
|
-
token: string;
|
|
4815
|
-
type: "betterstack";
|
|
4816
|
-
url: string;
|
|
4435
|
+
error: {
|
|
4436
|
+
code: "limit_exceeded";
|
|
4437
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
4438
|
+
message: string;
|
|
4817
4439
|
};
|
|
4818
|
-
|
|
4440
|
+
requestId: string;
|
|
4819
4441
|
};
|
|
4820
4442
|
outputFormat: "json";
|
|
4821
|
-
status:
|
|
4443
|
+
status: 403;
|
|
4822
4444
|
input: {
|
|
4823
4445
|
json: {
|
|
4824
4446
|
chainId?: unknown;
|
|
@@ -4894,7 +4516,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4894
4516
|
not: `0x${string}`;
|
|
4895
4517
|
} | `0x${string}` | undefined;
|
|
4896
4518
|
includeCalls?: boolean | undefined;
|
|
4897
|
-
includeReceipt?: boolean | undefined;
|
|
4898
4519
|
value?: {
|
|
4899
4520
|
eq?: `0x${string}` | undefined;
|
|
4900
4521
|
gt?: `0x${string}` | undefined;
|
|
@@ -4939,13 +4560,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4939
4560
|
} | {
|
|
4940
4561
|
not: `0x${string}`;
|
|
4941
4562
|
} | `0x${string}` | undefined;
|
|
4942
|
-
feePayer?: {
|
|
4943
|
-
eq: `0x${string}`;
|
|
4944
|
-
} | {
|
|
4945
|
-
in: `0x${string}`[];
|
|
4946
|
-
} | {
|
|
4947
|
-
not: `0x${string}`;
|
|
4948
|
-
} | `0x${string}` | undefined;
|
|
4949
4563
|
gasLimit?: {
|
|
4950
4564
|
eq?: `0x${string}` | undefined;
|
|
4951
4565
|
gt?: `0x${string}` | undefined;
|
|
@@ -4953,13 +4567,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4953
4567
|
lt?: `0x${string}` | undefined;
|
|
4954
4568
|
lte?: `0x${string}` | undefined;
|
|
4955
4569
|
} | `0x${string}` | undefined;
|
|
4956
|
-
gasUsed?: {
|
|
4957
|
-
eq?: `0x${string}` | undefined;
|
|
4958
|
-
gt?: `0x${string}` | undefined;
|
|
4959
|
-
gte?: `0x${string}` | undefined;
|
|
4960
|
-
lt?: `0x${string}` | undefined;
|
|
4961
|
-
lte?: `0x${string}` | undefined;
|
|
4962
|
-
} | `0x${string}` | undefined;
|
|
4963
4570
|
maxFeePerGas?: {
|
|
4964
4571
|
eq?: `0x${string}` | undefined;
|
|
4965
4572
|
gt?: `0x${string}` | undefined;
|
|
@@ -5016,7 +4623,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5016
4623
|
lt?: `0x${string}` | undefined;
|
|
5017
4624
|
lte?: `0x${string}` | undefined;
|
|
5018
4625
|
} | `0x${string}` | undefined;
|
|
5019
|
-
status?: "reverted" | "success" | undefined;
|
|
5020
4626
|
} | undefined;
|
|
5021
4627
|
} | {
|
|
5022
4628
|
chainId?: unknown;
|
|
@@ -5151,14 +4757,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5151
4757
|
} | {
|
|
5152
4758
|
output: {
|
|
5153
4759
|
error: {
|
|
5154
|
-
code: "
|
|
4760
|
+
code: "webhooks_not_enabled";
|
|
5155
4761
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5156
4762
|
message: string;
|
|
5157
4763
|
};
|
|
5158
4764
|
requestId: string;
|
|
5159
4765
|
};
|
|
5160
4766
|
outputFormat: "json";
|
|
5161
|
-
status:
|
|
4767
|
+
status: 404;
|
|
5162
4768
|
input: {
|
|
5163
4769
|
json: {
|
|
5164
4770
|
chainId?: unknown;
|
|
@@ -5234,7 +4840,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5234
4840
|
not: `0x${string}`;
|
|
5235
4841
|
} | `0x${string}` | undefined;
|
|
5236
4842
|
includeCalls?: boolean | undefined;
|
|
5237
|
-
includeReceipt?: boolean | undefined;
|
|
5238
4843
|
value?: {
|
|
5239
4844
|
eq?: `0x${string}` | undefined;
|
|
5240
4845
|
gt?: `0x${string}` | undefined;
|
|
@@ -5279,13 +4884,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5279
4884
|
} | {
|
|
5280
4885
|
not: `0x${string}`;
|
|
5281
4886
|
} | `0x${string}` | undefined;
|
|
5282
|
-
feePayer?: {
|
|
5283
|
-
eq: `0x${string}`;
|
|
5284
|
-
} | {
|
|
5285
|
-
in: `0x${string}`[];
|
|
5286
|
-
} | {
|
|
5287
|
-
not: `0x${string}`;
|
|
5288
|
-
} | `0x${string}` | undefined;
|
|
5289
4887
|
gasLimit?: {
|
|
5290
4888
|
eq?: `0x${string}` | undefined;
|
|
5291
4889
|
gt?: `0x${string}` | undefined;
|
|
@@ -5293,13 +4891,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5293
4891
|
lt?: `0x${string}` | undefined;
|
|
5294
4892
|
lte?: `0x${string}` | undefined;
|
|
5295
4893
|
} | `0x${string}` | undefined;
|
|
5296
|
-
gasUsed?: {
|
|
5297
|
-
eq?: `0x${string}` | undefined;
|
|
5298
|
-
gt?: `0x${string}` | undefined;
|
|
5299
|
-
gte?: `0x${string}` | undefined;
|
|
5300
|
-
lt?: `0x${string}` | undefined;
|
|
5301
|
-
lte?: `0x${string}` | undefined;
|
|
5302
|
-
} | `0x${string}` | undefined;
|
|
5303
4894
|
maxFeePerGas?: {
|
|
5304
4895
|
eq?: `0x${string}` | undefined;
|
|
5305
4896
|
gt?: `0x${string}` | undefined;
|
|
@@ -5356,7 +4947,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5356
4947
|
lt?: `0x${string}` | undefined;
|
|
5357
4948
|
lte?: `0x${string}` | undefined;
|
|
5358
4949
|
} | `0x${string}` | undefined;
|
|
5359
|
-
status?: "reverted" | "success" | undefined;
|
|
5360
4950
|
} | undefined;
|
|
5361
4951
|
} | {
|
|
5362
4952
|
chainId?: unknown;
|
|
@@ -5491,14 +5081,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5491
5081
|
} | {
|
|
5492
5082
|
output: {
|
|
5493
5083
|
error: {
|
|
5494
|
-
code: "
|
|
5084
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
5495
5085
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5496
5086
|
message: string;
|
|
5497
5087
|
};
|
|
5498
5088
|
requestId: string;
|
|
5499
5089
|
};
|
|
5500
5090
|
outputFormat: "json";
|
|
5501
|
-
status:
|
|
5091
|
+
status: 429;
|
|
5502
5092
|
input: {
|
|
5503
5093
|
json: {
|
|
5504
5094
|
chainId?: unknown;
|
|
@@ -5574,7 +5164,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5574
5164
|
not: `0x${string}`;
|
|
5575
5165
|
} | `0x${string}` | undefined;
|
|
5576
5166
|
includeCalls?: boolean | undefined;
|
|
5577
|
-
includeReceipt?: boolean | undefined;
|
|
5578
5167
|
value?: {
|
|
5579
5168
|
eq?: `0x${string}` | undefined;
|
|
5580
5169
|
gt?: `0x${string}` | undefined;
|
|
@@ -5619,13 +5208,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5619
5208
|
} | {
|
|
5620
5209
|
not: `0x${string}`;
|
|
5621
5210
|
} | `0x${string}` | undefined;
|
|
5622
|
-
feePayer?: {
|
|
5623
|
-
eq: `0x${string}`;
|
|
5624
|
-
} | {
|
|
5625
|
-
in: `0x${string}`[];
|
|
5626
|
-
} | {
|
|
5627
|
-
not: `0x${string}`;
|
|
5628
|
-
} | `0x${string}` | undefined;
|
|
5629
5211
|
gasLimit?: {
|
|
5630
5212
|
eq?: `0x${string}` | undefined;
|
|
5631
5213
|
gt?: `0x${string}` | undefined;
|
|
@@ -5633,13 +5215,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5633
5215
|
lt?: `0x${string}` | undefined;
|
|
5634
5216
|
lte?: `0x${string}` | undefined;
|
|
5635
5217
|
} | `0x${string}` | undefined;
|
|
5636
|
-
gasUsed?: {
|
|
5637
|
-
eq?: `0x${string}` | undefined;
|
|
5638
|
-
gt?: `0x${string}` | undefined;
|
|
5639
|
-
gte?: `0x${string}` | undefined;
|
|
5640
|
-
lt?: `0x${string}` | undefined;
|
|
5641
|
-
lte?: `0x${string}` | undefined;
|
|
5642
|
-
} | `0x${string}` | undefined;
|
|
5643
5218
|
maxFeePerGas?: {
|
|
5644
5219
|
eq?: `0x${string}` | undefined;
|
|
5645
5220
|
gt?: `0x${string}` | undefined;
|
|
@@ -5696,7 +5271,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5696
5271
|
lt?: `0x${string}` | undefined;
|
|
5697
5272
|
lte?: `0x${string}` | undefined;
|
|
5698
5273
|
} | `0x${string}` | undefined;
|
|
5699
|
-
status?: "reverted" | "success" | undefined;
|
|
5700
5274
|
} | undefined;
|
|
5701
5275
|
} | {
|
|
5702
5276
|
chainId?: unknown;
|
|
@@ -5831,14 +5405,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5831
5405
|
} | {
|
|
5832
5406
|
output: {
|
|
5833
5407
|
error: {
|
|
5834
|
-
code: "
|
|
5408
|
+
code: "upstream_error";
|
|
5835
5409
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5836
5410
|
message: string;
|
|
5837
5411
|
};
|
|
5838
5412
|
requestId: string;
|
|
5839
5413
|
};
|
|
5840
5414
|
outputFormat: "json";
|
|
5841
|
-
status:
|
|
5415
|
+
status: 502;
|
|
5842
5416
|
input: {
|
|
5843
5417
|
json: {
|
|
5844
5418
|
chainId?: unknown;
|
|
@@ -5914,7 +5488,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5914
5488
|
not: `0x${string}`;
|
|
5915
5489
|
} | `0x${string}` | undefined;
|
|
5916
5490
|
includeCalls?: boolean | undefined;
|
|
5917
|
-
includeReceipt?: boolean | undefined;
|
|
5918
5491
|
value?: {
|
|
5919
5492
|
eq?: `0x${string}` | undefined;
|
|
5920
5493
|
gt?: `0x${string}` | undefined;
|
|
@@ -5959,13 +5532,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5959
5532
|
} | {
|
|
5960
5533
|
not: `0x${string}`;
|
|
5961
5534
|
} | `0x${string}` | undefined;
|
|
5962
|
-
feePayer?: {
|
|
5963
|
-
eq: `0x${string}`;
|
|
5964
|
-
} | {
|
|
5965
|
-
in: `0x${string}`[];
|
|
5966
|
-
} | {
|
|
5967
|
-
not: `0x${string}`;
|
|
5968
|
-
} | `0x${string}` | undefined;
|
|
5969
5535
|
gasLimit?: {
|
|
5970
5536
|
eq?: `0x${string}` | undefined;
|
|
5971
5537
|
gt?: `0x${string}` | undefined;
|
|
@@ -5973,13 +5539,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5973
5539
|
lt?: `0x${string}` | undefined;
|
|
5974
5540
|
lte?: `0x${string}` | undefined;
|
|
5975
5541
|
} | `0x${string}` | undefined;
|
|
5976
|
-
gasUsed?: {
|
|
5977
|
-
eq?: `0x${string}` | undefined;
|
|
5978
|
-
gt?: `0x${string}` | undefined;
|
|
5979
|
-
gte?: `0x${string}` | undefined;
|
|
5980
|
-
lt?: `0x${string}` | undefined;
|
|
5981
|
-
lte?: `0x${string}` | undefined;
|
|
5982
|
-
} | `0x${string}` | undefined;
|
|
5983
5542
|
maxFeePerGas?: {
|
|
5984
5543
|
eq?: `0x${string}` | undefined;
|
|
5985
5544
|
gt?: `0x${string}` | undefined;
|
|
@@ -6036,7 +5595,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6036
5595
|
lt?: `0x${string}` | undefined;
|
|
6037
5596
|
lte?: `0x${string}` | undefined;
|
|
6038
5597
|
} | `0x${string}` | undefined;
|
|
6039
|
-
status?: "reverted" | "success" | undefined;
|
|
6040
5598
|
} | undefined;
|
|
6041
5599
|
} | {
|
|
6042
5600
|
chainId?: unknown;
|
|
@@ -6173,6 +5731,56 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6173
5731
|
} & {
|
|
6174
5732
|
"/v1/webhooks": {
|
|
6175
5733
|
$get: {
|
|
5734
|
+
output: {
|
|
5735
|
+
data: {
|
|
5736
|
+
chainId: number;
|
|
5737
|
+
context?: {
|
|
5738
|
+
description?: string | undefined;
|
|
5739
|
+
metadata?: {
|
|
5740
|
+
[x: string]: string;
|
|
5741
|
+
} | undefined;
|
|
5742
|
+
title?: string | undefined;
|
|
5743
|
+
} | undefined;
|
|
5744
|
+
createdAt: string;
|
|
5745
|
+
destination: {
|
|
5746
|
+
type: "url";
|
|
5747
|
+
url: string;
|
|
5748
|
+
} | {
|
|
5749
|
+
type: "slack";
|
|
5750
|
+
url: "https://hooks.slack.com/…";
|
|
5751
|
+
} | {
|
|
5752
|
+
token: "[redacted]";
|
|
5753
|
+
type: "betterstack";
|
|
5754
|
+
url: string;
|
|
5755
|
+
};
|
|
5756
|
+
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5757
|
+
expiresAt?: string | undefined;
|
|
5758
|
+
failureCount: number;
|
|
5759
|
+
filters: {
|
|
5760
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
5761
|
+
};
|
|
5762
|
+
id: string;
|
|
5763
|
+
lastDeliveryAt?: string | undefined;
|
|
5764
|
+
status: "active" | "disabled" | "paused";
|
|
5765
|
+
updatedAt: string;
|
|
5766
|
+
}[];
|
|
5767
|
+
meta?: {
|
|
5768
|
+
totalCountCapped: boolean;
|
|
5769
|
+
totalCount: number;
|
|
5770
|
+
} | undefined;
|
|
5771
|
+
nextCursor: string | null;
|
|
5772
|
+
};
|
|
5773
|
+
outputFormat: "json";
|
|
5774
|
+
status: 200;
|
|
5775
|
+
input: {
|
|
5776
|
+
query?: {
|
|
5777
|
+
cursor?: string | string[];
|
|
5778
|
+
include?: string | string[];
|
|
5779
|
+
limit?: string | string[];
|
|
5780
|
+
page?: string | string[];
|
|
5781
|
+
} | undefined;
|
|
5782
|
+
};
|
|
5783
|
+
} | {
|
|
6176
5784
|
output: {
|
|
6177
5785
|
error: {
|
|
6178
5786
|
code: "api_key_malformed";
|
|
@@ -6194,14 +5802,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6194
5802
|
} | {
|
|
6195
5803
|
output: {
|
|
6196
5804
|
error: {
|
|
6197
|
-
code: "
|
|
5805
|
+
code: "query_invalid";
|
|
6198
5806
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6199
5807
|
message: string;
|
|
6200
5808
|
};
|
|
6201
5809
|
requestId: string;
|
|
6202
5810
|
};
|
|
6203
5811
|
outputFormat: "json";
|
|
6204
|
-
status:
|
|
5812
|
+
status: 400;
|
|
6205
5813
|
input: {
|
|
6206
5814
|
query?: {
|
|
6207
5815
|
cursor?: string | string[];
|
|
@@ -6213,14 +5821,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6213
5821
|
} | {
|
|
6214
5822
|
output: {
|
|
6215
5823
|
error: {
|
|
6216
|
-
code: "
|
|
5824
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6217
5825
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6218
5826
|
message: string;
|
|
6219
5827
|
};
|
|
6220
5828
|
requestId: string;
|
|
6221
5829
|
};
|
|
6222
5830
|
outputFormat: "json";
|
|
6223
|
-
status:
|
|
5831
|
+
status: 401;
|
|
6224
5832
|
input: {
|
|
6225
5833
|
query?: {
|
|
6226
5834
|
cursor?: string | string[];
|
|
@@ -6232,14 +5840,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6232
5840
|
} | {
|
|
6233
5841
|
output: {
|
|
6234
5842
|
error: {
|
|
6235
|
-
code: "
|
|
5843
|
+
code: "unauthorized";
|
|
6236
5844
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6237
5845
|
message: string;
|
|
6238
5846
|
};
|
|
6239
5847
|
requestId: string;
|
|
6240
5848
|
};
|
|
6241
5849
|
outputFormat: "json";
|
|
6242
|
-
status:
|
|
5850
|
+
status: 401;
|
|
6243
5851
|
input: {
|
|
6244
5852
|
query?: {
|
|
6245
5853
|
cursor?: string | string[];
|
|
@@ -6251,14 +5859,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6251
5859
|
} | {
|
|
6252
5860
|
output: {
|
|
6253
5861
|
error: {
|
|
6254
|
-
code: "
|
|
5862
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6255
5863
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6256
5864
|
message: string;
|
|
6257
5865
|
};
|
|
6258
5866
|
requestId: string;
|
|
6259
5867
|
};
|
|
6260
5868
|
outputFormat: "json";
|
|
6261
|
-
status:
|
|
5869
|
+
status: 403;
|
|
6262
5870
|
input: {
|
|
6263
5871
|
query?: {
|
|
6264
5872
|
cursor?: string | string[];
|
|
@@ -6270,14 +5878,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6270
5878
|
} | {
|
|
6271
5879
|
output: {
|
|
6272
5880
|
error: {
|
|
6273
|
-
code: "
|
|
5881
|
+
code: "webhooks_not_enabled";
|
|
6274
5882
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6275
5883
|
message: string;
|
|
6276
5884
|
};
|
|
6277
5885
|
requestId: string;
|
|
6278
5886
|
};
|
|
6279
5887
|
outputFormat: "json";
|
|
6280
|
-
status:
|
|
5888
|
+
status: 404;
|
|
6281
5889
|
input: {
|
|
6282
5890
|
query?: {
|
|
6283
5891
|
cursor?: string | string[];
|
|
@@ -6289,14 +5897,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6289
5897
|
} | {
|
|
6290
5898
|
output: {
|
|
6291
5899
|
error: {
|
|
6292
|
-
code: "
|
|
5900
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6293
5901
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6294
5902
|
message: string;
|
|
6295
5903
|
};
|
|
6296
5904
|
requestId: string;
|
|
6297
5905
|
};
|
|
6298
5906
|
outputFormat: "json";
|
|
6299
|
-
status:
|
|
5907
|
+
status: 429;
|
|
6300
5908
|
input: {
|
|
6301
5909
|
query?: {
|
|
6302
5910
|
cursor?: string | string[];
|
|
@@ -6308,14 +5916,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6308
5916
|
} | {
|
|
6309
5917
|
output: {
|
|
6310
5918
|
error: {
|
|
6311
|
-
code: "
|
|
5919
|
+
code: "upstream_error";
|
|
6312
5920
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6313
5921
|
message: string;
|
|
6314
5922
|
};
|
|
6315
5923
|
requestId: string;
|
|
6316
5924
|
};
|
|
6317
5925
|
outputFormat: "json";
|
|
6318
|
-
status:
|
|
5926
|
+
status: 502;
|
|
6319
5927
|
input: {
|
|
6320
5928
|
query?: {
|
|
6321
5929
|
cursor?: string | string[];
|
|
@@ -6324,61 +5932,51 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6324
5932
|
page?: string | string[];
|
|
6325
5933
|
} | undefined;
|
|
6326
5934
|
};
|
|
6327
|
-
}
|
|
5935
|
+
};
|
|
5936
|
+
};
|
|
5937
|
+
} & {
|
|
5938
|
+
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
5939
|
+
$get: {
|
|
6328
5940
|
output: {
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
[x: string]: string;
|
|
6335
|
-
} | undefined;
|
|
6336
|
-
title?: string | undefined;
|
|
5941
|
+
chainId: number;
|
|
5942
|
+
context?: {
|
|
5943
|
+
description?: string | undefined;
|
|
5944
|
+
metadata?: {
|
|
5945
|
+
[x: string]: string;
|
|
6337
5946
|
} | undefined;
|
|
6338
|
-
|
|
6339
|
-
destination: {
|
|
6340
|
-
type: "url";
|
|
6341
|
-
url: string;
|
|
6342
|
-
} | {
|
|
6343
|
-
type: "slack";
|
|
6344
|
-
url: "https://hooks.slack.com/…";
|
|
6345
|
-
} | {
|
|
6346
|
-
token: "[redacted]";
|
|
6347
|
-
type: "betterstack";
|
|
6348
|
-
url: string;
|
|
6349
|
-
};
|
|
6350
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6351
|
-
expiresAt?: string | undefined;
|
|
6352
|
-
failureCount: number;
|
|
6353
|
-
filters: {
|
|
6354
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6355
|
-
};
|
|
6356
|
-
id: string;
|
|
6357
|
-
lastDeliveryAt?: string | undefined;
|
|
6358
|
-
status: "active" | "disabled" | "paused";
|
|
6359
|
-
updatedAt: string;
|
|
6360
|
-
}[];
|
|
6361
|
-
meta?: {
|
|
6362
|
-
totalCountCapped: boolean;
|
|
6363
|
-
totalCount: number;
|
|
5947
|
+
title?: string | undefined;
|
|
6364
5948
|
} | undefined;
|
|
6365
|
-
|
|
5949
|
+
createdAt: string;
|
|
5950
|
+
destination: {
|
|
5951
|
+
type: "url";
|
|
5952
|
+
url: string;
|
|
5953
|
+
} | {
|
|
5954
|
+
type: "slack";
|
|
5955
|
+
url: "https://hooks.slack.com/…";
|
|
5956
|
+
} | {
|
|
5957
|
+
token: "[redacted]";
|
|
5958
|
+
type: "betterstack";
|
|
5959
|
+
url: string;
|
|
5960
|
+
};
|
|
5961
|
+
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5962
|
+
expiresAt?: string | undefined;
|
|
5963
|
+
failureCount: number;
|
|
5964
|
+
filters: {
|
|
5965
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
5966
|
+
};
|
|
5967
|
+
id: string;
|
|
5968
|
+
lastDeliveryAt?: string | undefined;
|
|
5969
|
+
status: "active" | "disabled" | "paused";
|
|
5970
|
+
updatedAt: string;
|
|
6366
5971
|
};
|
|
6367
5972
|
outputFormat: "json";
|
|
6368
5973
|
status: 200;
|
|
6369
5974
|
input: {
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
limit?: string | string[];
|
|
6374
|
-
page?: string | string[];
|
|
6375
|
-
} | undefined;
|
|
5975
|
+
param: {
|
|
5976
|
+
id: string;
|
|
5977
|
+
};
|
|
6376
5978
|
};
|
|
6377
|
-
}
|
|
6378
|
-
};
|
|
6379
|
-
} & {
|
|
6380
|
-
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
6381
|
-
$get: {
|
|
5979
|
+
} | {
|
|
6382
5980
|
output: {
|
|
6383
5981
|
error: {
|
|
6384
5982
|
code: "api_key_malformed";
|
|
@@ -6397,14 +5995,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6397
5995
|
} | {
|
|
6398
5996
|
output: {
|
|
6399
5997
|
error: {
|
|
6400
|
-
code: "
|
|
5998
|
+
code: "param_invalid";
|
|
6401
5999
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6402
6000
|
message: string;
|
|
6403
6001
|
};
|
|
6404
6002
|
requestId: string;
|
|
6405
6003
|
};
|
|
6406
6004
|
outputFormat: "json";
|
|
6407
|
-
status:
|
|
6005
|
+
status: 400;
|
|
6408
6006
|
input: {
|
|
6409
6007
|
param: {
|
|
6410
6008
|
id: string;
|
|
@@ -6413,14 +6011,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6413
6011
|
} | {
|
|
6414
6012
|
output: {
|
|
6415
6013
|
error: {
|
|
6416
|
-
code: "
|
|
6014
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6417
6015
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6418
6016
|
message: string;
|
|
6419
6017
|
};
|
|
6420
6018
|
requestId: string;
|
|
6421
6019
|
};
|
|
6422
6020
|
outputFormat: "json";
|
|
6423
|
-
status:
|
|
6021
|
+
status: 401;
|
|
6424
6022
|
input: {
|
|
6425
6023
|
param: {
|
|
6426
6024
|
id: string;
|
|
@@ -6429,14 +6027,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6429
6027
|
} | {
|
|
6430
6028
|
output: {
|
|
6431
6029
|
error: {
|
|
6432
|
-
code: "
|
|
6030
|
+
code: "unauthorized";
|
|
6433
6031
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6434
6032
|
message: string;
|
|
6435
6033
|
};
|
|
6436
6034
|
requestId: string;
|
|
6437
6035
|
};
|
|
6438
6036
|
outputFormat: "json";
|
|
6439
|
-
status:
|
|
6037
|
+
status: 401;
|
|
6440
6038
|
input: {
|
|
6441
6039
|
param: {
|
|
6442
6040
|
id: string;
|
|
@@ -6445,14 +6043,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6445
6043
|
} | {
|
|
6446
6044
|
output: {
|
|
6447
6045
|
error: {
|
|
6448
|
-
code: "
|
|
6046
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6449
6047
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6450
6048
|
message: string;
|
|
6451
6049
|
};
|
|
6452
6050
|
requestId: string;
|
|
6453
6051
|
};
|
|
6454
6052
|
outputFormat: "json";
|
|
6455
|
-
status:
|
|
6053
|
+
status: 403;
|
|
6456
6054
|
input: {
|
|
6457
6055
|
param: {
|
|
6458
6056
|
id: string;
|
|
@@ -6477,14 +6075,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6477
6075
|
} | {
|
|
6478
6076
|
output: {
|
|
6479
6077
|
error: {
|
|
6480
|
-
code: "
|
|
6078
|
+
code: "webhook_not_found";
|
|
6481
6079
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6482
6080
|
message: string;
|
|
6483
6081
|
};
|
|
6484
6082
|
requestId: string;
|
|
6485
6083
|
};
|
|
6486
6084
|
outputFormat: "json";
|
|
6487
|
-
status:
|
|
6085
|
+
status: 404;
|
|
6488
6086
|
input: {
|
|
6489
6087
|
param: {
|
|
6490
6088
|
id: string;
|
|
@@ -6493,14 +6091,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6493
6091
|
} | {
|
|
6494
6092
|
output: {
|
|
6495
6093
|
error: {
|
|
6496
|
-
code: "
|
|
6094
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6497
6095
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6498
6096
|
message: string;
|
|
6499
6097
|
};
|
|
6500
6098
|
requestId: string;
|
|
6501
6099
|
};
|
|
6502
6100
|
outputFormat: "json";
|
|
6503
|
-
status:
|
|
6101
|
+
status: 429;
|
|
6504
6102
|
input: {
|
|
6505
6103
|
param: {
|
|
6506
6104
|
id: string;
|
|
@@ -6509,51 +6107,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6509
6107
|
} | {
|
|
6510
6108
|
output: {
|
|
6511
6109
|
error: {
|
|
6512
|
-
code: "
|
|
6110
|
+
code: "upstream_error";
|
|
6513
6111
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6514
6112
|
message: string;
|
|
6515
6113
|
};
|
|
6516
6114
|
requestId: string;
|
|
6517
6115
|
};
|
|
6518
6116
|
outputFormat: "json";
|
|
6519
|
-
status:
|
|
6117
|
+
status: 502;
|
|
6520
6118
|
input: {
|
|
6521
6119
|
param: {
|
|
6522
6120
|
id: string;
|
|
6523
6121
|
};
|
|
6524
6122
|
};
|
|
6525
|
-
}
|
|
6123
|
+
};
|
|
6124
|
+
};
|
|
6125
|
+
} & {
|
|
6126
|
+
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
|
|
6127
|
+
$get: {
|
|
6526
6128
|
output: {
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6129
|
+
data: {
|
|
6130
|
+
attempt: number;
|
|
6131
|
+
createdAt: string;
|
|
6132
|
+
error?: string | undefined;
|
|
6133
|
+
eventId: string;
|
|
6134
|
+
id: string;
|
|
6135
|
+
requestUrl: string;
|
|
6136
|
+
responseMs?: number | undefined;
|
|
6137
|
+
responseStatus?: number | undefined;
|
|
6138
|
+
status: "failed" | "pending" | "succeeded";
|
|
6139
|
+
subscriptionId: string;
|
|
6140
|
+
}[];
|
|
6141
|
+
meta?: {
|
|
6142
|
+
totalCountCapped: boolean;
|
|
6143
|
+
totalCount: number;
|
|
6534
6144
|
} | undefined;
|
|
6535
|
-
|
|
6536
|
-
destination: {
|
|
6537
|
-
type: "url";
|
|
6538
|
-
url: string;
|
|
6539
|
-
} | {
|
|
6540
|
-
type: "slack";
|
|
6541
|
-
url: "https://hooks.slack.com/…";
|
|
6542
|
-
} | {
|
|
6543
|
-
token: "[redacted]";
|
|
6544
|
-
type: "betterstack";
|
|
6545
|
-
url: string;
|
|
6546
|
-
};
|
|
6547
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6548
|
-
expiresAt?: string | undefined;
|
|
6549
|
-
failureCount: number;
|
|
6550
|
-
filters: {
|
|
6551
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6552
|
-
};
|
|
6553
|
-
id: string;
|
|
6554
|
-
lastDeliveryAt?: string | undefined;
|
|
6555
|
-
status: "active" | "disabled" | "paused";
|
|
6556
|
-
updatedAt: string;
|
|
6145
|
+
nextCursor: string | null;
|
|
6557
6146
|
};
|
|
6558
6147
|
outputFormat: "json";
|
|
6559
6148
|
status: 200;
|
|
@@ -6561,12 +6150,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6561
6150
|
param: {
|
|
6562
6151
|
id: string;
|
|
6563
6152
|
};
|
|
6153
|
+
} & {
|
|
6154
|
+
query?: {
|
|
6155
|
+
cursor?: string | string[];
|
|
6156
|
+
include?: string | string[];
|
|
6157
|
+
limit?: string | string[];
|
|
6158
|
+
page?: string | string[];
|
|
6159
|
+
} | undefined;
|
|
6564
6160
|
};
|
|
6565
|
-
}
|
|
6566
|
-
};
|
|
6567
|
-
} & {
|
|
6568
|
-
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
|
|
6569
|
-
$get: {
|
|
6161
|
+
} | {
|
|
6570
6162
|
output: {
|
|
6571
6163
|
error: {
|
|
6572
6164
|
code: "api_key_malformed";
|
|
@@ -6592,14 +6184,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6592
6184
|
} | {
|
|
6593
6185
|
output: {
|
|
6594
6186
|
error: {
|
|
6595
|
-
code: "
|
|
6187
|
+
code: "query_invalid";
|
|
6596
6188
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6597
6189
|
message: string;
|
|
6598
6190
|
};
|
|
6599
6191
|
requestId: string;
|
|
6600
6192
|
};
|
|
6601
6193
|
outputFormat: "json";
|
|
6602
|
-
status:
|
|
6194
|
+
status: 400;
|
|
6603
6195
|
input: {
|
|
6604
6196
|
param: {
|
|
6605
6197
|
id: string;
|
|
@@ -6615,14 +6207,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6615
6207
|
} | {
|
|
6616
6208
|
output: {
|
|
6617
6209
|
error: {
|
|
6618
|
-
code: "
|
|
6210
|
+
code: "param_invalid";
|
|
6619
6211
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6620
6212
|
message: string;
|
|
6621
6213
|
};
|
|
6622
6214
|
requestId: string;
|
|
6623
6215
|
};
|
|
6624
6216
|
outputFormat: "json";
|
|
6625
|
-
status:
|
|
6217
|
+
status: 400;
|
|
6626
6218
|
input: {
|
|
6627
6219
|
param: {
|
|
6628
6220
|
id: string;
|
|
@@ -6638,14 +6230,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6638
6230
|
} | {
|
|
6639
6231
|
output: {
|
|
6640
6232
|
error: {
|
|
6641
|
-
code: "
|
|
6233
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6642
6234
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6643
6235
|
message: string;
|
|
6644
6236
|
};
|
|
6645
6237
|
requestId: string;
|
|
6646
6238
|
};
|
|
6647
6239
|
outputFormat: "json";
|
|
6648
|
-
status:
|
|
6240
|
+
status: 401;
|
|
6649
6241
|
input: {
|
|
6650
6242
|
param: {
|
|
6651
6243
|
id: string;
|
|
@@ -6661,14 +6253,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6661
6253
|
} | {
|
|
6662
6254
|
output: {
|
|
6663
6255
|
error: {
|
|
6664
|
-
code: "
|
|
6256
|
+
code: "unauthorized";
|
|
6665
6257
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6666
6258
|
message: string;
|
|
6667
6259
|
};
|
|
6668
6260
|
requestId: string;
|
|
6669
6261
|
};
|
|
6670
6262
|
outputFormat: "json";
|
|
6671
|
-
status:
|
|
6263
|
+
status: 401;
|
|
6672
6264
|
input: {
|
|
6673
6265
|
param: {
|
|
6674
6266
|
id: string;
|
|
@@ -6684,14 +6276,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6684
6276
|
} | {
|
|
6685
6277
|
output: {
|
|
6686
6278
|
error: {
|
|
6687
|
-
code: "
|
|
6279
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6688
6280
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6689
6281
|
message: string;
|
|
6690
6282
|
};
|
|
6691
6283
|
requestId: string;
|
|
6692
6284
|
};
|
|
6693
6285
|
outputFormat: "json";
|
|
6694
|
-
status:
|
|
6286
|
+
status: 403;
|
|
6695
6287
|
input: {
|
|
6696
6288
|
param: {
|
|
6697
6289
|
id: string;
|
|
@@ -6730,14 +6322,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6730
6322
|
} | {
|
|
6731
6323
|
output: {
|
|
6732
6324
|
error: {
|
|
6733
|
-
code: "
|
|
6325
|
+
code: "webhook_not_found";
|
|
6734
6326
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6735
6327
|
message: string;
|
|
6736
6328
|
};
|
|
6737
6329
|
requestId: string;
|
|
6738
6330
|
};
|
|
6739
6331
|
outputFormat: "json";
|
|
6740
|
-
status:
|
|
6332
|
+
status: 404;
|
|
6741
6333
|
input: {
|
|
6742
6334
|
param: {
|
|
6743
6335
|
id: string;
|
|
@@ -6753,14 +6345,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6753
6345
|
} | {
|
|
6754
6346
|
output: {
|
|
6755
6347
|
error: {
|
|
6756
|
-
code: "
|
|
6348
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6757
6349
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6758
6350
|
message: string;
|
|
6759
6351
|
};
|
|
6760
6352
|
requestId: string;
|
|
6761
6353
|
};
|
|
6762
6354
|
outputFormat: "json";
|
|
6763
|
-
status:
|
|
6355
|
+
status: 429;
|
|
6764
6356
|
input: {
|
|
6765
6357
|
param: {
|
|
6766
6358
|
id: string;
|
|
@@ -6776,14 +6368,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6776
6368
|
} | {
|
|
6777
6369
|
output: {
|
|
6778
6370
|
error: {
|
|
6779
|
-
code: "
|
|
6371
|
+
code: "upstream_error";
|
|
6780
6372
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6781
6373
|
message: string;
|
|
6782
6374
|
};
|
|
6783
6375
|
requestId: string;
|
|
6784
6376
|
};
|
|
6785
6377
|
outputFormat: "json";
|
|
6786
|
-
status:
|
|
6378
|
+
status: 502;
|
|
6787
6379
|
input: {
|
|
6788
6380
|
param: {
|
|
6789
6381
|
id: string;
|
|
@@ -6796,25 +6388,17 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6796
6388
|
page?: string | string[];
|
|
6797
6389
|
} | undefined;
|
|
6798
6390
|
};
|
|
6799
|
-
}
|
|
6391
|
+
};
|
|
6392
|
+
};
|
|
6393
|
+
} & {
|
|
6394
|
+
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/ping": {
|
|
6395
|
+
$post: {
|
|
6800
6396
|
output: {
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
id: string;
|
|
6807
|
-
requestUrl: string;
|
|
6808
|
-
responseMs?: number | undefined;
|
|
6809
|
-
responseStatus?: number | undefined;
|
|
6810
|
-
status: "failed" | "pending" | "succeeded";
|
|
6811
|
-
subscriptionId: string;
|
|
6812
|
-
}[];
|
|
6813
|
-
meta?: {
|
|
6814
|
-
totalCountCapped: boolean;
|
|
6815
|
-
totalCount: number;
|
|
6816
|
-
} | undefined;
|
|
6817
|
-
nextCursor: string | null;
|
|
6397
|
+
delivered: boolean;
|
|
6398
|
+
error?: string | undefined;
|
|
6399
|
+
eventId: string;
|
|
6400
|
+
responseMs?: number | undefined;
|
|
6401
|
+
responseStatus?: number | undefined;
|
|
6818
6402
|
};
|
|
6819
6403
|
outputFormat: "json";
|
|
6820
6404
|
status: 200;
|
|
@@ -6822,19 +6406,8 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6822
6406
|
param: {
|
|
6823
6407
|
id: string;
|
|
6824
6408
|
};
|
|
6825
|
-
} & {
|
|
6826
|
-
query?: {
|
|
6827
|
-
cursor?: string | string[];
|
|
6828
|
-
include?: string | string[];
|
|
6829
|
-
limit?: string | string[];
|
|
6830
|
-
page?: string | string[];
|
|
6831
|
-
} | undefined;
|
|
6832
6409
|
};
|
|
6833
|
-
}
|
|
6834
|
-
};
|
|
6835
|
-
} & {
|
|
6836
|
-
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/ping": {
|
|
6837
|
-
$post: {
|
|
6410
|
+
} | {
|
|
6838
6411
|
output: {
|
|
6839
6412
|
error: {
|
|
6840
6413
|
code: "api_key_malformed";
|
|
@@ -6853,14 +6426,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6853
6426
|
} | {
|
|
6854
6427
|
output: {
|
|
6855
6428
|
error: {
|
|
6856
|
-
code: "
|
|
6429
|
+
code: "param_invalid";
|
|
6857
6430
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6858
6431
|
message: string;
|
|
6859
6432
|
};
|
|
6860
6433
|
requestId: string;
|
|
6861
6434
|
};
|
|
6862
6435
|
outputFormat: "json";
|
|
6863
|
-
status:
|
|
6436
|
+
status: 400;
|
|
6864
6437
|
input: {
|
|
6865
6438
|
param: {
|
|
6866
6439
|
id: string;
|
|
@@ -6869,14 +6442,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6869
6442
|
} | {
|
|
6870
6443
|
output: {
|
|
6871
6444
|
error: {
|
|
6872
|
-
code: "
|
|
6445
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6873
6446
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6874
6447
|
message: string;
|
|
6875
6448
|
};
|
|
6876
6449
|
requestId: string;
|
|
6877
6450
|
};
|
|
6878
6451
|
outputFormat: "json";
|
|
6879
|
-
status:
|
|
6452
|
+
status: 401;
|
|
6880
6453
|
input: {
|
|
6881
6454
|
param: {
|
|
6882
6455
|
id: string;
|
|
@@ -6885,14 +6458,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6885
6458
|
} | {
|
|
6886
6459
|
output: {
|
|
6887
6460
|
error: {
|
|
6888
|
-
code: "
|
|
6461
|
+
code: "unauthorized";
|
|
6889
6462
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6890
6463
|
message: string;
|
|
6891
6464
|
};
|
|
6892
6465
|
requestId: string;
|
|
6893
6466
|
};
|
|
6894
6467
|
outputFormat: "json";
|
|
6895
|
-
status:
|
|
6468
|
+
status: 401;
|
|
6896
6469
|
input: {
|
|
6897
6470
|
param: {
|
|
6898
6471
|
id: string;
|
|
@@ -6901,14 +6474,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6901
6474
|
} | {
|
|
6902
6475
|
output: {
|
|
6903
6476
|
error: {
|
|
6904
|
-
code: "
|
|
6477
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6905
6478
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6906
6479
|
message: string;
|
|
6907
6480
|
};
|
|
6908
6481
|
requestId: string;
|
|
6909
6482
|
};
|
|
6910
6483
|
outputFormat: "json";
|
|
6911
|
-
status:
|
|
6484
|
+
status: 403;
|
|
6912
6485
|
input: {
|
|
6913
6486
|
param: {
|
|
6914
6487
|
id: string;
|
|
@@ -6933,14 +6506,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6933
6506
|
} | {
|
|
6934
6507
|
output: {
|
|
6935
6508
|
error: {
|
|
6936
|
-
code: "
|
|
6509
|
+
code: "webhook_not_found";
|
|
6937
6510
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6938
6511
|
message: string;
|
|
6939
6512
|
};
|
|
6940
6513
|
requestId: string;
|
|
6941
6514
|
};
|
|
6942
6515
|
outputFormat: "json";
|
|
6943
|
-
status:
|
|
6516
|
+
status: 404;
|
|
6944
6517
|
input: {
|
|
6945
6518
|
param: {
|
|
6946
6519
|
id: string;
|
|
@@ -6949,14 +6522,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6949
6522
|
} | {
|
|
6950
6523
|
output: {
|
|
6951
6524
|
error: {
|
|
6952
|
-
code: "
|
|
6525
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6953
6526
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6954
6527
|
message: string;
|
|
6955
6528
|
};
|
|
6956
6529
|
requestId: string;
|
|
6957
6530
|
};
|
|
6958
6531
|
outputFormat: "json";
|
|
6959
|
-
status:
|
|
6532
|
+
status: 429;
|
|
6960
6533
|
input: {
|
|
6961
6534
|
param: {
|
|
6962
6535
|
id: string;
|
|
@@ -6965,20 +6538,24 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6965
6538
|
} | {
|
|
6966
6539
|
output: {
|
|
6967
6540
|
error: {
|
|
6968
|
-
code: "
|
|
6541
|
+
code: "upstream_error";
|
|
6969
6542
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6970
6543
|
message: string;
|
|
6971
6544
|
};
|
|
6972
6545
|
requestId: string;
|
|
6973
6546
|
};
|
|
6974
6547
|
outputFormat: "json";
|
|
6975
|
-
status:
|
|
6548
|
+
status: 502;
|
|
6976
6549
|
input: {
|
|
6977
6550
|
param: {
|
|
6978
6551
|
id: string;
|
|
6979
6552
|
};
|
|
6980
6553
|
};
|
|
6981
|
-
}
|
|
6554
|
+
};
|
|
6555
|
+
};
|
|
6556
|
+
} & {
|
|
6557
|
+
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
|
|
6558
|
+
$post: {
|
|
6982
6559
|
output: {
|
|
6983
6560
|
delivered: boolean;
|
|
6984
6561
|
error?: string | undefined;
|
|
@@ -6990,14 +6567,11 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6990
6567
|
status: 200;
|
|
6991
6568
|
input: {
|
|
6992
6569
|
param: {
|
|
6570
|
+
deliveryId: string;
|
|
6993
6571
|
id: string;
|
|
6994
6572
|
};
|
|
6995
6573
|
};
|
|
6996
|
-
}
|
|
6997
|
-
};
|
|
6998
|
-
} & {
|
|
6999
|
-
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
|
|
7000
|
-
$post: {
|
|
6574
|
+
} | {
|
|
7001
6575
|
output: {
|
|
7002
6576
|
error: {
|
|
7003
6577
|
code: "api_key_malformed";
|
|
@@ -7017,14 +6591,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7017
6591
|
} | {
|
|
7018
6592
|
output: {
|
|
7019
6593
|
error: {
|
|
7020
|
-
code: "
|
|
6594
|
+
code: "param_invalid";
|
|
7021
6595
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7022
6596
|
message: string;
|
|
7023
6597
|
};
|
|
7024
6598
|
requestId: string;
|
|
7025
6599
|
};
|
|
7026
6600
|
outputFormat: "json";
|
|
7027
|
-
status:
|
|
6601
|
+
status: 400;
|
|
7028
6602
|
input: {
|
|
7029
6603
|
param: {
|
|
7030
6604
|
deliveryId: string;
|
|
@@ -7034,14 +6608,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7034
6608
|
} | {
|
|
7035
6609
|
output: {
|
|
7036
6610
|
error: {
|
|
7037
|
-
code: "
|
|
6611
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7038
6612
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7039
6613
|
message: string;
|
|
7040
6614
|
};
|
|
7041
6615
|
requestId: string;
|
|
7042
6616
|
};
|
|
7043
6617
|
outputFormat: "json";
|
|
7044
|
-
status:
|
|
6618
|
+
status: 401;
|
|
7045
6619
|
input: {
|
|
7046
6620
|
param: {
|
|
7047
6621
|
deliveryId: string;
|
|
@@ -7051,14 +6625,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7051
6625
|
} | {
|
|
7052
6626
|
output: {
|
|
7053
6627
|
error: {
|
|
7054
|
-
code: "
|
|
6628
|
+
code: "unauthorized";
|
|
7055
6629
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7056
6630
|
message: string;
|
|
7057
6631
|
};
|
|
7058
6632
|
requestId: string;
|
|
7059
6633
|
};
|
|
7060
6634
|
outputFormat: "json";
|
|
7061
|
-
status:
|
|
6635
|
+
status: 401;
|
|
7062
6636
|
input: {
|
|
7063
6637
|
param: {
|
|
7064
6638
|
deliveryId: string;
|
|
@@ -7068,14 +6642,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7068
6642
|
} | {
|
|
7069
6643
|
output: {
|
|
7070
6644
|
error: {
|
|
7071
|
-
code: "
|
|
6645
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7072
6646
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7073
6647
|
message: string;
|
|
7074
6648
|
};
|
|
7075
6649
|
requestId: string;
|
|
7076
6650
|
};
|
|
7077
6651
|
outputFormat: "json";
|
|
7078
|
-
status:
|
|
6652
|
+
status: 403;
|
|
7079
6653
|
input: {
|
|
7080
6654
|
param: {
|
|
7081
6655
|
deliveryId: string;
|
|
@@ -7102,14 +6676,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7102
6676
|
} | {
|
|
7103
6677
|
output: {
|
|
7104
6678
|
error: {
|
|
7105
|
-
code: "
|
|
6679
|
+
code: "webhook_not_found";
|
|
7106
6680
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7107
6681
|
message: string;
|
|
7108
6682
|
};
|
|
7109
6683
|
requestId: string;
|
|
7110
6684
|
};
|
|
7111
6685
|
outputFormat: "json";
|
|
7112
|
-
status:
|
|
6686
|
+
status: 404;
|
|
7113
6687
|
input: {
|
|
7114
6688
|
param: {
|
|
7115
6689
|
deliveryId: string;
|
|
@@ -7119,14 +6693,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7119
6693
|
} | {
|
|
7120
6694
|
output: {
|
|
7121
6695
|
error: {
|
|
7122
|
-
code: "
|
|
6696
|
+
code: "delivery_not_found";
|
|
7123
6697
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7124
6698
|
message: string;
|
|
7125
6699
|
};
|
|
7126
6700
|
requestId: string;
|
|
7127
6701
|
};
|
|
7128
6702
|
outputFormat: "json";
|
|
7129
|
-
status:
|
|
6703
|
+
status: 404;
|
|
7130
6704
|
input: {
|
|
7131
6705
|
param: {
|
|
7132
6706
|
deliveryId: string;
|
|
@@ -7136,30 +6710,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7136
6710
|
} | {
|
|
7137
6711
|
output: {
|
|
7138
6712
|
error: {
|
|
7139
|
-
code: "
|
|
6713
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7140
6714
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7141
6715
|
message: string;
|
|
7142
6716
|
};
|
|
7143
6717
|
requestId: string;
|
|
7144
6718
|
};
|
|
7145
6719
|
outputFormat: "json";
|
|
7146
|
-
status:
|
|
7147
|
-
input: {
|
|
7148
|
-
param: {
|
|
7149
|
-
deliveryId: string;
|
|
7150
|
-
id: string;
|
|
7151
|
-
};
|
|
7152
|
-
};
|
|
7153
|
-
} | {
|
|
7154
|
-
output: {
|
|
7155
|
-
delivered: boolean;
|
|
7156
|
-
error?: string | undefined;
|
|
7157
|
-
eventId: string;
|
|
7158
|
-
responseMs?: number | undefined;
|
|
7159
|
-
responseStatus?: number | undefined;
|
|
7160
|
-
};
|
|
7161
|
-
outputFormat: "json";
|
|
7162
|
-
status: 200;
|
|
6720
|
+
status: 429;
|
|
7163
6721
|
input: {
|
|
7164
6722
|
param: {
|
|
7165
6723
|
deliveryId: string;
|
|
@@ -7169,14 +6727,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7169
6727
|
} | {
|
|
7170
6728
|
output: {
|
|
7171
6729
|
error: {
|
|
7172
|
-
code: "
|
|
6730
|
+
code: "upstream_error";
|
|
7173
6731
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7174
6732
|
message: string;
|
|
7175
6733
|
};
|
|
7176
6734
|
requestId: string;
|
|
7177
6735
|
};
|
|
7178
6736
|
outputFormat: "json";
|
|
7179
|
-
status:
|
|
6737
|
+
status: 502;
|
|
7180
6738
|
input: {
|
|
7181
6739
|
param: {
|
|
7182
6740
|
deliveryId: string;
|
|
@@ -7189,15 +6747,39 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7189
6747
|
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
7190
6748
|
$patch: {
|
|
7191
6749
|
output: {
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
6750
|
+
chainId: number;
|
|
6751
|
+
context?: {
|
|
6752
|
+
description?: string | undefined;
|
|
6753
|
+
metadata?: {
|
|
6754
|
+
[x: string]: string;
|
|
6755
|
+
} | undefined;
|
|
6756
|
+
title?: string | undefined;
|
|
6757
|
+
} | undefined;
|
|
6758
|
+
createdAt: string;
|
|
6759
|
+
destination: {
|
|
6760
|
+
type: "url";
|
|
6761
|
+
url: string;
|
|
6762
|
+
} | {
|
|
6763
|
+
type: "slack";
|
|
6764
|
+
url: "https://hooks.slack.com/…";
|
|
6765
|
+
} | {
|
|
6766
|
+
token: "[redacted]";
|
|
6767
|
+
type: "betterstack";
|
|
6768
|
+
url: string;
|
|
7196
6769
|
};
|
|
7197
|
-
|
|
6770
|
+
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6771
|
+
expiresAt?: string | undefined;
|
|
6772
|
+
failureCount: number;
|
|
6773
|
+
filters: {
|
|
6774
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6775
|
+
};
|
|
6776
|
+
id: string;
|
|
6777
|
+
lastDeliveryAt?: string | undefined;
|
|
6778
|
+
status: "active" | "disabled" | "paused";
|
|
6779
|
+
updatedAt: string;
|
|
7198
6780
|
};
|
|
7199
6781
|
outputFormat: "json";
|
|
7200
|
-
status:
|
|
6782
|
+
status: 200;
|
|
7201
6783
|
input: {
|
|
7202
6784
|
param: {
|
|
7203
6785
|
id: string;
|
|
@@ -7227,14 +6809,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7227
6809
|
} | {
|
|
7228
6810
|
output: {
|
|
7229
6811
|
error: {
|
|
7230
|
-
code: "
|
|
6812
|
+
code: "api_key_malformed";
|
|
7231
6813
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7232
6814
|
message: string;
|
|
7233
6815
|
};
|
|
7234
6816
|
requestId: string;
|
|
7235
6817
|
};
|
|
7236
6818
|
outputFormat: "json";
|
|
7237
|
-
status:
|
|
6819
|
+
status: 400;
|
|
7238
6820
|
input: {
|
|
7239
6821
|
param: {
|
|
7240
6822
|
id: string;
|
|
@@ -7264,14 +6846,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7264
6846
|
} | {
|
|
7265
6847
|
output: {
|
|
7266
6848
|
error: {
|
|
7267
|
-
code: "
|
|
6849
|
+
code: "body_invalid";
|
|
7268
6850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7269
6851
|
message: string;
|
|
7270
6852
|
};
|
|
7271
6853
|
requestId: string;
|
|
7272
6854
|
};
|
|
7273
6855
|
outputFormat: "json";
|
|
7274
|
-
status:
|
|
6856
|
+
status: 400;
|
|
7275
6857
|
input: {
|
|
7276
6858
|
param: {
|
|
7277
6859
|
id: string;
|
|
@@ -7301,14 +6883,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7301
6883
|
} | {
|
|
7302
6884
|
output: {
|
|
7303
6885
|
error: {
|
|
7304
|
-
code: "
|
|
6886
|
+
code: "url_invalid";
|
|
7305
6887
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7306
6888
|
message: string;
|
|
7307
6889
|
};
|
|
7308
6890
|
requestId: string;
|
|
7309
6891
|
};
|
|
7310
6892
|
outputFormat: "json";
|
|
7311
|
-
status:
|
|
6893
|
+
status: 400;
|
|
7312
6894
|
input: {
|
|
7313
6895
|
param: {
|
|
7314
6896
|
id: string;
|
|
@@ -7338,14 +6920,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7338
6920
|
} | {
|
|
7339
6921
|
output: {
|
|
7340
6922
|
error: {
|
|
7341
|
-
code: "
|
|
6923
|
+
code: "filters_invalid";
|
|
7342
6924
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7343
6925
|
message: string;
|
|
7344
6926
|
};
|
|
7345
6927
|
requestId: string;
|
|
7346
6928
|
};
|
|
7347
6929
|
outputFormat: "json";
|
|
7348
|
-
status:
|
|
6930
|
+
status: 400;
|
|
7349
6931
|
input: {
|
|
7350
6932
|
param: {
|
|
7351
6933
|
id: string;
|
|
@@ -7375,14 +6957,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7375
6957
|
} | {
|
|
7376
6958
|
output: {
|
|
7377
6959
|
error: {
|
|
7378
|
-
code: "
|
|
6960
|
+
code: "param_invalid";
|
|
7379
6961
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7380
6962
|
message: string;
|
|
7381
6963
|
};
|
|
7382
6964
|
requestId: string;
|
|
7383
6965
|
};
|
|
7384
6966
|
outputFormat: "json";
|
|
7385
|
-
status:
|
|
6967
|
+
status: 400;
|
|
7386
6968
|
input: {
|
|
7387
6969
|
param: {
|
|
7388
6970
|
id: string;
|
|
@@ -7412,7 +6994,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7412
6994
|
} | {
|
|
7413
6995
|
output: {
|
|
7414
6996
|
error: {
|
|
7415
|
-
code: "
|
|
6997
|
+
code: "destination_transition_invalid";
|
|
7416
6998
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7417
6999
|
message: string;
|
|
7418
7000
|
};
|
|
@@ -7449,7 +7031,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7449
7031
|
} | {
|
|
7450
7032
|
output: {
|
|
7451
7033
|
error: {
|
|
7452
|
-
code: "
|
|
7034
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7453
7035
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7454
7036
|
message: string;
|
|
7455
7037
|
};
|
|
@@ -7486,14 +7068,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7486
7068
|
} | {
|
|
7487
7069
|
output: {
|
|
7488
7070
|
error: {
|
|
7489
|
-
code: "
|
|
7071
|
+
code: "unauthorized";
|
|
7490
7072
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7491
7073
|
message: string;
|
|
7492
7074
|
};
|
|
7493
7075
|
requestId: string;
|
|
7494
7076
|
};
|
|
7495
7077
|
outputFormat: "json";
|
|
7496
|
-
status:
|
|
7078
|
+
status: 401;
|
|
7497
7079
|
input: {
|
|
7498
7080
|
param: {
|
|
7499
7081
|
id: string;
|
|
@@ -7523,14 +7105,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7523
7105
|
} | {
|
|
7524
7106
|
output: {
|
|
7525
7107
|
error: {
|
|
7526
|
-
code: "
|
|
7108
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7527
7109
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7528
7110
|
message: string;
|
|
7529
7111
|
};
|
|
7530
7112
|
requestId: string;
|
|
7531
7113
|
};
|
|
7532
7114
|
outputFormat: "json";
|
|
7533
|
-
status:
|
|
7115
|
+
status: 403;
|
|
7534
7116
|
input: {
|
|
7535
7117
|
param: {
|
|
7536
7118
|
id: string;
|
|
@@ -7560,14 +7142,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7560
7142
|
} | {
|
|
7561
7143
|
output: {
|
|
7562
7144
|
error: {
|
|
7563
|
-
code: "
|
|
7145
|
+
code: "webhooks_not_enabled";
|
|
7564
7146
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7565
7147
|
message: string;
|
|
7566
7148
|
};
|
|
7567
7149
|
requestId: string;
|
|
7568
7150
|
};
|
|
7569
7151
|
outputFormat: "json";
|
|
7570
|
-
status:
|
|
7152
|
+
status: 404;
|
|
7571
7153
|
input: {
|
|
7572
7154
|
param: {
|
|
7573
7155
|
id: string;
|
|
@@ -7633,39 +7215,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7633
7215
|
};
|
|
7634
7216
|
} | {
|
|
7635
7217
|
output: {
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
[x: string]: string;
|
|
7641
|
-
} | undefined;
|
|
7642
|
-
title?: string | undefined;
|
|
7643
|
-
} | undefined;
|
|
7644
|
-
createdAt: string;
|
|
7645
|
-
destination: {
|
|
7646
|
-
type: "url";
|
|
7647
|
-
url: string;
|
|
7648
|
-
} | {
|
|
7649
|
-
type: "slack";
|
|
7650
|
-
url: "https://hooks.slack.com/…";
|
|
7651
|
-
} | {
|
|
7652
|
-
token: "[redacted]";
|
|
7653
|
-
type: "betterstack";
|
|
7654
|
-
url: string;
|
|
7655
|
-
};
|
|
7656
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7657
|
-
expiresAt?: string | undefined;
|
|
7658
|
-
failureCount: number;
|
|
7659
|
-
filters: {
|
|
7660
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
7218
|
+
error: {
|
|
7219
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7220
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7221
|
+
message: string;
|
|
7661
7222
|
};
|
|
7662
|
-
|
|
7663
|
-
lastDeliveryAt?: string | undefined;
|
|
7664
|
-
status: "active" | "disabled" | "paused";
|
|
7665
|
-
updatedAt: string;
|
|
7223
|
+
requestId: string;
|
|
7666
7224
|
};
|
|
7667
7225
|
outputFormat: "json";
|
|
7668
|
-
status:
|
|
7226
|
+
status: 429;
|
|
7669
7227
|
input: {
|
|
7670
7228
|
param: {
|
|
7671
7229
|
id: string;
|
|
@@ -7695,14 +7253,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7695
7253
|
} | {
|
|
7696
7254
|
output: {
|
|
7697
7255
|
error: {
|
|
7698
|
-
code: "
|
|
7256
|
+
code: "upstream_error";
|
|
7699
7257
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7700
7258
|
message: string;
|
|
7701
7259
|
};
|
|
7702
7260
|
requestId: string;
|
|
7703
7261
|
};
|
|
7704
7262
|
outputFormat: "json";
|
|
7705
|
-
status:
|
|
7263
|
+
status: 502;
|
|
7706
7264
|
input: {
|
|
7707
7265
|
param: {
|
|
7708
7266
|
id: string;
|
|
@@ -7735,15 +7293,10 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7735
7293
|
"/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
7736
7294
|
$delete: {
|
|
7737
7295
|
output: {
|
|
7738
|
-
|
|
7739
|
-
code: "api_key_malformed";
|
|
7740
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7741
|
-
message: string;
|
|
7742
|
-
};
|
|
7743
|
-
requestId: string;
|
|
7296
|
+
id: string;
|
|
7744
7297
|
};
|
|
7745
7298
|
outputFormat: "json";
|
|
7746
|
-
status:
|
|
7299
|
+
status: 200;
|
|
7747
7300
|
input: {
|
|
7748
7301
|
param: {
|
|
7749
7302
|
id: string;
|
|
@@ -7752,14 +7305,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7752
7305
|
} | {
|
|
7753
7306
|
output: {
|
|
7754
7307
|
error: {
|
|
7755
|
-
code: "
|
|
7308
|
+
code: "api_key_malformed";
|
|
7756
7309
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7757
7310
|
message: string;
|
|
7758
7311
|
};
|
|
7759
7312
|
requestId: string;
|
|
7760
7313
|
};
|
|
7761
7314
|
outputFormat: "json";
|
|
7762
|
-
status:
|
|
7315
|
+
status: 400;
|
|
7763
7316
|
input: {
|
|
7764
7317
|
param: {
|
|
7765
7318
|
id: string;
|
|
@@ -7768,14 +7321,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7768
7321
|
} | {
|
|
7769
7322
|
output: {
|
|
7770
7323
|
error: {
|
|
7771
|
-
code: "
|
|
7324
|
+
code: "param_invalid";
|
|
7772
7325
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7773
7326
|
message: string;
|
|
7774
7327
|
};
|
|
7775
7328
|
requestId: string;
|
|
7776
7329
|
};
|
|
7777
7330
|
outputFormat: "json";
|
|
7778
|
-
status:
|
|
7331
|
+
status: 400;
|
|
7779
7332
|
input: {
|
|
7780
7333
|
param: {
|
|
7781
7334
|
id: string;
|
|
@@ -7784,14 +7337,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7784
7337
|
} | {
|
|
7785
7338
|
output: {
|
|
7786
7339
|
error: {
|
|
7787
|
-
code: "
|
|
7340
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7788
7341
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7789
7342
|
message: string;
|
|
7790
7343
|
};
|
|
7791
7344
|
requestId: string;
|
|
7792
7345
|
};
|
|
7793
7346
|
outputFormat: "json";
|
|
7794
|
-
status:
|
|
7347
|
+
status: 401;
|
|
7795
7348
|
input: {
|
|
7796
7349
|
param: {
|
|
7797
7350
|
id: string;
|
|
@@ -7800,14 +7353,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7800
7353
|
} | {
|
|
7801
7354
|
output: {
|
|
7802
7355
|
error: {
|
|
7803
|
-
code: "
|
|
7356
|
+
code: "unauthorized";
|
|
7804
7357
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7805
7358
|
message: string;
|
|
7806
7359
|
};
|
|
7807
7360
|
requestId: string;
|
|
7808
7361
|
};
|
|
7809
7362
|
outputFormat: "json";
|
|
7810
|
-
status:
|
|
7363
|
+
status: 401;
|
|
7811
7364
|
input: {
|
|
7812
7365
|
param: {
|
|
7813
7366
|
id: string;
|
|
@@ -7816,14 +7369,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7816
7369
|
} | {
|
|
7817
7370
|
output: {
|
|
7818
7371
|
error: {
|
|
7819
|
-
code: "
|
|
7372
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7820
7373
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7821
7374
|
message: string;
|
|
7822
7375
|
};
|
|
7823
7376
|
requestId: string;
|
|
7824
7377
|
};
|
|
7825
7378
|
outputFormat: "json";
|
|
7826
|
-
status:
|
|
7379
|
+
status: 403;
|
|
7827
7380
|
input: {
|
|
7828
7381
|
param: {
|
|
7829
7382
|
id: string;
|
|
@@ -7832,14 +7385,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7832
7385
|
} | {
|
|
7833
7386
|
output: {
|
|
7834
7387
|
error: {
|
|
7835
|
-
code: "
|
|
7388
|
+
code: "webhooks_not_enabled";
|
|
7836
7389
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7837
7390
|
message: string;
|
|
7838
7391
|
};
|
|
7839
7392
|
requestId: string;
|
|
7840
7393
|
};
|
|
7841
7394
|
outputFormat: "json";
|
|
7842
|
-
status:
|
|
7395
|
+
status: 404;
|
|
7843
7396
|
input: {
|
|
7844
7397
|
param: {
|
|
7845
7398
|
id: string;
|
|
@@ -7848,14 +7401,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7848
7401
|
} | {
|
|
7849
7402
|
output: {
|
|
7850
7403
|
error: {
|
|
7851
|
-
code: "
|
|
7404
|
+
code: "webhook_not_found";
|
|
7852
7405
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7853
7406
|
message: string;
|
|
7854
7407
|
};
|
|
7855
7408
|
requestId: string;
|
|
7856
7409
|
};
|
|
7857
7410
|
outputFormat: "json";
|
|
7858
|
-
status:
|
|
7411
|
+
status: 404;
|
|
7859
7412
|
input: {
|
|
7860
7413
|
param: {
|
|
7861
7414
|
id: string;
|
|
@@ -7864,14 +7417,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7864
7417
|
} | {
|
|
7865
7418
|
output: {
|
|
7866
7419
|
error: {
|
|
7867
|
-
code: "
|
|
7420
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7868
7421
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7869
7422
|
message: string;
|
|
7870
7423
|
};
|
|
7871
7424
|
requestId: string;
|
|
7872
7425
|
};
|
|
7873
7426
|
outputFormat: "json";
|
|
7874
|
-
status:
|
|
7427
|
+
status: 429;
|
|
7875
7428
|
input: {
|
|
7876
7429
|
param: {
|
|
7877
7430
|
id: string;
|
|
@@ -7879,10 +7432,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7879
7432
|
};
|
|
7880
7433
|
} | {
|
|
7881
7434
|
output: {
|
|
7882
|
-
|
|
7435
|
+
error: {
|
|
7436
|
+
code: "upstream_error";
|
|
7437
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7438
|
+
message: string;
|
|
7439
|
+
};
|
|
7440
|
+
requestId: string;
|
|
7883
7441
|
};
|
|
7884
7442
|
outputFormat: "json";
|
|
7885
|
-
status:
|
|
7443
|
+
status: 502;
|
|
7886
7444
|
input: {
|
|
7887
7445
|
param: {
|
|
7888
7446
|
id: string;
|
|
@@ -7903,13 +7461,9 @@ export declare namespace webhooks {
|
|
|
7903
7461
|
* matching row, advancing each active subscription's `(block, index)` keyset
|
|
7904
7462
|
* cursor.
|
|
7905
7463
|
*
|
|
7906
|
-
*
|
|
7907
|
-
* `
|
|
7908
|
-
*
|
|
7909
|
-
* `eth_getBlockReceipts`) — the same data sources the indexer itself consumes —
|
|
7910
|
-
* so they need no indexer and stay fresh. The pre-existing `token:transfer`
|
|
7911
|
-
* type continues to read its humanized shape from TIDX, clamped to the indexed
|
|
7912
|
-
* head so it never runs ahead of the indexer.
|
|
7464
|
+
* Every event type scans a **narrow confirmed window** `[cursor, head -
|
|
7465
|
+
* confirmations]` directly over JSON-RPC (`eth_getLogs`,
|
|
7466
|
+
* `eth_getBlockByNumber`) so webhook delivery does not wait for an indexer.
|
|
7913
7467
|
*
|
|
7914
7468
|
* The chain head is injectable (tests pin a fixed historical window); only
|
|
7915
7469
|
* blocks at least `confirmations` behind head are emitted, giving at-least-once,
|
|
@@ -7938,9 +7492,9 @@ export declare namespace poll {
|
|
|
7938
7492
|
cache?: Store.Store | undefined;
|
|
7939
7493
|
/** Chain to poll. Callers loop over chains. */
|
|
7940
7494
|
chainId: number;
|
|
7941
|
-
/** viem RPC client for the chain
|
|
7495
|
+
/** viem RPC client for the chain. */
|
|
7942
7496
|
client: Viem.getClient.ReturnType;
|
|
7943
|
-
/** Reorg-safety window: only emit blocks this far behind head (default
|
|
7497
|
+
/** Reorg-safety window: only emit blocks this far behind head (default 1). */
|
|
7944
7498
|
confirmations?: number | undefined;
|
|
7945
7499
|
/** Database holding subscriptions + cursors. */
|
|
7946
7500
|
db: Db.Db;
|
|
@@ -7949,16 +7503,31 @@ export declare namespace poll {
|
|
|
7949
7503
|
* on Cloudflare pass a Queue producer so retry/backoff/DLQ are native.
|
|
7950
7504
|
*/
|
|
7951
7505
|
dispatch?: ((input: Dispatchable) => Promise<Webhooks.Result>) | undefined;
|
|
7506
|
+
/** Batch delivery transport. A successful result confirms every row in the input. */
|
|
7507
|
+
dispatchBatch?: ((input: readonly Dispatchable[], context: DispatchContext) => Promise<Webhooks.Result>) | undefined;
|
|
7952
7508
|
/** Event types to poll (default all). */
|
|
7953
7509
|
eventTypes?: readonly EventType[] | undefined;
|
|
7954
7510
|
/** Current chain head; the poller emits up to `head - confirmations`. */
|
|
7955
7511
|
headBlockNumber?: bigint | number | undefined;
|
|
7956
7512
|
/** Backfill cap: most blocks an RPC scanner inspects per tick (default 1000). */
|
|
7957
7513
|
maxBlocks?: number | undefined;
|
|
7514
|
+
/** Records the worst confirmed-head distance without changing the poll result. */
|
|
7515
|
+
onCursorLag?: ((blocks: number) => void) | undefined;
|
|
7516
|
+
/** Records bounded scan inputs before allocation and outcomes after completion. */
|
|
7517
|
+
onScanCheckpoint?: ((checkpoint: ScanCheckpoint) => void) | undefined;
|
|
7518
|
+
/** Records bounded, per-tick poll-stage timings without subscription identities. */
|
|
7519
|
+
onStage?: ((stage: Stage) => void) | undefined;
|
|
7520
|
+
/** Records subscriptions eligible for this poll before any scan runs. */
|
|
7521
|
+
onSubscriptions?: ((count: number) => void) | undefined;
|
|
7958
7522
|
/** Clock for envelope timestamps; injectable for tests. */
|
|
7959
7523
|
now?: (() => Date) | undefined;
|
|
7960
|
-
/**
|
|
7961
|
-
|
|
7524
|
+
/** Stops scanning and dispatch when the caller loses its execution lease. */
|
|
7525
|
+
signal?: AbortSignal | undefined;
|
|
7526
|
+
};
|
|
7527
|
+
/** Runtime context shared with a batch delivery transport. */
|
|
7528
|
+
type DispatchContext = {
|
|
7529
|
+
/** Database instance already resolved for this poll. */
|
|
7530
|
+
db: Db.Db;
|
|
7962
7531
|
};
|
|
7963
7532
|
/** Summary counters for one poll tick. */
|
|
7964
7533
|
type Result = {
|
|
@@ -7968,6 +7537,8 @@ export declare namespace poll {
|
|
|
7968
7537
|
dispatched: number;
|
|
7969
7538
|
/** Rows whose dispatch failed (pausing that subscription). */
|
|
7970
7539
|
failed: number;
|
|
7540
|
+
/** True when a bounded scan left committed work behind the same head. */
|
|
7541
|
+
hasMore?: boolean | undefined;
|
|
7971
7542
|
/** Highest confirmed block emitted this tick (`head - confirmations`). */
|
|
7972
7543
|
safeBlock: number;
|
|
7973
7544
|
/** Total rows scanned across all subscriptions. */
|
|
@@ -7975,15 +7546,47 @@ export declare namespace poll {
|
|
|
7975
7546
|
/** Active subscriptions visited. */
|
|
7976
7547
|
subscriptions: number;
|
|
7977
7548
|
};
|
|
7549
|
+
/** One scan boundary used to correlate production memory failures with workload shape. */
|
|
7550
|
+
type ScanCheckpoint = {
|
|
7551
|
+
/** Shared upper bound for concurrent upstream scans across event types. */
|
|
7552
|
+
concurrency: number;
|
|
7553
|
+
/** Scan duration, present only after completion. */
|
|
7554
|
+
durationMs?: number | undefined;
|
|
7555
|
+
/** Subscription event type scanned by this batch. */
|
|
7556
|
+
eventType: EventType;
|
|
7557
|
+
/** Subscriptions whose scan rejected, present only after completion. */
|
|
7558
|
+
failedSubscriptions?: number | undefined;
|
|
7559
|
+
/** Matching rows retained by completed pages, present only after completion. */
|
|
7560
|
+
matchedItems?: number | undefined;
|
|
7561
|
+
/** Largest block window requested by one subscription. */
|
|
7562
|
+
maxWindowBlocks: number;
|
|
7563
|
+
/** Whether the checkpoint precedes allocation or follows scan completion. */
|
|
7564
|
+
phase: 'complete' | 'start';
|
|
7565
|
+
/** Outcome of the completed RPC-backed scan. */
|
|
7566
|
+
outcome?: 'empty' | 'error' | 'missing' | 'ok' | undefined;
|
|
7567
|
+
/** JSON-RPC method used by this event type's scanner. */
|
|
7568
|
+
rpcMethod: 'eth_getBlockByNumber' | 'eth_getLogs';
|
|
7569
|
+
/** Subscriptions retained in this scan batch. */
|
|
7570
|
+
subscriptionCount: number;
|
|
7571
|
+
/** Maximum subscriptions retained by this event-type batch. */
|
|
7572
|
+
subscriptionLimit: number;
|
|
7573
|
+
/** Sum of subscription block windows in this scan batch. */
|
|
7574
|
+
totalWindowBlocks: number;
|
|
7575
|
+
};
|
|
7576
|
+
/** One bounded poll-stage timing observation. */
|
|
7577
|
+
type Stage = {
|
|
7578
|
+
/** Stage duration in milliseconds. */
|
|
7579
|
+
durationMs: number;
|
|
7580
|
+
/** Event type being processed, omitted for the shared RPC-head stage. */
|
|
7581
|
+
eventType?: EventType | undefined;
|
|
7582
|
+
/** Whether the stage completed. */
|
|
7583
|
+
outcome: 'error' | 'ok';
|
|
7584
|
+
/** Bounded stage name. */
|
|
7585
|
+
stage: MetricSink.PollStage;
|
|
7586
|
+
};
|
|
7978
7587
|
}
|
|
7979
7588
|
/** Returns the live RPC head block number for the chain. */
|
|
7980
7589
|
export declare function getRpcHead(client: Viem.getClient.ReturnType): Promise<number>;
|
|
7981
|
-
/**
|
|
7982
|
-
* Returns the highest block number TIDX has indexed for a chain (0 when none).
|
|
7983
|
-
* The legacy `token:transfer` type works back from this so it never scans past
|
|
7984
|
-
* the indexer.
|
|
7985
|
-
*/
|
|
7986
|
-
export declare function getIndexedHead(tidx: Tidx.Client, chainId: number): Promise<number>;
|
|
7987
7590
|
/**
|
|
7988
7591
|
* Validates `filters` against the schema for `eventType`, **failing closed**: an
|
|
7989
7592
|
* invalid filter throws {@link Webhooks.InvalidFilterError} instead of degrading
|
|
@@ -8006,4 +7609,52 @@ export declare function parseFilters(eventType: EventType, filters: Record<strin
|
|
|
8006
7609
|
* - `{ startsWith }` → hex prefix
|
|
8007
7610
|
*/
|
|
8008
7611
|
export declare function matchesOperator(value: string | undefined, op: unknown, kind?: 'number' | 'string'): boolean;
|
|
7612
|
+
/**
|
|
7613
|
+
* Matches one fetched block against a subscription set, producing the rows
|
|
7614
|
+
* each event type delivers. Invalid stored filters fail closed into `invalid`.
|
|
7615
|
+
*/
|
|
7616
|
+
export declare function scanBlock<const subscription extends scanBlock.Subscription>(options: scanBlock.Options<subscription>): scanBlock.Result<subscription>;
|
|
7617
|
+
export declare namespace scanBlock {
|
|
7618
|
+
/** The subscription fields matching consumes; extra fields flow through. */
|
|
7619
|
+
type Subscription = {
|
|
7620
|
+
/** Event type selecting the matcher and payload shape. */
|
|
7621
|
+
eventType: EventType;
|
|
7622
|
+
/** Stored filter predicates, validated fail-closed per event type. */
|
|
7623
|
+
filters: Record<string, unknown>;
|
|
7624
|
+
};
|
|
7625
|
+
/** One fetched block plus the subscriptions to match it against. */
|
|
7626
|
+
type Options<subscription extends Subscription> = {
|
|
7627
|
+
/** Raw `eth_getBlockByNumber(_, true)` result: header plus raw transactions. */
|
|
7628
|
+
block: Record<string, unknown>;
|
|
7629
|
+
/** Raw `eth_getLogs` entries for exactly this block, in log order. */
|
|
7630
|
+
logs: readonly RpcLog[];
|
|
7631
|
+
/** Active subscriptions for the chain; any mix of event types. */
|
|
7632
|
+
subscriptions: readonly subscription[];
|
|
7633
|
+
};
|
|
7634
|
+
/** One deliverable row for one subscription. */
|
|
7635
|
+
type Match<subscription extends Subscription> = {
|
|
7636
|
+
/** Block the row was produced from. */
|
|
7637
|
+
blockNumber: number;
|
|
7638
|
+
/** Payload the matching read endpoint returns (pre-enrichment). */
|
|
7639
|
+
data: unknown;
|
|
7640
|
+
/** Row position within the block (log or transaction index; 0 for blocks). */
|
|
7641
|
+
logIndex: number;
|
|
7642
|
+
/** The matched subscription, passed through verbatim. */
|
|
7643
|
+
subscription: subscription;
|
|
7644
|
+
};
|
|
7645
|
+
/** A subscription whose stored filters failed validation. */
|
|
7646
|
+
type Invalid<subscription extends Subscription> = {
|
|
7647
|
+
/** The validation failure. */
|
|
7648
|
+
error: unknown;
|
|
7649
|
+
/** The subscription with invalid filters. */
|
|
7650
|
+
subscription: subscription;
|
|
7651
|
+
};
|
|
7652
|
+
/** Matches plus fail-closed filter rejections. */
|
|
7653
|
+
type Result<subscription extends Subscription> = {
|
|
7654
|
+
/** Subscriptions skipped because their stored filters failed validation. */
|
|
7655
|
+
invalid: readonly Invalid<subscription>[];
|
|
7656
|
+
/** Deliverable rows in subscription order, block order within each type. */
|
|
7657
|
+
matches: readonly Match<subscription>[];
|
|
7658
|
+
};
|
|
7659
|
+
}
|
|
8009
7660
|
//# sourceMappingURL=webhooks.d.ts.map
|