tapimo 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +4887 -5074
- package/dist/App.d.ts.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/apps/verified-tokens.d.ts +168 -168
- package/dist/apps/Zones.d.ts +34 -22
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +9 -8
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +5198 -5099
- 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 +270 -270
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +32 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +52 -52
- package/dist/apps/data/routes/balances.d.ts +36 -36
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +135 -81
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/coingecko.d.ts +54 -54
- package/dist/apps/data/routes/earn.d.ts +512 -58
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +368 -44
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +120 -120
- 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/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/tokens.d.ts +461 -459
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +59 -51
- 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/verified-tokens.d.ts +37 -37
- package/dist/apps/data/routes/webhooks.d.ts +102 -505
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +484 -342
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +12 -12
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +3 -1
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/funding/App.d.ts +96 -96
- package/dist/apps/funding/routes/deposit-addresses.d.ts +52 -52
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.d.ts +4 -4
- package/dist/apps/management/App.d.ts +429 -727
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +24 -24
- package/dist/apps/management/routes/billing.d.ts +72 -72
- package/dist/apps/management/routes/faucet.d.ts +6 -6
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/invite-links.d.ts +38 -38
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/members.d.ts +30 -30
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +20 -20
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/management/routes/webhooks.d.ts +158 -573
- package/dist/apps/management/routes/webhooks.d.ts.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 +2 -2
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +17 -15
- package/dist/db/Db.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/webhookSubscriptions.d.ts +56 -3
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +76 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +112 -3
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +116 -3
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.js +1 -1
- package/dist/internal/Schema.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/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 +55 -0
- package/dist/internal/WebhookTransfer.d.ts.map +1 -0
- package/dist/internal/WebhookTransfer.js +296 -0
- package/dist/internal/WebhookTransfer.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +37 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -13
- 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 +3 -0
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +12 -1
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +3 -3
- package/src/Client.test-d.ts +60 -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 +83 -29
- package/src/apps/Zones.test.ts +5 -4
- package/src/apps/Zones.ts +9 -8
- package/src/apps/data/FxOracle.test.ts +18 -0
- package/src/apps/data/FxOracle.ts +28 -5
- package/src/apps/data/routes/activities.test.ts +19 -0
- package/src/apps/data/routes/activities.ts +34 -30
- package/src/apps/data/routes/balances.test.ts +119 -10
- package/src/apps/data/routes/balances.ts +154 -95
- package/src/apps/data/routes/blocks.test.ts +12 -6
- package/src/apps/data/routes/earn.test.ts +197 -0
- package/src/apps/data/routes/earn.ts +486 -44
- package/src/apps/data/routes/exchanges.test.ts +7 -6
- package/src/apps/data/routes/exchanges.ts +124 -117
- package/src/apps/data/routes/receipts.test.ts +24 -7
- package/src/apps/data/routes/receipts.ts +67 -50
- package/src/apps/data/routes/tokens.test.ts +51 -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.test.ts +402 -24
- package/src/apps/data/routes/transfers.ts +708 -101
- package/src/apps/data/routes/valuation.test.ts +26 -0
- package/src/apps/data/routes/valuation.ts +6 -2
- package/src/apps/data/routes/webhooks.test.ts +414 -130
- package/src/apps/data/routes/webhooks.ts +603 -419
- package/src/apps/data/routes/zones.ts +6 -1
- package/src/apps/funding/routes/quotes.test.ts +1 -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 +33 -19
- package/src/db/tables/sponsoredTransactions.ts +9 -2
- package/src/db/tables/webhookSubscriptions.ts +116 -4
- package/src/internal/EarnVaults.test.ts +2 -2
- package/src/internal/MetricSink.test.ts +518 -0
- package/src/internal/MetricSink.ts +266 -9
- package/src/internal/Schema.ts +1 -1
- package/src/internal/Tidx.test.ts +4 -4
- package/src/internal/Tidx.ts +1 -3
- 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.ts +426 -0
- package/src/internal/Webhooks.test.ts +137 -0
- package/src/internal/Webhooks.ts +131 -17
- package/src/internal/funding/Provider.test.ts +47 -7
- 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/relay.test.ts +1 -4
- package/src/internal/funding/providers/relay.ts +16 -1
|
@@ -15031,6 +15031,207 @@ export type Provider = {
|
|
|
15031
15031
|
export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
15032
15032
|
"/v1/addresses/:address/activities": {
|
|
15033
15033
|
$get: {
|
|
15034
|
+
output: null;
|
|
15035
|
+
outputFormat: "body";
|
|
15036
|
+
status: 402;
|
|
15037
|
+
input: {
|
|
15038
|
+
param: {
|
|
15039
|
+
address: `0x${string}`;
|
|
15040
|
+
};
|
|
15041
|
+
} & {
|
|
15042
|
+
query?: {
|
|
15043
|
+
chainId?: string | string[];
|
|
15044
|
+
cursor?: string | string[];
|
|
15045
|
+
group?: string | string[];
|
|
15046
|
+
include?: string | string[];
|
|
15047
|
+
limit?: string | string[];
|
|
15048
|
+
logs?: string | string[];
|
|
15049
|
+
'valuation.currency'?: string | string[];
|
|
15050
|
+
} | undefined;
|
|
15051
|
+
};
|
|
15052
|
+
} | {
|
|
15053
|
+
output: {
|
|
15054
|
+
error: {
|
|
15055
|
+
code: "api_key_malformed";
|
|
15056
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15057
|
+
message: string;
|
|
15058
|
+
};
|
|
15059
|
+
requestId: string;
|
|
15060
|
+
};
|
|
15061
|
+
outputFormat: "json";
|
|
15062
|
+
status: 400;
|
|
15063
|
+
input: {
|
|
15064
|
+
param: {
|
|
15065
|
+
address: `0x${string}`;
|
|
15066
|
+
};
|
|
15067
|
+
} & {
|
|
15068
|
+
query?: {
|
|
15069
|
+
chainId?: string | string[];
|
|
15070
|
+
cursor?: string | string[];
|
|
15071
|
+
group?: string | string[];
|
|
15072
|
+
include?: string | string[];
|
|
15073
|
+
limit?: string | string[];
|
|
15074
|
+
logs?: string | string[];
|
|
15075
|
+
'valuation.currency'?: string | string[];
|
|
15076
|
+
} | undefined;
|
|
15077
|
+
};
|
|
15078
|
+
} | {
|
|
15079
|
+
output: {
|
|
15080
|
+
error: {
|
|
15081
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
15082
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15083
|
+
message: string;
|
|
15084
|
+
};
|
|
15085
|
+
requestId: string;
|
|
15086
|
+
};
|
|
15087
|
+
outputFormat: "json";
|
|
15088
|
+
status: 401;
|
|
15089
|
+
input: {
|
|
15090
|
+
param: {
|
|
15091
|
+
address: `0x${string}`;
|
|
15092
|
+
};
|
|
15093
|
+
} & {
|
|
15094
|
+
query?: {
|
|
15095
|
+
chainId?: string | string[];
|
|
15096
|
+
cursor?: string | string[];
|
|
15097
|
+
group?: string | string[];
|
|
15098
|
+
include?: string | string[];
|
|
15099
|
+
limit?: string | string[];
|
|
15100
|
+
logs?: string | string[];
|
|
15101
|
+
'valuation.currency'?: string | string[];
|
|
15102
|
+
} | undefined;
|
|
15103
|
+
};
|
|
15104
|
+
} | {
|
|
15105
|
+
output: {
|
|
15106
|
+
error: {
|
|
15107
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
15108
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15109
|
+
message: string;
|
|
15110
|
+
};
|
|
15111
|
+
requestId: string;
|
|
15112
|
+
};
|
|
15113
|
+
outputFormat: "json";
|
|
15114
|
+
status: 403;
|
|
15115
|
+
input: {
|
|
15116
|
+
param: {
|
|
15117
|
+
address: `0x${string}`;
|
|
15118
|
+
};
|
|
15119
|
+
} & {
|
|
15120
|
+
query?: {
|
|
15121
|
+
chainId?: string | string[];
|
|
15122
|
+
cursor?: string | string[];
|
|
15123
|
+
group?: string | string[];
|
|
15124
|
+
include?: string | string[];
|
|
15125
|
+
limit?: string | string[];
|
|
15126
|
+
logs?: string | string[];
|
|
15127
|
+
'valuation.currency'?: string | string[];
|
|
15128
|
+
} | undefined;
|
|
15129
|
+
};
|
|
15130
|
+
} | {
|
|
15131
|
+
output: {
|
|
15132
|
+
error: {
|
|
15133
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
15134
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15135
|
+
message: string;
|
|
15136
|
+
};
|
|
15137
|
+
requestId: string;
|
|
15138
|
+
};
|
|
15139
|
+
outputFormat: "json";
|
|
15140
|
+
status: 429;
|
|
15141
|
+
input: {
|
|
15142
|
+
param: {
|
|
15143
|
+
address: `0x${string}`;
|
|
15144
|
+
};
|
|
15145
|
+
} & {
|
|
15146
|
+
query?: {
|
|
15147
|
+
chainId?: string | string[];
|
|
15148
|
+
cursor?: string | string[];
|
|
15149
|
+
group?: string | string[];
|
|
15150
|
+
include?: string | string[];
|
|
15151
|
+
limit?: string | string[];
|
|
15152
|
+
logs?: string | string[];
|
|
15153
|
+
'valuation.currency'?: string | string[];
|
|
15154
|
+
} | undefined;
|
|
15155
|
+
};
|
|
15156
|
+
} | {
|
|
15157
|
+
output: {
|
|
15158
|
+
error: {
|
|
15159
|
+
code: "query_invalid";
|
|
15160
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15161
|
+
message: string;
|
|
15162
|
+
};
|
|
15163
|
+
requestId: string;
|
|
15164
|
+
};
|
|
15165
|
+
outputFormat: "json";
|
|
15166
|
+
status: 400;
|
|
15167
|
+
input: {
|
|
15168
|
+
param: {
|
|
15169
|
+
address: `0x${string}`;
|
|
15170
|
+
};
|
|
15171
|
+
} & {
|
|
15172
|
+
query?: {
|
|
15173
|
+
chainId?: string | string[];
|
|
15174
|
+
cursor?: string | string[];
|
|
15175
|
+
group?: string | string[];
|
|
15176
|
+
include?: string | string[];
|
|
15177
|
+
limit?: string | string[];
|
|
15178
|
+
logs?: string | string[];
|
|
15179
|
+
'valuation.currency'?: string | string[];
|
|
15180
|
+
} | undefined;
|
|
15181
|
+
};
|
|
15182
|
+
} | {
|
|
15183
|
+
output: {
|
|
15184
|
+
error: {
|
|
15185
|
+
code: "upstream_error";
|
|
15186
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15187
|
+
message: string;
|
|
15188
|
+
};
|
|
15189
|
+
requestId: string;
|
|
15190
|
+
};
|
|
15191
|
+
outputFormat: "json";
|
|
15192
|
+
status: 502;
|
|
15193
|
+
input: {
|
|
15194
|
+
param: {
|
|
15195
|
+
address: `0x${string}`;
|
|
15196
|
+
};
|
|
15197
|
+
} & {
|
|
15198
|
+
query?: {
|
|
15199
|
+
chainId?: string | string[];
|
|
15200
|
+
cursor?: string | string[];
|
|
15201
|
+
group?: string | string[];
|
|
15202
|
+
include?: string | string[];
|
|
15203
|
+
limit?: string | string[];
|
|
15204
|
+
logs?: string | string[];
|
|
15205
|
+
'valuation.currency'?: string | string[];
|
|
15206
|
+
} | undefined;
|
|
15207
|
+
};
|
|
15208
|
+
} | {
|
|
15209
|
+
output: {
|
|
15210
|
+
error: {
|
|
15211
|
+
code: "address_invalid";
|
|
15212
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
15213
|
+
message: string;
|
|
15214
|
+
};
|
|
15215
|
+
requestId: string;
|
|
15216
|
+
};
|
|
15217
|
+
outputFormat: "json";
|
|
15218
|
+
status: 400;
|
|
15219
|
+
input: {
|
|
15220
|
+
param: {
|
|
15221
|
+
address: `0x${string}`;
|
|
15222
|
+
};
|
|
15223
|
+
} & {
|
|
15224
|
+
query?: {
|
|
15225
|
+
chainId?: string | string[];
|
|
15226
|
+
cursor?: string | string[];
|
|
15227
|
+
group?: string | string[];
|
|
15228
|
+
include?: string | string[];
|
|
15229
|
+
limit?: string | string[];
|
|
15230
|
+
logs?: string | string[];
|
|
15231
|
+
'valuation.currency'?: string | string[];
|
|
15232
|
+
} | undefined;
|
|
15233
|
+
};
|
|
15234
|
+
} | {
|
|
15034
15235
|
output: {
|
|
15035
15236
|
data: ({
|
|
15036
15237
|
perspective: "incoming" | "outgoing";
|
|
@@ -18619,6 +18820,44 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18619
18820
|
'valuation.currency'?: string | string[];
|
|
18620
18821
|
} | undefined;
|
|
18621
18822
|
};
|
|
18823
|
+
};
|
|
18824
|
+
};
|
|
18825
|
+
}, "/", "/v1/addresses/:address/activities">;
|
|
18826
|
+
export declare namespace addresses {
|
|
18827
|
+
/** Options for the address-scoped activity handlers. */
|
|
18828
|
+
type Options = {
|
|
18829
|
+
/** FX configuration backing amount valuation. */
|
|
18830
|
+
fx?: Valuation.addresses.Fx | undefined;
|
|
18831
|
+
};
|
|
18832
|
+
}
|
|
18833
|
+
/**
|
|
18834
|
+
* Creates transaction-scoped activity handlers, mounted under the
|
|
18835
|
+
* `/transactions` composer. Exposes `GET /:transactionHash/activities`.
|
|
18836
|
+
*
|
|
18837
|
+
* Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
|
|
18838
|
+
* over a single transaction's logs, anchored on the transaction sender as the
|
|
18839
|
+
* viewer (a transaction-scoped feed has no subject account). Returns the
|
|
18840
|
+
* classified item(s) — usually one headline activity — with the full per-tx
|
|
18841
|
+
* event set available via `logs=true`.
|
|
18842
|
+
*/
|
|
18843
|
+
export declare function transactions(options?: transactions.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
18844
|
+
"/v1/transactions/:transactionHash/activities": {
|
|
18845
|
+
$get: {
|
|
18846
|
+
output: null;
|
|
18847
|
+
outputFormat: "body";
|
|
18848
|
+
status: 402;
|
|
18849
|
+
input: {
|
|
18850
|
+
param: {
|
|
18851
|
+
transactionHash: `0x${string}`;
|
|
18852
|
+
};
|
|
18853
|
+
} & {
|
|
18854
|
+
query?: {
|
|
18855
|
+
chainId?: string | string[];
|
|
18856
|
+
include?: string | string[];
|
|
18857
|
+
logs?: string | string[];
|
|
18858
|
+
'valuation.currency'?: string | string[];
|
|
18859
|
+
} | undefined;
|
|
18860
|
+
};
|
|
18622
18861
|
} | {
|
|
18623
18862
|
output: {
|
|
18624
18863
|
error: {
|
|
@@ -18632,15 +18871,12 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18632
18871
|
status: 400;
|
|
18633
18872
|
input: {
|
|
18634
18873
|
param: {
|
|
18635
|
-
|
|
18874
|
+
transactionHash: `0x${string}`;
|
|
18636
18875
|
};
|
|
18637
18876
|
} & {
|
|
18638
18877
|
query?: {
|
|
18639
18878
|
chainId?: string | string[];
|
|
18640
|
-
cursor?: string | string[];
|
|
18641
|
-
group?: string | string[];
|
|
18642
18879
|
include?: string | string[];
|
|
18643
|
-
limit?: string | string[];
|
|
18644
18880
|
logs?: string | string[];
|
|
18645
18881
|
'valuation.currency'?: string | string[];
|
|
18646
18882
|
} | undefined;
|
|
@@ -18648,25 +18884,22 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18648
18884
|
} | {
|
|
18649
18885
|
output: {
|
|
18650
18886
|
error: {
|
|
18651
|
-
code: "
|
|
18887
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
18652
18888
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18653
18889
|
message: string;
|
|
18654
18890
|
};
|
|
18655
18891
|
requestId: string;
|
|
18656
18892
|
};
|
|
18657
18893
|
outputFormat: "json";
|
|
18658
|
-
status:
|
|
18894
|
+
status: 401;
|
|
18659
18895
|
input: {
|
|
18660
18896
|
param: {
|
|
18661
|
-
|
|
18897
|
+
transactionHash: `0x${string}`;
|
|
18662
18898
|
};
|
|
18663
18899
|
} & {
|
|
18664
18900
|
query?: {
|
|
18665
18901
|
chainId?: string | string[];
|
|
18666
|
-
cursor?: string | string[];
|
|
18667
|
-
group?: string | string[];
|
|
18668
18902
|
include?: string | string[];
|
|
18669
|
-
limit?: string | string[];
|
|
18670
18903
|
logs?: string | string[];
|
|
18671
18904
|
'valuation.currency'?: string | string[];
|
|
18672
18905
|
} | undefined;
|
|
@@ -18674,25 +18907,22 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18674
18907
|
} | {
|
|
18675
18908
|
output: {
|
|
18676
18909
|
error: {
|
|
18677
|
-
code: "
|
|
18910
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
18678
18911
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18679
18912
|
message: string;
|
|
18680
18913
|
};
|
|
18681
18914
|
requestId: string;
|
|
18682
18915
|
};
|
|
18683
18916
|
outputFormat: "json";
|
|
18684
|
-
status:
|
|
18917
|
+
status: 403;
|
|
18685
18918
|
input: {
|
|
18686
18919
|
param: {
|
|
18687
|
-
|
|
18920
|
+
transactionHash: `0x${string}`;
|
|
18688
18921
|
};
|
|
18689
18922
|
} & {
|
|
18690
18923
|
query?: {
|
|
18691
18924
|
chainId?: string | string[];
|
|
18692
|
-
cursor?: string | string[];
|
|
18693
|
-
group?: string | string[];
|
|
18694
18925
|
include?: string | string[];
|
|
18695
|
-
limit?: string | string[];
|
|
18696
18926
|
logs?: string | string[];
|
|
18697
18927
|
'valuation.currency'?: string | string[];
|
|
18698
18928
|
} | undefined;
|
|
@@ -18700,44 +18930,45 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18700
18930
|
} | {
|
|
18701
18931
|
output: {
|
|
18702
18932
|
error: {
|
|
18703
|
-
code: "
|
|
18933
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
18704
18934
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18705
18935
|
message: string;
|
|
18706
18936
|
};
|
|
18707
18937
|
requestId: string;
|
|
18708
18938
|
};
|
|
18709
18939
|
outputFormat: "json";
|
|
18710
|
-
status:
|
|
18940
|
+
status: 429;
|
|
18711
18941
|
input: {
|
|
18712
18942
|
param: {
|
|
18713
|
-
|
|
18943
|
+
transactionHash: `0x${string}`;
|
|
18714
18944
|
};
|
|
18715
18945
|
} & {
|
|
18716
18946
|
query?: {
|
|
18717
18947
|
chainId?: string | string[];
|
|
18718
|
-
cursor?: string | string[];
|
|
18719
|
-
group?: string | string[];
|
|
18720
18948
|
include?: string | string[];
|
|
18721
|
-
limit?: string | string[];
|
|
18722
18949
|
logs?: string | string[];
|
|
18723
18950
|
'valuation.currency'?: string | string[];
|
|
18724
18951
|
} | undefined;
|
|
18725
18952
|
};
|
|
18726
18953
|
} | {
|
|
18727
|
-
output:
|
|
18728
|
-
|
|
18729
|
-
|
|
18954
|
+
output: {
|
|
18955
|
+
error: {
|
|
18956
|
+
code: "query_invalid";
|
|
18957
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
18958
|
+
message: string;
|
|
18959
|
+
};
|
|
18960
|
+
requestId: string;
|
|
18961
|
+
};
|
|
18962
|
+
outputFormat: "json";
|
|
18963
|
+
status: 400;
|
|
18730
18964
|
input: {
|
|
18731
18965
|
param: {
|
|
18732
|
-
|
|
18966
|
+
transactionHash: `0x${string}`;
|
|
18733
18967
|
};
|
|
18734
18968
|
} & {
|
|
18735
18969
|
query?: {
|
|
18736
18970
|
chainId?: string | string[];
|
|
18737
|
-
cursor?: string | string[];
|
|
18738
|
-
group?: string | string[];
|
|
18739
18971
|
include?: string | string[];
|
|
18740
|
-
limit?: string | string[];
|
|
18741
18972
|
logs?: string | string[];
|
|
18742
18973
|
'valuation.currency'?: string | string[];
|
|
18743
18974
|
} | undefined;
|
|
@@ -18745,25 +18976,22 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18745
18976
|
} | {
|
|
18746
18977
|
output: {
|
|
18747
18978
|
error: {
|
|
18748
|
-
code: "
|
|
18979
|
+
code: "upstream_error";
|
|
18749
18980
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18750
18981
|
message: string;
|
|
18751
18982
|
};
|
|
18752
18983
|
requestId: string;
|
|
18753
18984
|
};
|
|
18754
18985
|
outputFormat: "json";
|
|
18755
|
-
status:
|
|
18986
|
+
status: 502;
|
|
18756
18987
|
input: {
|
|
18757
18988
|
param: {
|
|
18758
|
-
|
|
18989
|
+
transactionHash: `0x${string}`;
|
|
18759
18990
|
};
|
|
18760
18991
|
} & {
|
|
18761
18992
|
query?: {
|
|
18762
18993
|
chainId?: string | string[];
|
|
18763
|
-
cursor?: string | string[];
|
|
18764
|
-
group?: string | string[];
|
|
18765
18994
|
include?: string | string[];
|
|
18766
|
-
limit?: string | string[];
|
|
18767
18995
|
logs?: string | string[];
|
|
18768
18996
|
'valuation.currency'?: string | string[];
|
|
18769
18997
|
} | undefined;
|
|
@@ -18771,25 +18999,22 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18771
18999
|
} | {
|
|
18772
19000
|
output: {
|
|
18773
19001
|
error: {
|
|
18774
|
-
code: "
|
|
19002
|
+
code: "transaction_invalid";
|
|
18775
19003
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18776
19004
|
message: string;
|
|
18777
19005
|
};
|
|
18778
19006
|
requestId: string;
|
|
18779
19007
|
};
|
|
18780
19008
|
outputFormat: "json";
|
|
18781
|
-
status:
|
|
19009
|
+
status: 400;
|
|
18782
19010
|
input: {
|
|
18783
19011
|
param: {
|
|
18784
|
-
|
|
19012
|
+
transactionHash: `0x${string}`;
|
|
18785
19013
|
};
|
|
18786
19014
|
} & {
|
|
18787
19015
|
query?: {
|
|
18788
19016
|
chainId?: string | string[];
|
|
18789
|
-
cursor?: string | string[];
|
|
18790
|
-
group?: string | string[];
|
|
18791
19017
|
include?: string | string[];
|
|
18792
|
-
limit?: string | string[];
|
|
18793
19018
|
logs?: string | string[];
|
|
18794
19019
|
'valuation.currency'?: string | string[];
|
|
18795
19020
|
} | undefined;
|
|
@@ -18797,52 +19022,27 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18797
19022
|
} | {
|
|
18798
19023
|
output: {
|
|
18799
19024
|
error: {
|
|
18800
|
-
code: "
|
|
19025
|
+
code: "transaction_not_found";
|
|
18801
19026
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18802
19027
|
message: string;
|
|
18803
19028
|
};
|
|
18804
19029
|
requestId: string;
|
|
18805
19030
|
};
|
|
18806
19031
|
outputFormat: "json";
|
|
18807
|
-
status:
|
|
19032
|
+
status: 404;
|
|
18808
19033
|
input: {
|
|
18809
19034
|
param: {
|
|
18810
|
-
|
|
19035
|
+
transactionHash: `0x${string}`;
|
|
18811
19036
|
};
|
|
18812
19037
|
} & {
|
|
18813
19038
|
query?: {
|
|
18814
19039
|
chainId?: string | string[];
|
|
18815
|
-
cursor?: string | string[];
|
|
18816
|
-
group?: string | string[];
|
|
18817
19040
|
include?: string | string[];
|
|
18818
|
-
limit?: string | string[];
|
|
18819
19041
|
logs?: string | string[];
|
|
18820
19042
|
'valuation.currency'?: string | string[];
|
|
18821
19043
|
} | undefined;
|
|
18822
19044
|
};
|
|
18823
|
-
}
|
|
18824
|
-
};
|
|
18825
|
-
}, "/", "/v1/addresses/:address/activities">;
|
|
18826
|
-
export declare namespace addresses {
|
|
18827
|
-
/** Options for the address-scoped activity handlers. */
|
|
18828
|
-
type Options = {
|
|
18829
|
-
/** FX configuration backing amount valuation. */
|
|
18830
|
-
fx?: Valuation.addresses.Fx | undefined;
|
|
18831
|
-
};
|
|
18832
|
-
}
|
|
18833
|
-
/**
|
|
18834
|
-
* Creates transaction-scoped activity handlers, mounted under the
|
|
18835
|
-
* `/transactions` composer. Exposes `GET /:transactionHash/activities`.
|
|
18836
|
-
*
|
|
18837
|
-
* Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
|
|
18838
|
-
* over a single transaction's logs, anchored on the transaction sender as the
|
|
18839
|
-
* viewer (a transaction-scoped feed has no subject account). Returns the
|
|
18840
|
-
* classified item(s) — usually one headline activity — with the full per-tx
|
|
18841
|
-
* event set available via `logs=true`.
|
|
18842
|
-
*/
|
|
18843
|
-
export declare function transactions(options?: transactions.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
18844
|
-
"/v1/transactions/:transactionHash/activities": {
|
|
18845
|
-
$get: {
|
|
19045
|
+
} | {
|
|
18846
19046
|
output: {
|
|
18847
19047
|
data: ({
|
|
18848
19048
|
perspective: "incoming" | "outgoing";
|
|
@@ -20642,206 +20842,6 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
20642
20842
|
'valuation.currency'?: string | string[];
|
|
20643
20843
|
} | undefined;
|
|
20644
20844
|
};
|
|
20645
|
-
} | {
|
|
20646
|
-
output: {
|
|
20647
|
-
error: {
|
|
20648
|
-
code: "api_key_malformed";
|
|
20649
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20650
|
-
message: string;
|
|
20651
|
-
};
|
|
20652
|
-
requestId: string;
|
|
20653
|
-
};
|
|
20654
|
-
outputFormat: "json";
|
|
20655
|
-
status: 400;
|
|
20656
|
-
input: {
|
|
20657
|
-
param: {
|
|
20658
|
-
transactionHash: `0x${string}`;
|
|
20659
|
-
};
|
|
20660
|
-
} & {
|
|
20661
|
-
query?: {
|
|
20662
|
-
chainId?: string | string[];
|
|
20663
|
-
include?: string | string[];
|
|
20664
|
-
logs?: string | string[];
|
|
20665
|
-
'valuation.currency'?: string | string[];
|
|
20666
|
-
} | undefined;
|
|
20667
|
-
};
|
|
20668
|
-
} | {
|
|
20669
|
-
output: {
|
|
20670
|
-
error: {
|
|
20671
|
-
code: "query_invalid";
|
|
20672
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20673
|
-
message: string;
|
|
20674
|
-
};
|
|
20675
|
-
requestId: string;
|
|
20676
|
-
};
|
|
20677
|
-
outputFormat: "json";
|
|
20678
|
-
status: 400;
|
|
20679
|
-
input: {
|
|
20680
|
-
param: {
|
|
20681
|
-
transactionHash: `0x${string}`;
|
|
20682
|
-
};
|
|
20683
|
-
} & {
|
|
20684
|
-
query?: {
|
|
20685
|
-
chainId?: string | string[];
|
|
20686
|
-
include?: string | string[];
|
|
20687
|
-
logs?: string | string[];
|
|
20688
|
-
'valuation.currency'?: string | string[];
|
|
20689
|
-
} | undefined;
|
|
20690
|
-
};
|
|
20691
|
-
} | {
|
|
20692
|
-
output: {
|
|
20693
|
-
error: {
|
|
20694
|
-
code: "transaction_invalid";
|
|
20695
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20696
|
-
message: string;
|
|
20697
|
-
};
|
|
20698
|
-
requestId: string;
|
|
20699
|
-
};
|
|
20700
|
-
outputFormat: "json";
|
|
20701
|
-
status: 400;
|
|
20702
|
-
input: {
|
|
20703
|
-
param: {
|
|
20704
|
-
transactionHash: `0x${string}`;
|
|
20705
|
-
};
|
|
20706
|
-
} & {
|
|
20707
|
-
query?: {
|
|
20708
|
-
chainId?: string | string[];
|
|
20709
|
-
include?: string | string[];
|
|
20710
|
-
logs?: string | string[];
|
|
20711
|
-
'valuation.currency'?: string | string[];
|
|
20712
|
-
} | undefined;
|
|
20713
|
-
};
|
|
20714
|
-
} | {
|
|
20715
|
-
output: {
|
|
20716
|
-
error: {
|
|
20717
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
20718
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20719
|
-
message: string;
|
|
20720
|
-
};
|
|
20721
|
-
requestId: string;
|
|
20722
|
-
};
|
|
20723
|
-
outputFormat: "json";
|
|
20724
|
-
status: 401;
|
|
20725
|
-
input: {
|
|
20726
|
-
param: {
|
|
20727
|
-
transactionHash: `0x${string}`;
|
|
20728
|
-
};
|
|
20729
|
-
} & {
|
|
20730
|
-
query?: {
|
|
20731
|
-
chainId?: string | string[];
|
|
20732
|
-
include?: string | string[];
|
|
20733
|
-
logs?: string | string[];
|
|
20734
|
-
'valuation.currency'?: string | string[];
|
|
20735
|
-
} | undefined;
|
|
20736
|
-
};
|
|
20737
|
-
} | {
|
|
20738
|
-
output: null;
|
|
20739
|
-
outputFormat: "body";
|
|
20740
|
-
status: 402;
|
|
20741
|
-
input: {
|
|
20742
|
-
param: {
|
|
20743
|
-
transactionHash: `0x${string}`;
|
|
20744
|
-
};
|
|
20745
|
-
} & {
|
|
20746
|
-
query?: {
|
|
20747
|
-
chainId?: string | string[];
|
|
20748
|
-
include?: string | string[];
|
|
20749
|
-
logs?: string | string[];
|
|
20750
|
-
'valuation.currency'?: string | string[];
|
|
20751
|
-
} | undefined;
|
|
20752
|
-
};
|
|
20753
|
-
} | {
|
|
20754
|
-
output: {
|
|
20755
|
-
error: {
|
|
20756
|
-
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
20757
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20758
|
-
message: string;
|
|
20759
|
-
};
|
|
20760
|
-
requestId: string;
|
|
20761
|
-
};
|
|
20762
|
-
outputFormat: "json";
|
|
20763
|
-
status: 403;
|
|
20764
|
-
input: {
|
|
20765
|
-
param: {
|
|
20766
|
-
transactionHash: `0x${string}`;
|
|
20767
|
-
};
|
|
20768
|
-
} & {
|
|
20769
|
-
query?: {
|
|
20770
|
-
chainId?: string | string[];
|
|
20771
|
-
include?: string | string[];
|
|
20772
|
-
logs?: string | string[];
|
|
20773
|
-
'valuation.currency'?: string | string[];
|
|
20774
|
-
} | undefined;
|
|
20775
|
-
};
|
|
20776
|
-
} | {
|
|
20777
|
-
output: {
|
|
20778
|
-
error: {
|
|
20779
|
-
code: "transaction_not_found";
|
|
20780
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20781
|
-
message: string;
|
|
20782
|
-
};
|
|
20783
|
-
requestId: string;
|
|
20784
|
-
};
|
|
20785
|
-
outputFormat: "json";
|
|
20786
|
-
status: 404;
|
|
20787
|
-
input: {
|
|
20788
|
-
param: {
|
|
20789
|
-
transactionHash: `0x${string}`;
|
|
20790
|
-
};
|
|
20791
|
-
} & {
|
|
20792
|
-
query?: {
|
|
20793
|
-
chainId?: string | string[];
|
|
20794
|
-
include?: string | string[];
|
|
20795
|
-
logs?: string | string[];
|
|
20796
|
-
'valuation.currency'?: string | string[];
|
|
20797
|
-
} | undefined;
|
|
20798
|
-
};
|
|
20799
|
-
} | {
|
|
20800
|
-
output: {
|
|
20801
|
-
error: {
|
|
20802
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
20803
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20804
|
-
message: string;
|
|
20805
|
-
};
|
|
20806
|
-
requestId: string;
|
|
20807
|
-
};
|
|
20808
|
-
outputFormat: "json";
|
|
20809
|
-
status: 429;
|
|
20810
|
-
input: {
|
|
20811
|
-
param: {
|
|
20812
|
-
transactionHash: `0x${string}`;
|
|
20813
|
-
};
|
|
20814
|
-
} & {
|
|
20815
|
-
query?: {
|
|
20816
|
-
chainId?: string | string[];
|
|
20817
|
-
include?: string | string[];
|
|
20818
|
-
logs?: string | string[];
|
|
20819
|
-
'valuation.currency'?: string | string[];
|
|
20820
|
-
} | undefined;
|
|
20821
|
-
};
|
|
20822
|
-
} | {
|
|
20823
|
-
output: {
|
|
20824
|
-
error: {
|
|
20825
|
-
code: "upstream_error";
|
|
20826
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
20827
|
-
message: string;
|
|
20828
|
-
};
|
|
20829
|
-
requestId: string;
|
|
20830
|
-
};
|
|
20831
|
-
outputFormat: "json";
|
|
20832
|
-
status: 502;
|
|
20833
|
-
input: {
|
|
20834
|
-
param: {
|
|
20835
|
-
transactionHash: `0x${string}`;
|
|
20836
|
-
};
|
|
20837
|
-
} & {
|
|
20838
|
-
query?: {
|
|
20839
|
-
chainId?: string | string[];
|
|
20840
|
-
include?: string | string[];
|
|
20841
|
-
logs?: string | string[];
|
|
20842
|
-
'valuation.currency'?: string | string[];
|
|
20843
|
-
} | undefined;
|
|
20844
|
-
};
|
|
20845
20845
|
};
|
|
20846
20846
|
};
|
|
20847
20847
|
}, "/", "/v1/transactions/:transactionHash/activities">;
|