tapimo 0.8.0 → 0.9.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 +2095 -2111
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +0 -1
- package/dist/App.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +166 -166
- package/dist/apps/data/App.d.ts +4084 -3845
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +270 -270
- package/dist/apps/data/routes/addresses.d.ts +248 -17
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +272 -2
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +114 -2
- 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/earn.d.ts +65 -3
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +259 -14
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokens.d.ts +454 -454
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/funding/App.d.ts +40 -299
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +20 -5
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +43 -434
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +21 -103
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/quotes.d.ts +89 -89
- package/dist/apps/funding/routes/transfers.js +5 -5
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +134 -134
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +8 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/fundingDeposits.d.ts +18 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
- package/dist/db/tables/fundingDeposits.js +46 -2
- package/dist/db/tables/fundingDeposits.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +11 -2
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +6 -6
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +101 -16
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +6 -2
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +1 -1
- package/src/App.test.ts +32 -0
- package/src/App.ts +4 -1
- package/src/Client.test-d.ts +56 -33
- package/src/apps/composition.test.ts +39 -10
- package/src/apps/data/routes/balances.test.ts +42 -0
- package/src/apps/data/routes/balances.ts +218 -85
- package/src/apps/data/routes/earn.test.ts +89 -9
- package/src/apps/data/routes/earn.ts +355 -14
- package/src/apps/funding/App.ts +20 -5
- package/src/apps/funding/routes/deposit-addresses.test.ts +43 -22
- package/src/apps/funding/routes/deposit-addresses.ts +34 -117
- package/src/apps/funding/routes/transfers.test.ts +6 -25
- package/src/apps/funding/routes/transfers.ts +5 -5
- package/src/db/Db.ts +9 -0
- package/src/db/tables/fundingDeposits.test.ts +101 -0
- package/src/db/tables/fundingDeposits.ts +71 -2
- package/src/internal/Auth.test.ts +28 -0
- package/src/internal/Auth.ts +15 -1
- package/src/internal/funding/Provider.ts +4 -4
- package/src/internal/funding/Reconciliation.test.ts +292 -54
- package/src/internal/funding/Reconciliation.ts +160 -53
- package/src/internal/funding/SourceObservation.test.ts +2 -2
- package/src/internal/funding/providers/relay.ts +7 -2
|
@@ -15031,207 +15031,6 @@ 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
|
-
} | {
|
|
15235
15034
|
output: {
|
|
15236
15035
|
data: ({
|
|
15237
15036
|
perspective: "incoming" | "outgoing";
|
|
@@ -18820,44 +18619,6 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
|
|
|
18820
18619
|
'valuation.currency'?: string | string[];
|
|
18821
18620
|
} | undefined;
|
|
18822
18621
|
};
|
|
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
|
-
};
|
|
18861
18622
|
} | {
|
|
18862
18623
|
output: {
|
|
18863
18624
|
error: {
|
|
@@ -18871,12 +18632,15 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
18871
18632
|
status: 400;
|
|
18872
18633
|
input: {
|
|
18873
18634
|
param: {
|
|
18874
|
-
|
|
18635
|
+
address: `0x${string}`;
|
|
18875
18636
|
};
|
|
18876
18637
|
} & {
|
|
18877
18638
|
query?: {
|
|
18878
18639
|
chainId?: string | string[];
|
|
18640
|
+
cursor?: string | string[];
|
|
18641
|
+
group?: string | string[];
|
|
18879
18642
|
include?: string | string[];
|
|
18643
|
+
limit?: string | string[];
|
|
18880
18644
|
logs?: string | string[];
|
|
18881
18645
|
'valuation.currency'?: string | string[];
|
|
18882
18646
|
} | undefined;
|
|
@@ -18884,22 +18648,25 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
18884
18648
|
} | {
|
|
18885
18649
|
output: {
|
|
18886
18650
|
error: {
|
|
18887
|
-
code: "
|
|
18651
|
+
code: "query_invalid";
|
|
18888
18652
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18889
18653
|
message: string;
|
|
18890
18654
|
};
|
|
18891
18655
|
requestId: string;
|
|
18892
18656
|
};
|
|
18893
18657
|
outputFormat: "json";
|
|
18894
|
-
status:
|
|
18658
|
+
status: 400;
|
|
18895
18659
|
input: {
|
|
18896
18660
|
param: {
|
|
18897
|
-
|
|
18661
|
+
address: `0x${string}`;
|
|
18898
18662
|
};
|
|
18899
18663
|
} & {
|
|
18900
18664
|
query?: {
|
|
18901
18665
|
chainId?: string | string[];
|
|
18666
|
+
cursor?: string | string[];
|
|
18667
|
+
group?: string | string[];
|
|
18902
18668
|
include?: string | string[];
|
|
18669
|
+
limit?: string | string[];
|
|
18903
18670
|
logs?: string | string[];
|
|
18904
18671
|
'valuation.currency'?: string | string[];
|
|
18905
18672
|
} | undefined;
|
|
@@ -18907,22 +18674,25 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
18907
18674
|
} | {
|
|
18908
18675
|
output: {
|
|
18909
18676
|
error: {
|
|
18910
|
-
code: "
|
|
18677
|
+
code: "address_invalid";
|
|
18911
18678
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18912
18679
|
message: string;
|
|
18913
18680
|
};
|
|
18914
18681
|
requestId: string;
|
|
18915
18682
|
};
|
|
18916
18683
|
outputFormat: "json";
|
|
18917
|
-
status:
|
|
18684
|
+
status: 400;
|
|
18918
18685
|
input: {
|
|
18919
18686
|
param: {
|
|
18920
|
-
|
|
18687
|
+
address: `0x${string}`;
|
|
18921
18688
|
};
|
|
18922
18689
|
} & {
|
|
18923
18690
|
query?: {
|
|
18924
18691
|
chainId?: string | string[];
|
|
18692
|
+
cursor?: string | string[];
|
|
18693
|
+
group?: string | string[];
|
|
18925
18694
|
include?: string | string[];
|
|
18695
|
+
limit?: string | string[];
|
|
18926
18696
|
logs?: string | string[];
|
|
18927
18697
|
'valuation.currency'?: string | string[];
|
|
18928
18698
|
} | undefined;
|
|
@@ -18930,45 +18700,44 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
18930
18700
|
} | {
|
|
18931
18701
|
output: {
|
|
18932
18702
|
error: {
|
|
18933
|
-
code: "
|
|
18703
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
18934
18704
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18935
18705
|
message: string;
|
|
18936
18706
|
};
|
|
18937
18707
|
requestId: string;
|
|
18938
18708
|
};
|
|
18939
18709
|
outputFormat: "json";
|
|
18940
|
-
status:
|
|
18710
|
+
status: 401;
|
|
18941
18711
|
input: {
|
|
18942
18712
|
param: {
|
|
18943
|
-
|
|
18713
|
+
address: `0x${string}`;
|
|
18944
18714
|
};
|
|
18945
18715
|
} & {
|
|
18946
18716
|
query?: {
|
|
18947
18717
|
chainId?: string | string[];
|
|
18718
|
+
cursor?: string | string[];
|
|
18719
|
+
group?: string | string[];
|
|
18948
18720
|
include?: string | string[];
|
|
18721
|
+
limit?: string | string[];
|
|
18949
18722
|
logs?: string | string[];
|
|
18950
18723
|
'valuation.currency'?: string | string[];
|
|
18951
18724
|
} | undefined;
|
|
18952
18725
|
};
|
|
18953
18726
|
} | {
|
|
18954
|
-
output:
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18958
|
-
message: string;
|
|
18959
|
-
};
|
|
18960
|
-
requestId: string;
|
|
18961
|
-
};
|
|
18962
|
-
outputFormat: "json";
|
|
18963
|
-
status: 400;
|
|
18727
|
+
output: null;
|
|
18728
|
+
outputFormat: "body";
|
|
18729
|
+
status: 402;
|
|
18964
18730
|
input: {
|
|
18965
18731
|
param: {
|
|
18966
|
-
|
|
18732
|
+
address: `0x${string}`;
|
|
18967
18733
|
};
|
|
18968
18734
|
} & {
|
|
18969
18735
|
query?: {
|
|
18970
18736
|
chainId?: string | string[];
|
|
18737
|
+
cursor?: string | string[];
|
|
18738
|
+
group?: string | string[];
|
|
18971
18739
|
include?: string | string[];
|
|
18740
|
+
limit?: string | string[];
|
|
18972
18741
|
logs?: string | string[];
|
|
18973
18742
|
'valuation.currency'?: string | string[];
|
|
18974
18743
|
} | undefined;
|
|
@@ -18976,22 +18745,25 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
18976
18745
|
} | {
|
|
18977
18746
|
output: {
|
|
18978
18747
|
error: {
|
|
18979
|
-
code: "
|
|
18748
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
18980
18749
|
details?: readonly Response.error.Detail[] | undefined;
|
|
18981
18750
|
message: string;
|
|
18982
18751
|
};
|
|
18983
18752
|
requestId: string;
|
|
18984
18753
|
};
|
|
18985
18754
|
outputFormat: "json";
|
|
18986
|
-
status:
|
|
18755
|
+
status: 403;
|
|
18987
18756
|
input: {
|
|
18988
18757
|
param: {
|
|
18989
|
-
|
|
18758
|
+
address: `0x${string}`;
|
|
18990
18759
|
};
|
|
18991
18760
|
} & {
|
|
18992
18761
|
query?: {
|
|
18993
18762
|
chainId?: string | string[];
|
|
18763
|
+
cursor?: string | string[];
|
|
18764
|
+
group?: string | string[];
|
|
18994
18765
|
include?: string | string[];
|
|
18766
|
+
limit?: string | string[];
|
|
18995
18767
|
logs?: string | string[];
|
|
18996
18768
|
'valuation.currency'?: string | string[];
|
|
18997
18769
|
} | undefined;
|
|
@@ -18999,22 +18771,25 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
18999
18771
|
} | {
|
|
19000
18772
|
output: {
|
|
19001
18773
|
error: {
|
|
19002
|
-
code: "
|
|
18774
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
19003
18775
|
details?: readonly Response.error.Detail[] | undefined;
|
|
19004
18776
|
message: string;
|
|
19005
18777
|
};
|
|
19006
18778
|
requestId: string;
|
|
19007
18779
|
};
|
|
19008
18780
|
outputFormat: "json";
|
|
19009
|
-
status:
|
|
18781
|
+
status: 429;
|
|
19010
18782
|
input: {
|
|
19011
18783
|
param: {
|
|
19012
|
-
|
|
18784
|
+
address: `0x${string}`;
|
|
19013
18785
|
};
|
|
19014
18786
|
} & {
|
|
19015
18787
|
query?: {
|
|
19016
18788
|
chainId?: string | string[];
|
|
18789
|
+
cursor?: string | string[];
|
|
18790
|
+
group?: string | string[];
|
|
19017
18791
|
include?: string | string[];
|
|
18792
|
+
limit?: string | string[];
|
|
19018
18793
|
logs?: string | string[];
|
|
19019
18794
|
'valuation.currency'?: string | string[];
|
|
19020
18795
|
} | undefined;
|
|
@@ -19022,27 +18797,52 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
19022
18797
|
} | {
|
|
19023
18798
|
output: {
|
|
19024
18799
|
error: {
|
|
19025
|
-
code: "
|
|
18800
|
+
code: "upstream_error";
|
|
19026
18801
|
details?: readonly Response.error.Detail[] | undefined;
|
|
19027
18802
|
message: string;
|
|
19028
18803
|
};
|
|
19029
18804
|
requestId: string;
|
|
19030
18805
|
};
|
|
19031
18806
|
outputFormat: "json";
|
|
19032
|
-
status:
|
|
18807
|
+
status: 502;
|
|
19033
18808
|
input: {
|
|
19034
18809
|
param: {
|
|
19035
|
-
|
|
18810
|
+
address: `0x${string}`;
|
|
19036
18811
|
};
|
|
19037
18812
|
} & {
|
|
19038
18813
|
query?: {
|
|
19039
18814
|
chainId?: string | string[];
|
|
18815
|
+
cursor?: string | string[];
|
|
18816
|
+
group?: string | string[];
|
|
19040
18817
|
include?: string | string[];
|
|
18818
|
+
limit?: string | string[];
|
|
19041
18819
|
logs?: string | string[];
|
|
19042
18820
|
'valuation.currency'?: string | string[];
|
|
19043
18821
|
} | undefined;
|
|
19044
18822
|
};
|
|
19045
|
-
}
|
|
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: {
|
|
19046
18846
|
output: {
|
|
19047
18847
|
data: ({
|
|
19048
18848
|
perspective: "incoming" | "outgoing";
|
|
@@ -20842,6 +20642,206 @@ export declare function transactions(options?: transactions.Options): import("ho
|
|
|
20842
20642
|
'valuation.currency'?: string | string[];
|
|
20843
20643
|
} | undefined;
|
|
20844
20644
|
};
|
|
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">;
|