@herd-labs/sdk 0.0.2 → 0.0.4
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/src/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.js +1 -0
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.js +2 -1
- package/dist/src/schemas/actions.d.ts +11 -11
- package/dist/src/schemas/bookmarks.d.ts +18 -18
- package/dist/src/schemas/codeblocks.d.ts +9 -9
- package/dist/src/schemas/collections.d.ts +7 -7
- package/dist/src/schemas/contracts.d.ts +22 -22
- package/dist/src/schemas/hal.d.ts +22 -22
- package/dist/src/schemas/transactions.d.ts +60 -56
- package/dist/src/schemas/transactions.js +1 -0
- package/dist/src/schemas/wallets.d.ts +57 -49
- package/dist/src/schemas/wallets.js +3 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { ActionsService } from "../services/ActionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ActionsServiceLive.d.ts
|
|
7
|
-
declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig |
|
|
7
|
+
declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ActionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { AdaptersService } from "../services/AdaptersService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AdaptersServiceLive.d.ts
|
|
7
|
-
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig |
|
|
7
|
+
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AdaptersServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { AuthService } from "../services/AuthService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AuthServiceLive.d.ts
|
|
7
|
-
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig |
|
|
7
|
+
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig | _effect_platform_HttpClient4.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AuthServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { CodeBlocksService } from "../services/CodeBlocksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CodeBlocksServiceLive.d.ts
|
|
7
|
-
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig |
|
|
7
|
+
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CodeBlocksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { ContractsService } from "../services/ContractsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient9 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ContractsServiceLive.d.ts
|
|
7
|
-
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig |
|
|
7
|
+
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig | _effect_platform_HttpClient9.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ContractsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { DocsService } from "../services/DocsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/DocsServiceLive.d.ts
|
|
7
|
-
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig |
|
|
7
|
+
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DocsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { TransactionsService } from "../services/TransactionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient8 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/TransactionsServiceLive.d.ts
|
|
7
|
-
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig |
|
|
7
|
+
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig | _effect_platform_HttpClient8.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { TransactionsServiceLive };
|
|
@@ -15,6 +15,7 @@ const latestTxParamsToSnakeCaseQuery = (params) => pipe({
|
|
|
15
15
|
after_timestamp: params?.afterTimestamp,
|
|
16
16
|
before_blocknumber: params?.beforeBlocknumber,
|
|
17
17
|
after_blocknumber: params?.afterBlocknumber,
|
|
18
|
+
success_only: params?.successOnly === true ? true : void 0,
|
|
18
19
|
direction: params?.direction,
|
|
19
20
|
topic1: params?.topic1,
|
|
20
21
|
topic2: params?.topic2,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { WalletsService } from "../services/WalletsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/WalletsServiceLive.d.ts
|
|
7
|
-
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig |
|
|
7
|
+
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { WalletsServiceLive };
|
|
@@ -31,7 +31,8 @@ const WalletsServiceLive = Layer.effect(WalletsService, Effect.gen(function* ()
|
|
|
31
31
|
before_timestamp: query.beforeBlocknumber !== void 0 ? void 0 : query.beforeTimestamp,
|
|
32
32
|
after_timestamp: query.afterBlocknumber !== void 0 ? void 0 : query.afterTimestamp,
|
|
33
33
|
before_blocknumber: query.beforeBlocknumber,
|
|
34
|
-
after_blocknumber: query.afterBlocknumber
|
|
34
|
+
after_blocknumber: query.afterBlocknumber,
|
|
35
|
+
success_only: query.successOnly === true ? true : void 0
|
|
35
36
|
}, Record.filterMap(Option.liftNullable(Function.identity)));
|
|
36
37
|
return pipe(client.post(makeUrl(config.baseUrl, "/v1/wallets/transaction-activity"), { body: jsonBody({
|
|
37
38
|
blockchain: query.blockchain,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand1 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/actions.d.ts
|
|
5
5
|
declare const ActionExpression_base: Schema.Class<ActionExpression, {
|
|
@@ -28,10 +28,10 @@ declare const ActionExpression_base: Schema.Class<ActionExpression, {
|
|
|
28
28
|
readonly name: string;
|
|
29
29
|
} & {
|
|
30
30
|
readonly intent?: string | undefined;
|
|
31
|
-
} & {
|
|
32
|
-
readonly publishedAt?: string | null | undefined;
|
|
33
31
|
} & {
|
|
34
32
|
readonly expression: unknown;
|
|
33
|
+
} & {
|
|
34
|
+
readonly publishedAt?: string | null | undefined;
|
|
35
35
|
}, {}, {}>;
|
|
36
36
|
declare class ActionExpression extends ActionExpression_base {}
|
|
37
37
|
declare const Action_base: Schema.Class<Action, {
|
|
@@ -104,10 +104,10 @@ declare const ActionVersion_base: Schema.Class<ActionVersion, {
|
|
|
104
104
|
readonly name: string;
|
|
105
105
|
} & {
|
|
106
106
|
readonly intent?: string | undefined;
|
|
107
|
-
} & {
|
|
108
|
-
readonly publishedAt?: string | null | undefined;
|
|
109
107
|
} & {
|
|
110
108
|
readonly expression: unknown;
|
|
109
|
+
} & {
|
|
110
|
+
readonly publishedAt?: string | null | undefined;
|
|
111
111
|
}, {}, {}>;
|
|
112
112
|
declare class ActionVersion extends ActionVersion_base {}
|
|
113
113
|
declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
@@ -129,14 +129,14 @@ declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
|
129
129
|
}>, never, {
|
|
130
130
|
readonly limit: number;
|
|
131
131
|
} & {
|
|
132
|
-
readonly
|
|
133
|
-
} & {
|
|
134
|
-
readonly scope: readonly ("yours" | "verified" | "all_published")[];
|
|
132
|
+
readonly scope: readonly ("yours" | "all_published" | "verified")[];
|
|
135
133
|
} & {
|
|
136
134
|
readonly filters?: {
|
|
137
135
|
readonly name?: string | undefined;
|
|
138
136
|
readonly expressionType?: "action" | "adapter" | undefined;
|
|
139
137
|
} | undefined;
|
|
138
|
+
} & {
|
|
139
|
+
readonly offset: number;
|
|
140
140
|
}, {}, {}>;
|
|
141
141
|
declare class ActionsSearchParams extends ActionsSearchParams_base {}
|
|
142
142
|
declare const ActionsSearchResponse_base: Schema.Class<ActionsSearchResponse, {
|
|
@@ -149,10 +149,10 @@ declare const ActionsSearchResponse_base: Schema.Class<ActionsSearchResponse, {
|
|
|
149
149
|
nextCursor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
150
150
|
}>, never, {
|
|
151
151
|
readonly items: readonly Action[];
|
|
152
|
-
} & {
|
|
153
|
-
readonly nextCursor?: string | null | undefined;
|
|
154
152
|
} & {
|
|
155
153
|
readonly totalCount?: number | undefined;
|
|
154
|
+
} & {
|
|
155
|
+
readonly nextCursor?: string | null | undefined;
|
|
156
156
|
}, {}, {}>;
|
|
157
157
|
declare class ActionsSearchResponse extends ActionsSearchResponse_base {}
|
|
158
158
|
declare const ActionVersionsResponse_base: Schema.Class<ActionVersionsResponse, {
|
|
@@ -236,9 +236,9 @@ declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSear
|
|
|
236
236
|
readonly scope: readonly ("yours" | "verified")[];
|
|
237
237
|
} & {
|
|
238
238
|
readonly contracts: readonly {
|
|
239
|
-
readonly address: string & effect_Brand5.Brand<"EvmAddress">;
|
|
240
239
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
241
240
|
readonly functionSignatures?: readonly string[] | undefined;
|
|
241
|
+
readonly address: string & effect_Brand1.Brand<"EvmAddress">;
|
|
242
242
|
}[];
|
|
243
243
|
}, {}, {}>;
|
|
244
244
|
declare class RelatedAdaptersSearchParams extends RelatedAdaptersSearchParams_base {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand4 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/bookmarks.d.ts
|
|
5
5
|
declare const BookmarkObjectType: Schema.Literal<["contract", "transaction", "wallet"]>;
|
|
@@ -23,21 +23,21 @@ declare const ContractBookmark_base: Schema.Class<ContractBookmark, {
|
|
|
23
23
|
createdAt: typeof Schema.String;
|
|
24
24
|
updatedAt: typeof Schema.String;
|
|
25
25
|
}>, never, {
|
|
26
|
-
readonly
|
|
26
|
+
readonly id: string;
|
|
27
27
|
} & {
|
|
28
28
|
readonly blockchain: string;
|
|
29
29
|
} & {
|
|
30
30
|
readonly contractAddress: string;
|
|
31
31
|
} & {
|
|
32
|
-
readonly
|
|
33
|
-
} & {
|
|
34
|
-
readonly label: string | null;
|
|
32
|
+
readonly contractName: string | null;
|
|
35
33
|
} & {
|
|
36
34
|
readonly createdAt: string;
|
|
37
35
|
} & {
|
|
38
36
|
readonly updatedAt: string;
|
|
39
37
|
} & {
|
|
40
38
|
readonly userLabel: string | null;
|
|
39
|
+
} & {
|
|
40
|
+
readonly label: string | null;
|
|
41
41
|
}, {}, {}>;
|
|
42
42
|
declare class ContractBookmark extends ContractBookmark_base {}
|
|
43
43
|
declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
|
|
@@ -55,9 +55,9 @@ declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
|
|
|
55
55
|
createdAt: typeof Schema.String;
|
|
56
56
|
updatedAt: typeof Schema.String;
|
|
57
57
|
}>, never, {
|
|
58
|
-
readonly blockchain: string;
|
|
59
|
-
} & {
|
|
60
58
|
readonly id: string;
|
|
59
|
+
} & {
|
|
60
|
+
readonly blockchain: string;
|
|
61
61
|
} & {
|
|
62
62
|
readonly transactionHash: string;
|
|
63
63
|
} & {
|
|
@@ -81,9 +81,9 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
|
81
81
|
createdAt: typeof Schema.String;
|
|
82
82
|
updatedAt: typeof Schema.String;
|
|
83
83
|
}>, never, {
|
|
84
|
-
readonly walletAddress: string;
|
|
85
|
-
} & {
|
|
86
84
|
readonly id: string;
|
|
85
|
+
} & {
|
|
86
|
+
readonly walletAddress: string;
|
|
87
87
|
} & {
|
|
88
88
|
readonly createdAt: string;
|
|
89
89
|
} & {
|
|
@@ -138,9 +138,9 @@ declare const AddContractBookmarkParams_base: Schema.Class<AddContractBookmarkPa
|
|
|
138
138
|
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
139
139
|
label: Schema.optional<typeof Schema.String>;
|
|
140
140
|
}>, never, {
|
|
141
|
-
readonly address: string & effect_Brand3.Brand<"EvmAddress">;
|
|
142
|
-
} & {
|
|
143
141
|
readonly blockchain: "ethereum" | "base";
|
|
142
|
+
} & {
|
|
143
|
+
readonly address: string & effect_Brand4.Brand<"EvmAddress">;
|
|
144
144
|
} & {
|
|
145
145
|
readonly label?: string | undefined;
|
|
146
146
|
}, {}, {}>;
|
|
@@ -154,9 +154,9 @@ declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBook
|
|
|
154
154
|
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
155
155
|
label: Schema.optional<typeof Schema.String>;
|
|
156
156
|
}>, never, {
|
|
157
|
-
readonly blockchain: "ethereum" | "base";
|
|
158
|
-
} & {
|
|
159
157
|
readonly txHash: string;
|
|
158
|
+
} & {
|
|
159
|
+
readonly blockchain: "ethereum" | "base";
|
|
160
160
|
} & {
|
|
161
161
|
readonly label?: string | undefined;
|
|
162
162
|
}, {}, {}>;
|
|
@@ -168,7 +168,7 @@ declare const AddWalletBookmarkParams_base: Schema.Class<AddWalletBookmarkParams
|
|
|
168
168
|
address: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
|
|
169
169
|
label: Schema.optional<typeof Schema.String>;
|
|
170
170
|
}>, never, {
|
|
171
|
-
readonly address: string &
|
|
171
|
+
readonly address: string & effect_Brand4.Brand<"EvmAddress">;
|
|
172
172
|
} & {
|
|
173
173
|
readonly label?: string | undefined;
|
|
174
174
|
}, {}, {}>;
|
|
@@ -186,11 +186,11 @@ declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelPa
|
|
|
186
186
|
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
187
187
|
label: Schema.NullOr<typeof Schema.String>;
|
|
188
188
|
}>, never, {
|
|
189
|
-
readonly
|
|
189
|
+
readonly txHash?: string | undefined;
|
|
190
190
|
} & {
|
|
191
191
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
192
192
|
} & {
|
|
193
|
-
readonly
|
|
193
|
+
readonly address?: string | undefined;
|
|
194
194
|
} & {
|
|
195
195
|
readonly label: string | null;
|
|
196
196
|
} & {
|
|
@@ -208,11 +208,11 @@ declare const DeleteBookmarkParams_base: Schema.Class<DeleteBookmarkParams, {
|
|
|
208
208
|
txHash: Schema.optional<typeof Schema.String>;
|
|
209
209
|
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
210
210
|
}>, never, {
|
|
211
|
-
readonly
|
|
211
|
+
readonly txHash?: string | undefined;
|
|
212
212
|
} & {
|
|
213
213
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
214
214
|
} & {
|
|
215
|
-
readonly
|
|
215
|
+
readonly address?: string | undefined;
|
|
216
216
|
} & {
|
|
217
217
|
readonly objectType: "contract" | "transaction" | "wallet";
|
|
218
218
|
}, {}, {}>;
|
|
@@ -23,14 +23,14 @@ declare const CodeBlockCode_base: Schema.Class<CodeBlockCode, {
|
|
|
23
23
|
readonly name: string;
|
|
24
24
|
} & {
|
|
25
25
|
readonly intent: string;
|
|
26
|
+
} & {
|
|
27
|
+
readonly publishedAt: string | null;
|
|
26
28
|
} & {
|
|
27
29
|
readonly code: string;
|
|
28
30
|
} & {
|
|
29
31
|
readonly valTownFileUrl: string;
|
|
30
32
|
} & {
|
|
31
33
|
readonly arguments?: unknown;
|
|
32
|
-
} & {
|
|
33
|
-
readonly publishedAt: string | null;
|
|
34
34
|
}, {}, {}>;
|
|
35
35
|
declare class CodeBlockCode extends CodeBlockCode_base {}
|
|
36
36
|
declare const CodeBlockVersion_base: Schema.Class<CodeBlockVersion, {
|
|
@@ -68,8 +68,6 @@ declare const CodeBlockDefinition_base: Schema.Class<CodeBlockDefinition, {
|
|
|
68
68
|
allVersions: Schema.optional<Schema.Array$<typeof CodeBlockVersion>>;
|
|
69
69
|
actionId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
70
70
|
}>, never, {
|
|
71
|
-
readonly actionId?: string | null | undefined;
|
|
72
|
-
} & {
|
|
73
71
|
readonly id: string;
|
|
74
72
|
} & {
|
|
75
73
|
readonly name: string;
|
|
@@ -79,6 +77,8 @@ declare const CodeBlockDefinition_base: Schema.Class<CodeBlockDefinition, {
|
|
|
79
77
|
readonly latestCode: CodeBlockCode | null;
|
|
80
78
|
} & {
|
|
81
79
|
readonly allVersions?: readonly CodeBlockVersion[] | undefined;
|
|
80
|
+
} & {
|
|
81
|
+
readonly actionId?: string | null | undefined;
|
|
82
82
|
}, {}, {}>;
|
|
83
83
|
declare class CodeBlockDefinition extends CodeBlockDefinition_base {}
|
|
84
84
|
declare const CodeBlocksSearchParams_base: Schema.Class<CodeBlocksSearchParams, {
|
|
@@ -99,12 +99,12 @@ declare const CodeBlocksSearchParams_base: Schema.Class<CodeBlocksSearchParams,
|
|
|
99
99
|
readonly limit: number;
|
|
100
100
|
} & {
|
|
101
101
|
readonly scope: "user" | "public";
|
|
102
|
+
} & {
|
|
103
|
+
readonly cursor?: string | undefined;
|
|
102
104
|
} & {
|
|
103
105
|
readonly filters?: {
|
|
104
106
|
readonly name?: string | undefined;
|
|
105
107
|
} | undefined;
|
|
106
|
-
} & {
|
|
107
|
-
readonly cursor?: string | undefined;
|
|
108
108
|
}, {}, {}>;
|
|
109
109
|
declare class CodeBlocksSearchParams extends CodeBlocksSearchParams_base {}
|
|
110
110
|
declare const CodeBlocksSearchResponse_base: Schema.Class<CodeBlocksSearchResponse, {
|
|
@@ -203,8 +203,8 @@ declare const CodeBlockExecuteResponse_base: Schema.Class<CodeBlockExecuteRespon
|
|
|
203
203
|
readonly response: unknown;
|
|
204
204
|
} & {
|
|
205
205
|
readonly error?: {
|
|
206
|
-
readonly body?: unknown;
|
|
207
206
|
readonly message: string;
|
|
207
|
+
readonly body?: unknown;
|
|
208
208
|
readonly status?: number | undefined;
|
|
209
209
|
} | undefined;
|
|
210
210
|
} & {
|
|
@@ -263,12 +263,12 @@ declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResp
|
|
|
263
263
|
readonly name: string;
|
|
264
264
|
} & {
|
|
265
265
|
readonly intent: string;
|
|
266
|
+
} & {
|
|
267
|
+
readonly publishedAt: string | null;
|
|
266
268
|
} & {
|
|
267
269
|
readonly code: string;
|
|
268
270
|
} & {
|
|
269
271
|
readonly valTownFileUrl: string;
|
|
270
|
-
} & {
|
|
271
|
-
readonly publishedAt: string | null;
|
|
272
272
|
}, {}, {}>;
|
|
273
273
|
declare class CreateCodeVersionResponse extends CreateCodeVersionResponse_base {}
|
|
274
274
|
declare const UpdateCodeBlockMetadataParams_base: Schema.Class<UpdateCodeBlockMetadataParams, {
|
|
@@ -11,10 +11,10 @@ declare const CollectionSpecItem_base: Schema.Class<CollectionSpecItem, {
|
|
|
11
11
|
expressionRef: typeof Schema.String;
|
|
12
12
|
}>, never, {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
} & {
|
|
15
|
-
readonly type: "action" | "adapter";
|
|
16
14
|
} & {
|
|
17
15
|
readonly expressionRef: string;
|
|
16
|
+
} & {
|
|
17
|
+
readonly type: "action" | "adapter";
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare class CollectionSpecItem extends CollectionSpecItem_base {}
|
|
20
20
|
declare const CollectionSpec_base: Schema.Class<CollectionSpec, {
|
|
@@ -94,13 +94,13 @@ declare const CollectionsSearchParams_base: Schema.Class<CollectionsSearchParams
|
|
|
94
94
|
}>, never, {
|
|
95
95
|
readonly limit: number;
|
|
96
96
|
} & {
|
|
97
|
-
readonly
|
|
98
|
-
} & {
|
|
99
|
-
readonly scope?: readonly ("yours" | "all" | "verified")[] | undefined;
|
|
97
|
+
readonly scope?: readonly ("yours" | "verified" | "all")[] | undefined;
|
|
100
98
|
} & {
|
|
101
99
|
readonly filters?: {
|
|
102
100
|
readonly name?: string | undefined;
|
|
103
101
|
} | undefined;
|
|
102
|
+
} & {
|
|
103
|
+
readonly offset: number;
|
|
104
104
|
}, {}, {}>;
|
|
105
105
|
declare class CollectionsSearchParams extends CollectionsSearchParams_base {}
|
|
106
106
|
declare const CollectionsSearchResponse_base: Schema.Class<CollectionsSearchResponse, {
|
|
@@ -149,8 +149,8 @@ declare const CreateCollectionParams_base: Schema.Class<CreateCollectionParams,
|
|
|
149
149
|
readonly spec: {
|
|
150
150
|
readonly items: readonly {
|
|
151
151
|
readonly id: string;
|
|
152
|
-
readonly type: "action" | "adapter";
|
|
153
152
|
readonly expressionRef: string;
|
|
153
|
+
readonly type: "action" | "adapter";
|
|
154
154
|
}[];
|
|
155
155
|
readonly version: "1.0";
|
|
156
156
|
};
|
|
@@ -230,8 +230,8 @@ declare const UpdateCollectionParams_base: Schema.Class<UpdateCollectionParams,
|
|
|
230
230
|
readonly spec?: {
|
|
231
231
|
readonly items: readonly {
|
|
232
232
|
readonly id: string;
|
|
233
|
-
readonly type: "action" | "adapter";
|
|
234
233
|
readonly expressionRef: string;
|
|
234
|
+
readonly type: "action" | "adapter";
|
|
235
235
|
}[];
|
|
236
236
|
readonly version: "1.0";
|
|
237
237
|
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand2 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/contracts.d.ts
|
|
5
5
|
declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
|
|
@@ -12,10 +12,10 @@ declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
|
|
|
12
12
|
summary: typeof Schema.String;
|
|
13
13
|
}>, never, {
|
|
14
14
|
readonly name: string;
|
|
15
|
-
} & {
|
|
16
|
-
readonly summary: string;
|
|
17
15
|
} & {
|
|
18
16
|
readonly signature: string;
|
|
17
|
+
} & {
|
|
18
|
+
readonly summary: string;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
declare class FunctionSummary extends FunctionSummary_base {}
|
|
21
21
|
declare const EventSummary_base: Schema.Class<EventSummary, {
|
|
@@ -67,6 +67,8 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
|
|
|
67
67
|
entityLabel: Schema.optional<typeof Schema.String>;
|
|
68
68
|
coingeckoLabel: Schema.optional<typeof Schema.String>;
|
|
69
69
|
}>, never, {
|
|
70
|
+
readonly name?: string | undefined;
|
|
71
|
+
} & {
|
|
70
72
|
readonly address: string;
|
|
71
73
|
} & {
|
|
72
74
|
readonly valueUsd: number;
|
|
@@ -74,8 +76,6 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
|
|
|
74
76
|
readonly balance: number;
|
|
75
77
|
} & {
|
|
76
78
|
readonly entityLabel?: string | undefined;
|
|
77
|
-
} & {
|
|
78
|
-
readonly name?: string | undefined;
|
|
79
79
|
} & {
|
|
80
80
|
readonly type: "contract" | "wallet";
|
|
81
81
|
} & {
|
|
@@ -118,14 +118,14 @@ declare const TokenDetails_base: Schema.Class<TokenDetails, {
|
|
|
118
118
|
topHolders: Schema.optional<Schema.Array$<typeof TopHolder>>;
|
|
119
119
|
}>, never, {
|
|
120
120
|
readonly symbol: string;
|
|
121
|
-
} & {
|
|
122
|
-
readonly decimals?: number | undefined;
|
|
123
|
-
} & {
|
|
124
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
|
|
125
121
|
} & {
|
|
126
122
|
readonly name: string;
|
|
127
123
|
} & {
|
|
128
124
|
readonly description?: string | undefined;
|
|
125
|
+
} & {
|
|
126
|
+
readonly decimals?: number | undefined;
|
|
127
|
+
} & {
|
|
128
|
+
readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
|
|
129
129
|
} & {
|
|
130
130
|
readonly currentPriceUsd?: number | undefined;
|
|
131
131
|
} & {
|
|
@@ -180,8 +180,8 @@ declare const AddressDetails_base: Schema.Class<AddressDetails, {
|
|
|
180
180
|
readonly deploymentTxHash?: string | undefined;
|
|
181
181
|
} & {
|
|
182
182
|
readonly factory?: {
|
|
183
|
-
readonly address: string;
|
|
184
183
|
readonly name: string;
|
|
184
|
+
readonly address: string;
|
|
185
185
|
} | undefined;
|
|
186
186
|
} & {
|
|
187
187
|
readonly constructorArgs?: {
|
|
@@ -328,13 +328,13 @@ declare const ContractCodeSearchResult_base: Schema.Class<ContractCodeSearchResu
|
|
|
328
328
|
proxyCode: Schema.optional<typeof Schema.String>;
|
|
329
329
|
matches: Schema.optional<Schema.Array$<typeof ContractCodeMatchBlock>>;
|
|
330
330
|
}>, never, {
|
|
331
|
-
readonly contractName: string;
|
|
332
|
-
} & {
|
|
333
331
|
readonly blockchain: "ethereum" | "base";
|
|
334
332
|
} & {
|
|
335
|
-
readonly contractAddress: string &
|
|
333
|
+
readonly contractAddress: string & effect_Brand2.Brand<"EvmAddress">;
|
|
336
334
|
} & {
|
|
337
335
|
readonly code?: string | undefined;
|
|
336
|
+
} & {
|
|
337
|
+
readonly contractName: string;
|
|
338
338
|
} & {
|
|
339
339
|
readonly proxyCode?: string | undefined;
|
|
340
340
|
} & {
|
|
@@ -358,7 +358,7 @@ declare const GetContractCodeParams_base: Schema.Class<GetContractCodeParams, {
|
|
|
358
358
|
} & {
|
|
359
359
|
readonly query: string;
|
|
360
360
|
} & {
|
|
361
|
-
readonly contractAddresses: readonly (string &
|
|
361
|
+
readonly contractAddresses: readonly (string & effect_Brand2.Brand<"EvmAddress">)[];
|
|
362
362
|
} & {
|
|
363
363
|
readonly includeProxies?: boolean | undefined;
|
|
364
364
|
} & {
|
|
@@ -442,10 +442,10 @@ declare const TokenBalance_base: Schema.Class<TokenBalance, {
|
|
|
442
442
|
name: typeof Schema.String;
|
|
443
443
|
}>, never, {
|
|
444
444
|
readonly symbol: string;
|
|
445
|
-
} & {
|
|
446
|
-
readonly tokenAddress: string;
|
|
447
445
|
} & {
|
|
448
446
|
readonly name: string;
|
|
447
|
+
} & {
|
|
448
|
+
readonly tokenAddress: string;
|
|
449
449
|
} & {
|
|
450
450
|
readonly tokenStandard: "erc20" | "erc721" | "erc1155";
|
|
451
451
|
}, {}, {}>;
|
|
@@ -477,9 +477,9 @@ declare const Role_base: Schema.Class<Role, {
|
|
|
477
477
|
holders: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
478
478
|
totalHistoricalHolderCount: Schema.optional<typeof Schema.Number>;
|
|
479
479
|
}>, never, {
|
|
480
|
-
readonly functions: readonly RoleFunction[];
|
|
481
|
-
} & {
|
|
482
480
|
readonly name: string;
|
|
481
|
+
} & {
|
|
482
|
+
readonly functions: readonly RoleFunction[];
|
|
483
483
|
} & {
|
|
484
484
|
readonly modifier?: string | undefined;
|
|
485
485
|
} & {
|
|
@@ -562,10 +562,10 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
|
|
|
562
562
|
readonly multisigDetails?: RolesNodeMultisigDetails | undefined;
|
|
563
563
|
} & {
|
|
564
564
|
readonly tokenSymbol?: string | undefined;
|
|
565
|
-
} & {
|
|
566
|
-
readonly tokenBalance?: TokenBalance | undefined;
|
|
567
565
|
} & {
|
|
568
566
|
readonly label?: string | undefined;
|
|
567
|
+
} & {
|
|
568
|
+
readonly tokenBalance?: TokenBalance | undefined;
|
|
569
569
|
} & {
|
|
570
570
|
readonly nodeType: "contract" | "wallet" | "unknown" | "tokenBalance" | "safe";
|
|
571
571
|
} & {
|
|
@@ -609,11 +609,11 @@ declare const DiffVersionInfo_base: Schema.Class<DiffVersionInfo, {
|
|
|
609
609
|
blockNumber: typeof Schema.Number;
|
|
610
610
|
contractName: typeof Schema.String;
|
|
611
611
|
}>, never, {
|
|
612
|
-
readonly
|
|
612
|
+
readonly blockNumber: number;
|
|
613
613
|
} & {
|
|
614
614
|
readonly implementationAddress: string;
|
|
615
615
|
} & {
|
|
616
|
-
readonly
|
|
616
|
+
readonly contractName: string;
|
|
617
617
|
} & {
|
|
618
618
|
readonly versionNumber: number;
|
|
619
619
|
}, {}, {}>;
|
|
@@ -25,11 +25,9 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
|
|
|
25
25
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
26
26
|
simulationBlockNumber: Schema.optional<typeof Schema.Number>;
|
|
27
27
|
}>, never, {
|
|
28
|
-
readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
|
|
29
|
-
} & {
|
|
30
|
-
readonly tevmForkId?: string | undefined;
|
|
31
|
-
} & {
|
|
32
28
|
readonly expression: unknown;
|
|
29
|
+
} & {
|
|
30
|
+
readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
|
|
33
31
|
} & {
|
|
34
32
|
readonly inputValues?: {
|
|
35
33
|
readonly [x: string]: unknown;
|
|
@@ -39,6 +37,8 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
|
|
|
39
37
|
readonly tokenAddress: string;
|
|
40
38
|
readonly startingBalanceRaw: string;
|
|
41
39
|
}[] | undefined;
|
|
40
|
+
} & {
|
|
41
|
+
readonly tevmForkId?: string | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
readonly simulationBlockNumber?: number | undefined;
|
|
44
44
|
}, {}, {}>;
|
|
@@ -66,11 +66,9 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
66
66
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
67
67
|
simulationBlockNumber: Schema.optional<typeof Schema.Number>;
|
|
68
68
|
}>, never, {
|
|
69
|
-
readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
|
|
70
|
-
} & {
|
|
71
69
|
readonly actionId: string;
|
|
72
70
|
} & {
|
|
73
|
-
readonly
|
|
71
|
+
readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
|
|
74
72
|
} & {
|
|
75
73
|
readonly inputValues?: {
|
|
76
74
|
readonly [x: string]: unknown;
|
|
@@ -80,6 +78,8 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
80
78
|
readonly tokenAddress: string;
|
|
81
79
|
readonly startingBalanceRaw: string;
|
|
82
80
|
}[] | undefined;
|
|
81
|
+
} & {
|
|
82
|
+
readonly tevmForkId?: string | undefined;
|
|
83
83
|
} & {
|
|
84
84
|
readonly simulationBlockNumber?: number | undefined;
|
|
85
85
|
} & {
|
|
@@ -122,30 +122,30 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
|
|
|
122
122
|
transactionData: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
123
123
|
}>, never, {
|
|
124
124
|
readonly value?: string | null | undefined;
|
|
125
|
-
} & {
|
|
126
|
-
readonly to?: string | undefined;
|
|
127
|
-
} & {
|
|
128
|
-
readonly data?: string | undefined;
|
|
129
125
|
} & {
|
|
130
126
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
131
127
|
} & {
|
|
132
|
-
readonly
|
|
133
|
-
} & {
|
|
134
|
-
readonly blockNumber: number | null;
|
|
128
|
+
readonly status: "failed" | "success" | "pending";
|
|
135
129
|
} & {
|
|
136
|
-
readonly
|
|
130
|
+
readonly batchName: string | null;
|
|
137
131
|
} & {
|
|
138
|
-
readonly
|
|
132
|
+
readonly batchStepIndex: number | null;
|
|
139
133
|
} & {
|
|
140
134
|
readonly toContractName: string | null;
|
|
141
135
|
} & {
|
|
142
|
-
readonly
|
|
143
|
-
} & {
|
|
144
|
-
readonly batchStepIndex: number | null;
|
|
136
|
+
readonly transactionHash: string | null;
|
|
145
137
|
} & {
|
|
146
138
|
readonly transactionErrorMessage: string | null;
|
|
139
|
+
} & {
|
|
140
|
+
readonly blockNumber: number | null;
|
|
141
|
+
} & {
|
|
142
|
+
readonly blockTimestamp: number | null;
|
|
147
143
|
} & {
|
|
148
144
|
readonly operationId?: string | undefined;
|
|
145
|
+
} & {
|
|
146
|
+
readonly to?: string | undefined;
|
|
147
|
+
} & {
|
|
148
|
+
readonly data?: string | undefined;
|
|
149
149
|
} & {
|
|
150
150
|
readonly args?: unknown;
|
|
151
151
|
} & {
|
|
@@ -177,16 +177,16 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
|
|
|
177
177
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
178
178
|
tevmForkBlockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
179
179
|
}>, never, {
|
|
180
|
+
readonly hint?: string | undefined;
|
|
181
|
+
} & {
|
|
180
182
|
readonly error?: {
|
|
181
|
-
readonly name: string;
|
|
182
183
|
readonly message: string;
|
|
184
|
+
readonly name: string;
|
|
183
185
|
} | undefined;
|
|
184
186
|
} & {
|
|
185
187
|
readonly status: "completed" | "suspended" | "failed";
|
|
186
188
|
} & {
|
|
187
189
|
readonly tevmForkId?: string | undefined;
|
|
188
|
-
} & {
|
|
189
|
-
readonly hint?: string | undefined;
|
|
190
190
|
} & {
|
|
191
191
|
readonly result?: unknown;
|
|
192
192
|
} & {
|
|
@@ -448,9 +448,19 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
448
448
|
}>>;
|
|
449
449
|
tevmForkId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
450
450
|
}>, never, {
|
|
451
|
-
readonly
|
|
451
|
+
readonly id: string;
|
|
452
452
|
} & {
|
|
453
453
|
readonly txHash: string;
|
|
454
|
+
} & {
|
|
455
|
+
readonly blockchain: "ethereum" | "base";
|
|
456
|
+
} & {
|
|
457
|
+
readonly functionSignature?: string | null | undefined;
|
|
458
|
+
} & {
|
|
459
|
+
readonly error?: string | null | undefined;
|
|
460
|
+
} & {
|
|
461
|
+
readonly tevmForkId?: string | null | undefined;
|
|
462
|
+
} & {
|
|
463
|
+
readonly success: boolean;
|
|
454
464
|
} & {
|
|
455
465
|
readonly blockNumber: number;
|
|
456
466
|
} & {
|
|
@@ -459,14 +469,14 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
459
469
|
readonly toAddress: string;
|
|
460
470
|
} & {
|
|
461
471
|
readonly transfers: readonly {
|
|
462
|
-
readonly amount: number;
|
|
463
472
|
readonly txHash: string;
|
|
464
|
-
readonly
|
|
473
|
+
readonly tokenAddress: string;
|
|
465
474
|
readonly blockNumber: number;
|
|
466
|
-
readonly
|
|
475
|
+
readonly blockTimestamp: number;
|
|
476
|
+
readonly amount: number;
|
|
467
477
|
readonly fromAddress: string;
|
|
468
478
|
readonly toAddress: string;
|
|
469
|
-
readonly
|
|
479
|
+
readonly logIndex?: number | undefined;
|
|
470
480
|
readonly chainId: number;
|
|
471
481
|
readonly tokenId: number;
|
|
472
482
|
readonly tokenDecimals: number;
|
|
@@ -474,9 +484,9 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
474
484
|
readonly tokenSymbol: string;
|
|
475
485
|
readonly tokenPriceUsd: number;
|
|
476
486
|
readonly tokenLogoUrl: string;
|
|
487
|
+
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
477
488
|
readonly fromAddressIsContract: boolean;
|
|
478
489
|
readonly toAddressIsContract: boolean;
|
|
479
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
480
490
|
readonly fromEntityLabel?: string | null | undefined;
|
|
481
491
|
readonly toEntityLabel?: string | null | undefined;
|
|
482
492
|
readonly traceAddress?: string | undefined;
|
|
@@ -496,69 +506,61 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
496
506
|
} | undefined;
|
|
497
507
|
}[];
|
|
498
508
|
} & {
|
|
499
|
-
readonly
|
|
500
|
-
} & {
|
|
501
|
-
readonly success: boolean;
|
|
509
|
+
readonly timestamp: number;
|
|
502
510
|
} & {
|
|
503
511
|
readonly createdContracts: readonly string[];
|
|
504
512
|
} & {
|
|
505
513
|
readonly actionExecution?: {
|
|
506
514
|
readonly actionId: string;
|
|
507
|
-
readonly versionId: string;
|
|
508
515
|
readonly actionName: string;
|
|
516
|
+
readonly versionId: string;
|
|
509
517
|
readonly executionId: string;
|
|
510
518
|
} | undefined;
|
|
511
|
-
} & {
|
|
512
|
-
readonly id: string;
|
|
513
|
-
} & {
|
|
514
|
-
readonly error?: string | null | undefined;
|
|
515
519
|
} & {
|
|
516
520
|
readonly decodedTraces: DecodedTrace;
|
|
517
521
|
} & {
|
|
518
522
|
readonly transactionMetadata: {
|
|
519
523
|
readonly value: number;
|
|
520
|
-
readonly
|
|
521
|
-
readonly nonce: number;
|
|
522
|
-
readonly blockNumber: number;
|
|
523
|
-
readonly chainId: number;
|
|
524
|
+
readonly from: string;
|
|
524
525
|
readonly hash: string;
|
|
525
526
|
readonly status: number;
|
|
526
|
-
readonly
|
|
527
|
+
readonly blockNumber: number;
|
|
528
|
+
readonly to: string | null;
|
|
529
|
+
readonly nonce: number;
|
|
530
|
+
readonly r: string;
|
|
527
531
|
readonly timestamp: number;
|
|
532
|
+
readonly s: string;
|
|
533
|
+
readonly chainId: number;
|
|
534
|
+
readonly type: string;
|
|
528
535
|
readonly blockHash: string;
|
|
529
536
|
readonly transactionIndex: number;
|
|
530
|
-
readonly type: string;
|
|
531
537
|
readonly gas: number;
|
|
532
538
|
readonly gasPrice: number;
|
|
533
539
|
readonly input: string;
|
|
534
|
-
readonly r: string;
|
|
535
|
-
readonly s: string;
|
|
536
540
|
readonly v: string;
|
|
537
541
|
readonly gasUsed: number;
|
|
538
542
|
readonly effectiveGasPrice: number;
|
|
539
543
|
};
|
|
540
|
-
} & {
|
|
541
|
-
readonly timestamp: number;
|
|
542
544
|
} & {
|
|
543
545
|
readonly decodedLogs: readonly {
|
|
544
|
-
readonly
|
|
545
|
-
readonly data: string;
|
|
546
|
+
readonly transactionHash: string;
|
|
546
547
|
readonly blockNumber: number;
|
|
548
|
+
readonly data: string;
|
|
549
|
+
readonly address: string;
|
|
547
550
|
readonly logIndex: number;
|
|
548
551
|
readonly blockHash: string;
|
|
549
552
|
readonly topics: readonly string[];
|
|
550
|
-
readonly transactionHash: string;
|
|
551
553
|
readonly transactionIndex: number;
|
|
552
554
|
readonly removed: boolean;
|
|
553
555
|
readonly emittedAfterTraceAddress: readonly number[];
|
|
554
556
|
readonly implementation?: {
|
|
555
|
-
readonly address: string;
|
|
556
557
|
readonly name: string;
|
|
558
|
+
readonly address: string;
|
|
557
559
|
readonly is7702?: boolean | undefined;
|
|
558
560
|
} | undefined;
|
|
559
561
|
readonly decoded?: {
|
|
560
|
-
readonly contractName: string;
|
|
561
562
|
readonly contractAddress: string;
|
|
563
|
+
readonly contractName: string;
|
|
562
564
|
readonly eventName: string;
|
|
563
565
|
readonly eventSignature: string;
|
|
564
566
|
readonly index: number;
|
|
@@ -569,8 +571,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
569
571
|
} | undefined;
|
|
570
572
|
readonly lineNumber: number;
|
|
571
573
|
readonly eventFunctionDetails: {
|
|
572
|
-
readonly address: string;
|
|
573
574
|
readonly functionSignature: string;
|
|
575
|
+
readonly address: string;
|
|
574
576
|
readonly functionName: string | null;
|
|
575
577
|
readonly addressName: string | null;
|
|
576
578
|
readonly traceAddress: readonly number[];
|
|
@@ -579,10 +581,12 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
579
581
|
} & {
|
|
580
582
|
readonly balanceChanges: readonly {
|
|
581
583
|
readonly txHash?: string | undefined;
|
|
582
|
-
readonly
|
|
584
|
+
readonly tokenAddress: string;
|
|
583
585
|
readonly blockNumber: number;
|
|
586
|
+
readonly blockTimestamp: number;
|
|
584
587
|
readonly holderAddress: string;
|
|
585
|
-
readonly
|
|
588
|
+
readonly holderIsContract: boolean;
|
|
589
|
+
readonly balanceChange: number;
|
|
586
590
|
readonly chainId: number;
|
|
587
591
|
readonly tokenId: number;
|
|
588
592
|
readonly tokenDecimals: number;
|
|
@@ -591,8 +595,6 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
591
595
|
readonly tokenPriceUsd: number;
|
|
592
596
|
readonly tokenLogoUrl: string;
|
|
593
597
|
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
594
|
-
readonly holderIsContract: boolean;
|
|
595
|
-
readonly balanceChange: number;
|
|
596
598
|
readonly holderEntityLabel?: string | null | undefined;
|
|
597
599
|
readonly tokenEntityLabel?: string | null | undefined;
|
|
598
600
|
}[];
|
|
@@ -602,8 +604,6 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
602
604
|
readonly from: string;
|
|
603
605
|
readonly summary: string;
|
|
604
606
|
} | undefined;
|
|
605
|
-
} & {
|
|
606
|
-
readonly tevmForkId?: string | null | undefined;
|
|
607
607
|
}, {}, {}>;
|
|
608
608
|
declare class Transaction extends Transaction_base {}
|
|
609
609
|
declare const TransactionQueryResponse_base: Schema.Class<TransactionQueryResponse, {
|
|
@@ -764,28 +764,30 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
764
764
|
}>>>;
|
|
765
765
|
}>, never, {
|
|
766
766
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
767
|
+
} & {
|
|
768
|
+
readonly contractAddress?: string | undefined;
|
|
767
769
|
} & {
|
|
768
770
|
readonly transactions?: readonly {
|
|
769
771
|
readonly txHash: string;
|
|
772
|
+
readonly from: string;
|
|
773
|
+
readonly success: boolean;
|
|
774
|
+
readonly blockNumber: number;
|
|
770
775
|
readonly blockTimestamp: number;
|
|
771
776
|
readonly blockTimestampUtc: string;
|
|
772
|
-
readonly blockNumber: number;
|
|
773
|
-
readonly success: boolean;
|
|
774
|
-
readonly from: string;
|
|
775
777
|
readonly functionCalls: readonly {
|
|
776
778
|
readonly value: number;
|
|
777
779
|
readonly functionName: string;
|
|
778
|
-
readonly signature: string;
|
|
779
780
|
readonly inputArgs: {
|
|
780
781
|
readonly [x: string]: unknown;
|
|
781
782
|
};
|
|
782
783
|
readonly outputArgs: {
|
|
783
784
|
readonly [x: string]: unknown;
|
|
784
785
|
} | null;
|
|
786
|
+
readonly signature: string;
|
|
785
787
|
readonly traceInput: string;
|
|
786
788
|
readonly callerFunctionDetails: {
|
|
787
|
-
readonly address: string;
|
|
788
789
|
readonly functionSignature: string | null;
|
|
790
|
+
readonly address: string;
|
|
789
791
|
readonly functionName: string | null;
|
|
790
792
|
readonly addressName: string | null;
|
|
791
793
|
readonly traceAddress: readonly number[];
|
|
@@ -793,11 +795,9 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
793
795
|
}[];
|
|
794
796
|
}[] | undefined;
|
|
795
797
|
} & {
|
|
796
|
-
readonly
|
|
798
|
+
readonly errorMessage?: string | undefined;
|
|
797
799
|
} & {
|
|
798
800
|
readonly signature?: string | undefined;
|
|
799
|
-
} & {
|
|
800
|
-
readonly errorMessage?: string | undefined;
|
|
801
801
|
} & {
|
|
802
802
|
readonly availableSignatures?: readonly {
|
|
803
803
|
readonly name: string;
|
|
@@ -875,16 +875,15 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
875
875
|
}>>>;
|
|
876
876
|
}>, never, {
|
|
877
877
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
878
|
+
} & {
|
|
879
|
+
readonly contractAddress?: string | undefined;
|
|
878
880
|
} & {
|
|
879
881
|
readonly transactions?: readonly {
|
|
880
882
|
readonly txHash: string;
|
|
881
|
-
readonly
|
|
882
|
-
readonly blockTimestampUtc: string;
|
|
883
|
-
readonly blockNumber: number;
|
|
884
|
-
readonly success: boolean;
|
|
883
|
+
readonly from: string;
|
|
885
884
|
readonly logs: readonly {
|
|
886
|
-
readonly contractName: string;
|
|
887
885
|
readonly contractAddress: string;
|
|
886
|
+
readonly contractName: string;
|
|
888
887
|
readonly eventName: string;
|
|
889
888
|
readonly eventSignature: string;
|
|
890
889
|
readonly index: number;
|
|
@@ -892,8 +891,8 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
892
891
|
readonly [x: string]: unknown;
|
|
893
892
|
};
|
|
894
893
|
readonly eventFunctionDetails: {
|
|
895
|
-
readonly address: string;
|
|
896
894
|
readonly functionSignature: string;
|
|
895
|
+
readonly address: string;
|
|
897
896
|
readonly functionName: string | null;
|
|
898
897
|
readonly addressName: string | null;
|
|
899
898
|
readonly traceAddress: readonly number[];
|
|
@@ -901,14 +900,15 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
901
900
|
readonly rawTopics: readonly string[];
|
|
902
901
|
readonly rawData: string;
|
|
903
902
|
}[];
|
|
904
|
-
readonly
|
|
903
|
+
readonly success: boolean;
|
|
904
|
+
readonly blockNumber: number;
|
|
905
|
+
readonly blockTimestamp: number;
|
|
906
|
+
readonly blockTimestampUtc: string;
|
|
905
907
|
}[] | undefined;
|
|
906
908
|
} & {
|
|
907
|
-
readonly
|
|
909
|
+
readonly errorMessage?: string | undefined;
|
|
908
910
|
} & {
|
|
909
911
|
readonly signature?: string | undefined;
|
|
910
|
-
} & {
|
|
911
|
-
readonly errorMessage?: string | undefined;
|
|
912
912
|
} & {
|
|
913
913
|
readonly availableSignatures?: readonly {
|
|
914
914
|
readonly name: string;
|
|
@@ -924,6 +924,7 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
924
924
|
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
925
925
|
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
926
926
|
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
927
|
+
successOnly: Schema.optional<typeof Schema.Boolean>;
|
|
927
928
|
direction: Schema.optional<Schema.Literal<["direct", "indirect", "both"]>>;
|
|
928
929
|
topic1: Schema.optional<typeof Schema.String>;
|
|
929
930
|
topic2: Schema.optional<typeof Schema.String>;
|
|
@@ -937,13 +938,14 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
937
938
|
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
938
939
|
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
939
940
|
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
941
|
+
successOnly: Schema.optional<typeof Schema.Boolean>;
|
|
940
942
|
direction: Schema.optional<Schema.Literal<["direct", "indirect", "both"]>>;
|
|
941
943
|
topic1: Schema.optional<typeof Schema.String>;
|
|
942
944
|
topic2: Schema.optional<typeof Schema.String>;
|
|
943
945
|
topic3: Schema.optional<typeof Schema.String>;
|
|
944
946
|
calledBy: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
945
947
|
}>, never, {
|
|
946
|
-
readonly
|
|
948
|
+
readonly limit?: number | undefined;
|
|
947
949
|
} & {
|
|
948
950
|
readonly page?: number | undefined;
|
|
949
951
|
} & {
|
|
@@ -955,7 +957,9 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
955
957
|
} & {
|
|
956
958
|
readonly afterBlocknumber?: number | undefined;
|
|
957
959
|
} & {
|
|
958
|
-
readonly
|
|
960
|
+
readonly direction?: "direct" | "indirect" | "both" | undefined;
|
|
961
|
+
} & {
|
|
962
|
+
readonly successOnly?: boolean | undefined;
|
|
959
963
|
} & {
|
|
960
964
|
readonly offset?: number | undefined;
|
|
961
965
|
} & {
|
|
@@ -273,6 +273,7 @@ var LatestTxParams = class extends Schema.Class("LatestTxParams")({
|
|
|
273
273
|
afterTimestamp: Schema.optional(Schema.Number),
|
|
274
274
|
beforeBlocknumber: Schema.optional(Schema.Number),
|
|
275
275
|
afterBlocknumber: Schema.optional(Schema.Number),
|
|
276
|
+
successOnly: Schema.optional(Schema.Boolean),
|
|
276
277
|
direction: Schema.optional(Schema.Literal("direct", "indirect", "both")),
|
|
277
278
|
topic1: Schema.optional(Schema.String),
|
|
278
279
|
topic2: Schema.optional(Schema.String),
|
|
@@ -82,13 +82,15 @@ declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
|
|
|
82
82
|
}>, never, {
|
|
83
83
|
readonly value: string;
|
|
84
84
|
} & {
|
|
85
|
-
readonly
|
|
85
|
+
readonly method?: string | null | undefined;
|
|
86
86
|
} & {
|
|
87
87
|
readonly to: string;
|
|
88
|
-
} & {
|
|
89
|
-
readonly nonce: number;
|
|
90
88
|
} & {
|
|
91
89
|
readonly data: string | null;
|
|
90
|
+
} & {
|
|
91
|
+
readonly safeTxHash: string;
|
|
92
|
+
} & {
|
|
93
|
+
readonly nonce: number;
|
|
92
94
|
} & {
|
|
93
95
|
readonly submissionDate?: string | undefined;
|
|
94
96
|
} & {
|
|
@@ -97,8 +99,6 @@ declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
|
|
|
97
99
|
readonly confirmationsReceived?: number | undefined;
|
|
98
100
|
} & {
|
|
99
101
|
readonly proposer?: string | null | undefined;
|
|
100
|
-
} & {
|
|
101
|
-
readonly method?: string | null | undefined;
|
|
102
102
|
}, {}, {}>;
|
|
103
103
|
declare class PendingTransaction extends PendingTransaction_base {}
|
|
104
104
|
declare const MultisigDetails_base: Schema.Class<MultisigDetails, {
|
|
@@ -140,15 +140,15 @@ declare const WalletOverview_base: Schema.Class<WalletOverview, {
|
|
|
140
140
|
totalDeployedContractsCount: typeof Schema.Number;
|
|
141
141
|
balances: Schema.Array$<typeof WalletBalance>;
|
|
142
142
|
}>, never, {
|
|
143
|
-
readonly walletAddress: string;
|
|
144
|
-
} & {
|
|
145
143
|
readonly blockchain: "ethereum" | "base";
|
|
144
|
+
} & {
|
|
145
|
+
readonly walletAddress: string;
|
|
146
146
|
} & {
|
|
147
147
|
readonly totalTransactionCount: number;
|
|
148
148
|
} & {
|
|
149
149
|
readonly totalDeployedContractsCount: number;
|
|
150
150
|
} & {
|
|
151
|
-
readonly walletType: "
|
|
151
|
+
readonly walletType: "eoa" | "erc7702" | "erc4337" | "multisig" | "contract";
|
|
152
152
|
} & {
|
|
153
153
|
readonly implementationAddress?: string | undefined;
|
|
154
154
|
} & {
|
|
@@ -204,21 +204,21 @@ declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
|
|
|
204
204
|
formattedAmount: typeof Schema.String;
|
|
205
205
|
direction: Schema.Literal<["in", "out"]>;
|
|
206
206
|
}>, never, {
|
|
207
|
-
readonly amount: string;
|
|
208
|
-
} & {
|
|
209
207
|
readonly txHash: string;
|
|
210
|
-
} & {
|
|
211
|
-
readonly blockTimestamp: number;
|
|
212
|
-
} & {
|
|
213
|
-
readonly blockTimestampUtc: string;
|
|
214
208
|
} & {
|
|
215
209
|
readonly blockNumber: number;
|
|
216
210
|
} & {
|
|
217
|
-
readonly
|
|
211
|
+
readonly blockTimestamp: number;
|
|
212
|
+
} & {
|
|
213
|
+
readonly amount: string;
|
|
218
214
|
} & {
|
|
219
215
|
readonly fromAddress: string;
|
|
220
216
|
} & {
|
|
221
217
|
readonly toAddress: string;
|
|
218
|
+
} & {
|
|
219
|
+
readonly blockTimestampUtc: string;
|
|
220
|
+
} & {
|
|
221
|
+
readonly logIndex: number;
|
|
222
222
|
} & {
|
|
223
223
|
readonly formattedAmount: string;
|
|
224
224
|
} & {
|
|
@@ -257,10 +257,10 @@ declare const TokenActivity_base: Schema.Class<TokenActivity, {
|
|
|
257
257
|
pagination: typeof TokenActivityPagination;
|
|
258
258
|
}>, never, {
|
|
259
259
|
readonly blockchain: "ethereum" | "base";
|
|
260
|
-
} & {
|
|
261
|
-
readonly holderAddress: string;
|
|
262
260
|
} & {
|
|
263
261
|
readonly tokenAddress: string;
|
|
262
|
+
} & {
|
|
263
|
+
readonly holderAddress: string;
|
|
264
264
|
} & {
|
|
265
265
|
readonly balance: TokenBalanceInfo;
|
|
266
266
|
} & {
|
|
@@ -282,11 +282,11 @@ declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
|
|
|
282
282
|
contractName: Schema.NullOr<typeof Schema.String>;
|
|
283
283
|
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
284
284
|
}>, never, {
|
|
285
|
+
readonly functionSignature: string;
|
|
286
|
+
} & {
|
|
285
287
|
readonly contractName: string | null;
|
|
286
288
|
} & {
|
|
287
289
|
readonly callee: string;
|
|
288
|
-
} & {
|
|
289
|
-
readonly functionSignature: string;
|
|
290
290
|
} & {
|
|
291
291
|
readonly functionName: string;
|
|
292
292
|
} & {
|
|
@@ -305,10 +305,10 @@ declare const WalletTxActionExecution_base: Schema.Class<WalletTxActionExecution
|
|
|
305
305
|
executionId: typeof Schema.String;
|
|
306
306
|
}>, never, {
|
|
307
307
|
readonly actionId: string;
|
|
308
|
-
} & {
|
|
309
|
-
readonly versionId: string;
|
|
310
308
|
} & {
|
|
311
309
|
readonly actionName: string;
|
|
310
|
+
} & {
|
|
311
|
+
readonly versionId: string;
|
|
312
312
|
} & {
|
|
313
313
|
readonly executionId: string;
|
|
314
314
|
}, {}, {}>;
|
|
@@ -354,19 +354,19 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
|
|
|
354
354
|
fromEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
355
355
|
toEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
356
356
|
}>, never, {
|
|
357
|
-
readonly amount: number;
|
|
358
|
-
} & {
|
|
359
357
|
readonly txHash: string;
|
|
360
358
|
} & {
|
|
361
|
-
readonly
|
|
359
|
+
readonly tokenAddress: string;
|
|
362
360
|
} & {
|
|
363
361
|
readonly blockNumber: number;
|
|
362
|
+
} & {
|
|
363
|
+
readonly blockTimestamp: number;
|
|
364
|
+
} & {
|
|
365
|
+
readonly amount: number;
|
|
364
366
|
} & {
|
|
365
367
|
readonly fromAddress: string;
|
|
366
368
|
} & {
|
|
367
369
|
readonly toAddress: string;
|
|
368
|
-
} & {
|
|
369
|
-
readonly tokenAddress: string;
|
|
370
370
|
} & {
|
|
371
371
|
readonly chainId: number;
|
|
372
372
|
} & {
|
|
@@ -381,12 +381,12 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
|
|
|
381
381
|
readonly tokenPriceUsd: number;
|
|
382
382
|
} & {
|
|
383
383
|
readonly tokenLogoUrl: string;
|
|
384
|
+
} & {
|
|
385
|
+
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
384
386
|
} & {
|
|
385
387
|
readonly fromAddressIsContract: boolean;
|
|
386
388
|
} & {
|
|
387
389
|
readonly toAddressIsContract: boolean;
|
|
388
|
-
} & {
|
|
389
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
390
390
|
} & {
|
|
391
391
|
readonly fromEntityLabel?: string | null | undefined;
|
|
392
392
|
} & {
|
|
@@ -434,15 +434,19 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
|
|
|
434
434
|
}>, never, {
|
|
435
435
|
readonly txHash?: string | undefined;
|
|
436
436
|
} & {
|
|
437
|
-
readonly
|
|
437
|
+
readonly tokenAddress: string;
|
|
438
438
|
} & {
|
|
439
439
|
readonly blockNumber: number;
|
|
440
440
|
} & {
|
|
441
|
-
readonly
|
|
441
|
+
readonly blockTimestamp: number;
|
|
442
442
|
} & {
|
|
443
|
-
readonly
|
|
443
|
+
readonly holderAddress: string;
|
|
444
444
|
} & {
|
|
445
445
|
readonly transfers: readonly WalletTxTransfer[];
|
|
446
|
+
} & {
|
|
447
|
+
readonly holderIsContract: boolean;
|
|
448
|
+
} & {
|
|
449
|
+
readonly balanceChange: number;
|
|
446
450
|
} & {
|
|
447
451
|
readonly chainId: number;
|
|
448
452
|
} & {
|
|
@@ -459,10 +463,6 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
|
|
|
459
463
|
readonly tokenLogoUrl: string;
|
|
460
464
|
} & {
|
|
461
465
|
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
462
|
-
} & {
|
|
463
|
-
readonly holderIsContract: boolean;
|
|
464
|
-
} & {
|
|
465
|
-
readonly balanceChange: number;
|
|
466
466
|
} & {
|
|
467
467
|
readonly holderEntityLabel?: string | null | undefined;
|
|
468
468
|
} & {
|
|
@@ -475,6 +475,7 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
|
|
|
475
475
|
blockTimestampUtc: typeof Schema.String;
|
|
476
476
|
blockNumber: typeof Schema.Number;
|
|
477
477
|
success: typeof Schema.Boolean;
|
|
478
|
+
errorMessage: Schema.optional<typeof Schema.String>;
|
|
478
479
|
calls: Schema.Array$<typeof WalletTxCall>;
|
|
479
480
|
walletBalanceChanges: Schema.Array$<typeof WalletTxBalanceChange>;
|
|
480
481
|
createdContracts: Schema.Array$<Schema.Struct<{
|
|
@@ -489,6 +490,7 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
|
|
|
489
490
|
blockTimestampUtc: typeof Schema.String;
|
|
490
491
|
blockNumber: typeof Schema.Number;
|
|
491
492
|
success: typeof Schema.Boolean;
|
|
493
|
+
errorMessage: Schema.optional<typeof Schema.String>;
|
|
492
494
|
calls: Schema.Array$<typeof WalletTxCall>;
|
|
493
495
|
walletBalanceChanges: Schema.Array$<typeof WalletTxBalanceChange>;
|
|
494
496
|
createdContracts: Schema.Array$<Schema.Struct<{
|
|
@@ -499,14 +501,16 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
|
|
|
499
501
|
actionExecution: Schema.optional<typeof WalletTxActionExecution>;
|
|
500
502
|
}>, never, {
|
|
501
503
|
readonly txHash: string;
|
|
504
|
+
} & {
|
|
505
|
+
readonly success: boolean;
|
|
506
|
+
} & {
|
|
507
|
+
readonly blockNumber: number;
|
|
502
508
|
} & {
|
|
503
509
|
readonly blockTimestamp: number;
|
|
504
510
|
} & {
|
|
505
511
|
readonly blockTimestampUtc: string;
|
|
506
512
|
} & {
|
|
507
|
-
readonly
|
|
508
|
-
} & {
|
|
509
|
-
readonly success: boolean;
|
|
513
|
+
readonly errorMessage?: string | undefined;
|
|
510
514
|
} & {
|
|
511
515
|
readonly calls: readonly WalletTxCall[];
|
|
512
516
|
} & {
|
|
@@ -594,15 +598,15 @@ declare const DeployedContract_base: Schema.Class<DeployedContract, {
|
|
|
594
598
|
}>, never, {
|
|
595
599
|
readonly symbol: string | null;
|
|
596
600
|
} & {
|
|
597
|
-
readonly
|
|
601
|
+
readonly contractAddress: string;
|
|
598
602
|
} & {
|
|
599
|
-
readonly
|
|
603
|
+
readonly blockNumber: number;
|
|
600
604
|
} & {
|
|
601
|
-
readonly
|
|
605
|
+
readonly blockTimestamp: number;
|
|
602
606
|
} & {
|
|
603
|
-
readonly
|
|
607
|
+
readonly contractName: string | null;
|
|
604
608
|
} & {
|
|
605
|
-
readonly
|
|
609
|
+
readonly blockTimestampUtc: string;
|
|
606
610
|
} & {
|
|
607
611
|
readonly deploymentTxnHash: string;
|
|
608
612
|
} & {
|
|
@@ -674,10 +678,6 @@ declare const TokenActivityParams_base: Schema.Class<TokenActivityParams, {
|
|
|
674
678
|
fromAddress: Schema.optional<typeof Schema.String>;
|
|
675
679
|
toAddress: Schema.optional<typeof Schema.String>;
|
|
676
680
|
}>, never, {
|
|
677
|
-
readonly fromAddress?: string | undefined;
|
|
678
|
-
} & {
|
|
679
|
-
readonly toAddress?: string | undefined;
|
|
680
|
-
} & {
|
|
681
681
|
readonly page?: number | undefined;
|
|
682
682
|
} & {
|
|
683
683
|
readonly beforeTimestamp?: number | undefined;
|
|
@@ -687,6 +687,10 @@ declare const TokenActivityParams_base: Schema.Class<TokenActivityParams, {
|
|
|
687
687
|
readonly beforeBlocknumber?: number | undefined;
|
|
688
688
|
} & {
|
|
689
689
|
readonly afterBlocknumber?: number | undefined;
|
|
690
|
+
} & {
|
|
691
|
+
readonly fromAddress?: string | undefined;
|
|
692
|
+
} & {
|
|
693
|
+
readonly toAddress?: string | undefined;
|
|
690
694
|
}, {}, {}>;
|
|
691
695
|
declare class TokenActivityParams extends TokenActivityParams_base {}
|
|
692
696
|
declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQuery, {
|
|
@@ -698,6 +702,7 @@ declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQue
|
|
|
698
702
|
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
699
703
|
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
700
704
|
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
705
|
+
successOnly: Schema.optional<typeof Schema.Boolean>;
|
|
701
706
|
}, Schema.Struct.Encoded<{
|
|
702
707
|
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
703
708
|
fromAddress: Schema.optional<typeof Schema.String>;
|
|
@@ -707,10 +712,9 @@ declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQue
|
|
|
707
712
|
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
708
713
|
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
709
714
|
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
715
|
+
successOnly: Schema.optional<typeof Schema.Boolean>;
|
|
710
716
|
}>, never, {
|
|
711
717
|
readonly blockchain: "ethereum" | "base";
|
|
712
|
-
} & {
|
|
713
|
-
readonly fromAddress?: string | undefined;
|
|
714
718
|
} & {
|
|
715
719
|
readonly page?: number | undefined;
|
|
716
720
|
} & {
|
|
@@ -721,8 +725,12 @@ declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQue
|
|
|
721
725
|
readonly beforeBlocknumber?: number | undefined;
|
|
722
726
|
} & {
|
|
723
727
|
readonly afterBlocknumber?: number | undefined;
|
|
728
|
+
} & {
|
|
729
|
+
readonly fromAddress?: string | undefined;
|
|
724
730
|
} & {
|
|
725
731
|
readonly toAddresses?: readonly string[] | undefined;
|
|
732
|
+
} & {
|
|
733
|
+
readonly successOnly?: boolean | undefined;
|
|
726
734
|
}, {}, {}>;
|
|
727
735
|
/** Same fields as MCP `getTransactionActivityTool` inputs (camelCase); POST `/v1/wallets/transaction-activity` body uses snake_case. */
|
|
728
736
|
declare class TransactionActivityQuery extends TransactionActivityQuery_base {}
|
|
@@ -139,6 +139,7 @@ var WalletTransaction = class extends Schema.Class("WalletTransaction")({
|
|
|
139
139
|
blockTimestampUtc: Schema.String,
|
|
140
140
|
blockNumber: Schema.Number,
|
|
141
141
|
success: Schema.Boolean,
|
|
142
|
+
errorMessage: Schema.optional(Schema.String),
|
|
142
143
|
calls: Schema.Array(WalletTxCall),
|
|
143
144
|
walletBalanceChanges: Schema.Array(WalletTxBalanceChange),
|
|
144
145
|
createdContracts: Schema.Array(Schema.Struct({
|
|
@@ -205,7 +206,8 @@ var TransactionActivityQuery = class extends Schema.Class("TransactionActivityQu
|
|
|
205
206
|
beforeTimestamp: Schema.optional(Schema.Number),
|
|
206
207
|
afterTimestamp: Schema.optional(Schema.Number),
|
|
207
208
|
beforeBlocknumber: Schema.optional(Schema.Number),
|
|
208
|
-
afterBlocknumber: Schema.optional(Schema.Number)
|
|
209
|
+
afterBlocknumber: Schema.optional(Schema.Number),
|
|
210
|
+
successOnly: Schema.optional(Schema.Boolean)
|
|
209
211
|
}) {};
|
|
210
212
|
|
|
211
213
|
//#endregion
|