@herd-labs/sdk 0.0.3 → 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.
@@ -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 _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
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 | _effect_platform_HttpClient6.HttpClient>;
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 _effect_platform_HttpClient9 from "@effect/platform/HttpClient";
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 | _effect_platform_HttpClient9.HttpClient>;
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 { BookmarksService } from "../services/BookmarksService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient7 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/BookmarksServiceLive.d.ts
7
- declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
7
+ declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient7.HttpClient>;
8
8
  //#endregion
9
9
  export { BookmarksServiceLive };
@@ -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 _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
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 | _effect_platform_HttpClient4.HttpClient>;
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 { CollectionsService } from "../services/CollectionsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient2 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient5 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/CollectionsServiceLive.d.ts
7
- declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient2.HttpClient>;
7
+ declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient5.HttpClient>;
8
8
  //#endregion
9
9
  export { CollectionsServiceLive };
@@ -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 _effect_platform_HttpClient5 from "@effect/platform/HttpClient";
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 | _effect_platform_HttpClient5.HttpClient>;
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 _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
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 | _effect_platform_HttpClient0.HttpClient>;
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 { HalService } from "../services/HalService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient2 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/HalServiceLive.d.ts
7
- declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
7
+ declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient2.HttpClient>;
8
8
  //#endregion
9
9
  export { HalServiceLive };
@@ -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 _effect_platform_HttpClient7 from "@effect/platform/HttpClient";
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 | _effect_platform_HttpClient7.HttpClient>;
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 effect_Brand3 from "effect/Brand";
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, {
@@ -128,8 +128,6 @@ declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
128
128
  }>>;
129
129
  }>, never, {
130
130
  readonly limit: number;
131
- } & {
132
- readonly offset: number;
133
131
  } & {
134
132
  readonly scope: readonly ("yours" | "all_published" | "verified")[];
135
133
  } & {
@@ -137,6 +135,8 @@ declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
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, {
@@ -233,13 +233,13 @@ declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSear
233
233
  }>>;
234
234
  scope: Schema.Array$<Schema.Literal<["yours", "verified"]>>;
235
235
  }>, never, {
236
+ readonly scope: readonly ("yours" | "verified")[];
237
+ } & {
236
238
  readonly contracts: readonly {
237
239
  readonly blockchain?: "ethereum" | "base" | undefined;
238
240
  readonly functionSignatures?: readonly string[] | undefined;
239
- readonly address: string & effect_Brand3.Brand<"EvmAddress">;
241
+ readonly address: string & effect_Brand1.Brand<"EvmAddress">;
240
242
  }[];
241
- } & {
242
- readonly scope: readonly ("yours" | "verified")[];
243
243
  }, {}, {}>;
244
244
  declare class RelatedAdaptersSearchParams extends RelatedAdaptersSearchParams_base {}
245
245
  declare const CreateActionParams_base: Schema.Class<CreateActionParams, {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand0 from "effect/Brand";
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"]>;
@@ -28,14 +28,14 @@ declare const ContractBookmark_base: Schema.Class<ContractBookmark, {
28
28
  readonly blockchain: string;
29
29
  } & {
30
30
  readonly contractAddress: string;
31
+ } & {
32
+ readonly contractName: string | null;
31
33
  } & {
32
34
  readonly createdAt: string;
33
35
  } & {
34
36
  readonly updatedAt: string;
35
37
  } & {
36
38
  readonly userLabel: string | null;
37
- } & {
38
- readonly contractName: string | null;
39
39
  } & {
40
40
  readonly label: string | null;
41
41
  }, {}, {}>;
@@ -58,14 +58,14 @@ declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
58
58
  readonly id: string;
59
59
  } & {
60
60
  readonly blockchain: string;
61
+ } & {
62
+ readonly transactionHash: string;
61
63
  } & {
62
64
  readonly createdAt: string;
63
65
  } & {
64
66
  readonly updatedAt: string;
65
67
  } & {
66
68
  readonly userLabel: string | null;
67
- } & {
68
- readonly transactionHash: string;
69
69
  }, {}, {}>;
70
70
  declare class TransactionBookmark extends TransactionBookmark_base {}
71
71
  declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
@@ -82,14 +82,14 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
82
82
  updatedAt: typeof Schema.String;
83
83
  }>, never, {
84
84
  readonly id: string;
85
+ } & {
86
+ readonly walletAddress: string;
85
87
  } & {
86
88
  readonly createdAt: string;
87
89
  } & {
88
90
  readonly updatedAt: string;
89
91
  } & {
90
92
  readonly userLabel: string | null;
91
- } & {
92
- readonly walletAddress: string;
93
93
  }, {}, {}>;
94
94
  declare class WalletBookmark extends WalletBookmark_base {}
95
95
  declare const BookmarksList_base: Schema.Class<BookmarksList, {
@@ -101,9 +101,9 @@ declare const BookmarksList_base: Schema.Class<BookmarksList, {
101
101
  transactions: Schema.Array$<typeof TransactionBookmark>;
102
102
  wallets: Schema.Array$<typeof WalletBookmark>;
103
103
  }>, never, {
104
- readonly contracts: readonly ContractBookmark[];
105
- } & {
106
104
  readonly transactions: readonly TransactionBookmark[];
105
+ } & {
106
+ readonly contracts: readonly ContractBookmark[];
107
107
  } & {
108
108
  readonly wallets: readonly WalletBookmark[];
109
109
  }, {}, {}>;
@@ -140,9 +140,9 @@ declare const AddContractBookmarkParams_base: Schema.Class<AddContractBookmarkPa
140
140
  }>, never, {
141
141
  readonly blockchain: "ethereum" | "base";
142
142
  } & {
143
- readonly label?: string | undefined;
143
+ readonly address: string & effect_Brand4.Brand<"EvmAddress">;
144
144
  } & {
145
- readonly address: string & effect_Brand0.Brand<"EvmAddress">;
145
+ readonly label?: string | undefined;
146
146
  }, {}, {}>;
147
147
  declare class AddContractBookmarkParams extends AddContractBookmarkParams_base {}
148
148
  declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBookmarkParams, {
@@ -168,9 +168,9 @@ 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 label?: string | undefined;
171
+ readonly address: string & effect_Brand4.Brand<"EvmAddress">;
172
172
  } & {
173
- readonly address: string & effect_Brand0.Brand<"EvmAddress">;
173
+ readonly label?: string | undefined;
174
174
  }, {}, {}>;
175
175
  declare class AddWalletBookmarkParams extends AddWalletBookmarkParams_base {}
176
176
  declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelParams, {
@@ -189,10 +189,10 @@ declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelPa
189
189
  readonly txHash?: string | undefined;
190
190
  } & {
191
191
  readonly blockchain?: "ethereum" | "base" | undefined;
192
- } & {
193
- readonly label: string | null;
194
192
  } & {
195
193
  readonly address?: string | undefined;
194
+ } & {
195
+ readonly label: string | null;
196
196
  } & {
197
197
  readonly objectType: "contract" | "transaction" | "wallet";
198
198
  }, {}, {}>;
@@ -73,12 +73,12 @@ declare const CodeBlockDefinition_base: Schema.Class<CodeBlockDefinition, {
73
73
  readonly name: string;
74
74
  } & {
75
75
  readonly intent: string;
76
- } & {
77
- readonly actionId?: string | null | undefined;
78
76
  } & {
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, {
@@ -93,14 +93,14 @@ declare const CollectionsSearchParams_base: Schema.Class<CollectionsSearchParams
93
93
  }>>;
94
94
  }>, never, {
95
95
  readonly limit: number;
96
- } & {
97
- readonly offset: number;
98
96
  } & {
99
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, {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand4 from "effect/Brand";
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, {
@@ -71,17 +71,17 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
71
71
  } & {
72
72
  readonly address: string;
73
73
  } & {
74
- readonly type: "contract" | "wallet";
75
- } & {
76
- readonly rank: number;
74
+ readonly valueUsd: number;
77
75
  } & {
78
76
  readonly balance: number;
79
77
  } & {
80
- readonly valueUsd: number;
78
+ readonly entityLabel?: string | undefined;
81
79
  } & {
82
- readonly sharePercentage: number;
80
+ readonly type: "contract" | "wallet";
83
81
  } & {
84
- readonly entityLabel?: string | undefined;
82
+ readonly rank: number;
83
+ } & {
84
+ readonly sharePercentage: number;
85
85
  } & {
86
86
  readonly coingeckoLabel?: string | undefined;
87
87
  }, {}, {}>;
@@ -122,10 +122,10 @@ declare const TokenDetails_base: Schema.Class<TokenDetails, {
122
122
  readonly name: string;
123
123
  } & {
124
124
  readonly description?: string | undefined;
125
- } & {
126
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
127
125
  } & {
128
126
  readonly decimals?: number | undefined;
127
+ } & {
128
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
129
129
  } & {
130
130
  readonly currentPriceUsd?: number | undefined;
131
131
  } & {
@@ -301,8 +301,6 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
301
301
  patterns: Schema.Array$<typeof Schema.String>;
302
302
  }>, never, {
303
303
  readonly code: string;
304
- } & {
305
- readonly patterns: readonly string[];
306
304
  } & {
307
305
  readonly fileName: string;
308
306
  } & {
@@ -311,6 +309,8 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
311
309
  readonly endLine: number;
312
310
  } & {
313
311
  readonly numberOfMatches: number;
312
+ } & {
313
+ readonly patterns: readonly string[];
314
314
  }, {}, {}>;
315
315
  declare class ContractCodeMatchBlock extends ContractCodeMatchBlock_base {}
316
316
  declare const ContractCodeSearchResult_base: Schema.Class<ContractCodeSearchResult, {
@@ -330,11 +330,11 @@ declare const ContractCodeSearchResult_base: Schema.Class<ContractCodeSearchResu
330
330
  }>, never, {
331
331
  readonly blockchain: "ethereum" | "base";
332
332
  } & {
333
- readonly contractAddress: string & effect_Brand4.Brand<"EvmAddress">;
334
- } & {
335
- readonly contractName: 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
  } & {
@@ -354,15 +354,15 @@ declare const GetContractCodeParams_base: Schema.Class<GetContractCodeParams, {
354
354
  returnAllCode: Schema.optional<typeof Schema.Boolean>;
355
355
  patterns: Schema.optional<Schema.Array$<typeof Schema.String>>;
356
356
  }>, never, {
357
+ readonly patterns?: readonly string[] | undefined;
358
+ } & {
357
359
  readonly query: string;
358
360
  } & {
359
- readonly contractAddresses: readonly (string & effect_Brand4.Brand<"EvmAddress">)[];
361
+ readonly contractAddresses: readonly (string & effect_Brand2.Brand<"EvmAddress">)[];
360
362
  } & {
361
363
  readonly includeProxies?: boolean | undefined;
362
364
  } & {
363
365
  readonly returnAllCode?: boolean | undefined;
364
- } & {
365
- readonly patterns?: readonly string[] | undefined;
366
366
  }, {}, {}>;
367
367
  declare class GetContractCodeParams extends GetContractCodeParams_base {}
368
368
  declare const GetContractCodeResponse_base: Schema.Class<GetContractCodeResponse, {
@@ -479,23 +479,23 @@ declare const Role_base: Schema.Class<Role, {
479
479
  }>, never, {
480
480
  readonly name: string;
481
481
  } & {
482
- readonly tokenBalance?: TokenBalance | undefined;
482
+ readonly functions: readonly RoleFunction[];
483
483
  } & {
484
484
  readonly modifier?: string | undefined;
485
485
  } & {
486
486
  readonly roleType?: "access-control" | "gate" | undefined;
487
487
  } & {
488
- readonly valueStorageType?: "unknown" | "constant" | "immutable" | "variable" | "mapping" | undefined;
488
+ readonly valueStorageType?: "constant" | "immutable" | "variable" | "mapping" | "unknown" | undefined;
489
489
  } & {
490
490
  readonly administeredBy?: readonly string[] | undefined;
491
- } & {
492
- readonly functions: readonly RoleFunction[];
493
491
  } & {
494
492
  readonly holderVerificationFunctionSignatures?: readonly string[] | undefined;
495
493
  } & {
496
494
  readonly anyAddress?: boolean | undefined;
497
495
  } & {
498
496
  readonly onOtherContract?: string | undefined;
497
+ } & {
498
+ readonly tokenBalance?: TokenBalance | undefined;
499
499
  } & {
500
500
  readonly holders?: readonly string[] | undefined;
501
501
  } & {
@@ -515,9 +515,9 @@ declare const RolesNodeMultisigDetails_base: Schema.Class<RolesNodeMultisigDetai
515
515
  threshold: typeof Schema.Number;
516
516
  signerCount: typeof Schema.Number;
517
517
  }>, never, {
518
- readonly type: "multisig" | "aragon-multisig";
519
- } & {
520
518
  readonly threshold: number;
519
+ } & {
520
+ readonly type: "multisig" | "aragon-multisig";
521
521
  } & {
522
522
  readonly signerCount: number;
523
523
  } & {
@@ -555,17 +555,19 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
555
555
  processState: Schema.optional<Schema.Literal<["processed", "skipped", "failed", "max_depth"]>>;
556
556
  nodeDepth: Schema.optional<typeof Schema.Number>;
557
557
  }>, never, {
558
- readonly contractName?: string | undefined;
558
+ readonly address: string;
559
559
  } & {
560
- readonly label?: string | undefined;
560
+ readonly contractName?: string | undefined;
561
561
  } & {
562
- readonly address: string;
562
+ readonly multisigDetails?: RolesNodeMultisigDetails | undefined;
563
563
  } & {
564
564
  readonly tokenSymbol?: string | undefined;
565
565
  } & {
566
- readonly nodeType: "contract" | "wallet" | "safe" | "unknown" | "tokenBalance";
566
+ readonly label?: string | undefined;
567
567
  } & {
568
568
  readonly tokenBalance?: TokenBalance | undefined;
569
+ } & {
570
+ readonly nodeType: "contract" | "wallet" | "unknown" | "tokenBalance" | "safe";
569
571
  } & {
570
572
  readonly isVerified?: boolean | null | undefined;
571
573
  } & {
@@ -574,8 +576,6 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
574
576
  readonly isUpgradeable?: boolean | null | undefined;
575
577
  } & {
576
578
  readonly roles?: readonly Role[] | undefined;
577
- } & {
578
- readonly multisigDetails?: RolesNodeMultisigDetails | undefined;
579
579
  } & {
580
580
  readonly processState?: "failed" | "processed" | "skipped" | "max_depth" | undefined;
581
581
  } & {
@@ -609,13 +609,13 @@ declare const DiffVersionInfo_base: Schema.Class<DiffVersionInfo, {
609
609
  blockNumber: typeof Schema.Number;
610
610
  contractName: typeof Schema.String;
611
611
  }>, never, {
612
- readonly contractName: string;
613
- } & {
614
612
  readonly blockNumber: number;
615
- } & {
616
- readonly versionNumber: number;
617
613
  } & {
618
614
  readonly implementationAddress: string;
615
+ } & {
616
+ readonly contractName: string;
617
+ } & {
618
+ readonly versionNumber: number;
619
619
  }, {}, {}>;
620
620
  declare class DiffVersionInfo extends DiffVersionInfo_base {}
621
621
  declare const DiffEntry_base: Schema.Class<DiffEntry, {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand1 from "effect/Brand";
2
+ import * as effect_Brand0 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/hal.d.ts
5
5
  declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
@@ -27,7 +27,7 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
27
27
  }>, never, {
28
28
  readonly expression: unknown;
29
29
  } & {
30
- readonly walletAddress: string & effect_Brand1.Brand<"EvmAddress">;
30
+ readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
31
31
  } & {
32
32
  readonly inputValues?: {
33
33
  readonly [x: string]: unknown;
@@ -66,9 +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_Brand1.Brand<"EvmAddress">;
69
+ readonly actionId: string;
70
70
  } & {
71
- readonly version?: string | undefined;
71
+ readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
72
72
  } & {
73
73
  readonly inputValues?: {
74
74
  readonly [x: string]: unknown;
@@ -83,7 +83,7 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
83
83
  } & {
84
84
  readonly simulationBlockNumber?: number | undefined;
85
85
  } & {
86
- readonly actionId: string;
86
+ readonly version?: string | undefined;
87
87
  }, {}, {}>;
88
88
  declare class EvaluateExistingParams extends EvaluateExistingParams_base {}
89
89
  declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
@@ -124,8 +124,6 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
124
124
  readonly value?: string | null | undefined;
125
125
  } & {
126
126
  readonly blockchain?: "ethereum" | "base" | undefined;
127
- } & {
128
- readonly transactionHash: string | null;
129
127
  } & {
130
128
  readonly status: "failed" | "success" | "pending";
131
129
  } & {
@@ -134,6 +132,8 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
134
132
  readonly batchStepIndex: number | null;
135
133
  } & {
136
134
  readonly toContractName: string | null;
135
+ } & {
136
+ readonly transactionHash: string | null;
137
137
  } & {
138
138
  readonly transactionErrorMessage: string | null;
139
139
  } & {
@@ -178,17 +178,17 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
178
178
  tevmForkBlockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
179
179
  }>, never, {
180
180
  readonly hint?: string | undefined;
181
- } & {
182
- readonly tevmForkId?: string | undefined;
183
- } & {
184
- readonly status: "completed" | "suspended" | "failed";
185
- } & {
186
- readonly result?: unknown;
187
181
  } & {
188
182
  readonly error?: {
189
183
  readonly message: string;
190
184
  readonly name: string;
191
185
  } | undefined;
186
+ } & {
187
+ readonly status: "completed" | "suspended" | "failed";
188
+ } & {
189
+ readonly tevmForkId?: string | undefined;
190
+ } & {
191
+ readonly result?: unknown;
192
192
  } & {
193
193
  readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
194
194
  } & {
@@ -455,10 +455,10 @@ declare const Transaction_base: Schema.Class<Transaction, {
455
455
  readonly blockchain: "ethereum" | "base";
456
456
  } & {
457
457
  readonly functionSignature?: string | null | undefined;
458
- } & {
459
- readonly tevmForkId?: string | null | undefined;
460
458
  } & {
461
459
  readonly error?: string | null | undefined;
460
+ } & {
461
+ readonly tevmForkId?: string | null | undefined;
462
462
  } & {
463
463
  readonly success: boolean;
464
464
  } & {
@@ -467,8 +467,55 @@ declare const Transaction_base: Schema.Class<Transaction, {
467
467
  readonly fromAddress: string;
468
468
  } & {
469
469
  readonly toAddress: string;
470
+ } & {
471
+ readonly transfers: readonly {
472
+ readonly txHash: string;
473
+ readonly tokenAddress: string;
474
+ readonly blockNumber: number;
475
+ readonly blockTimestamp: number;
476
+ readonly amount: number;
477
+ readonly fromAddress: string;
478
+ readonly toAddress: string;
479
+ readonly logIndex?: number | undefined;
480
+ readonly chainId: number;
481
+ readonly tokenId: number;
482
+ readonly tokenDecimals: number;
483
+ readonly tokenName: string;
484
+ readonly tokenSymbol: string;
485
+ readonly tokenPriceUsd: number;
486
+ readonly tokenLogoUrl: string;
487
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
488
+ readonly fromAddressIsContract: boolean;
489
+ readonly toAddressIsContract: boolean;
490
+ readonly fromEntityLabel?: string | null | undefined;
491
+ readonly toEntityLabel?: string | null | undefined;
492
+ readonly traceAddress?: string | undefined;
493
+ readonly callerFunction?: {
494
+ readonly tokenAddress: string;
495
+ readonly callerAddress: string;
496
+ readonly callerFunctionSignature: string;
497
+ readonly callerTraceAddress: string;
498
+ readonly callerContractName?: string | undefined;
499
+ readonly callerFunctionName?: string | undefined;
500
+ } | null | undefined;
501
+ readonly tokenFunction?: {
502
+ readonly tokenFunctionSignature: string;
503
+ readonly tokenTraceAddress: string;
504
+ readonly tokenContractName?: string | undefined;
505
+ readonly tokenFunctionName?: string | undefined;
506
+ } | undefined;
507
+ }[];
470
508
  } & {
471
509
  readonly timestamp: number;
510
+ } & {
511
+ readonly createdContracts: readonly string[];
512
+ } & {
513
+ readonly actionExecution?: {
514
+ readonly actionId: string;
515
+ readonly actionName: string;
516
+ readonly versionId: string;
517
+ readonly executionId: string;
518
+ } | undefined;
472
519
  } & {
473
520
  readonly decodedTraces: DecodedTrace;
474
521
  } & {
@@ -476,33 +523,33 @@ declare const Transaction_base: Schema.Class<Transaction, {
476
523
  readonly value: number;
477
524
  readonly from: string;
478
525
  readonly hash: string;
479
- readonly type: string;
480
526
  readonly status: number;
481
527
  readonly blockNumber: number;
482
528
  readonly to: string | null;
529
+ readonly nonce: number;
530
+ readonly r: string;
531
+ readonly timestamp: number;
532
+ readonly s: string;
533
+ readonly chainId: number;
534
+ readonly type: string;
483
535
  readonly blockHash: string;
484
536
  readonly transactionIndex: number;
485
- readonly chainId: number;
486
537
  readonly gas: number;
487
538
  readonly gasPrice: number;
488
- readonly nonce: number;
489
539
  readonly input: string;
490
- readonly r: string;
491
- readonly s: string;
492
540
  readonly v: string;
493
- readonly timestamp: number;
494
541
  readonly gasUsed: number;
495
542
  readonly effectiveGasPrice: number;
496
543
  };
497
544
  } & {
498
545
  readonly decodedLogs: readonly {
499
546
  readonly transactionHash: string;
500
- readonly address: string;
501
547
  readonly blockNumber: number;
502
548
  readonly data: string;
549
+ readonly address: string;
550
+ readonly logIndex: number;
503
551
  readonly blockHash: string;
504
552
  readonly topics: readonly string[];
505
- readonly logIndex: number;
506
553
  readonly transactionIndex: number;
507
554
  readonly removed: boolean;
508
555
  readonly emittedAfterTraceAddress: readonly number[];
@@ -537,8 +584,6 @@ declare const Transaction_base: Schema.Class<Transaction, {
537
584
  readonly tokenAddress: string;
538
585
  readonly blockNumber: number;
539
586
  readonly blockTimestamp: number;
540
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
541
- readonly tokenSymbol: string;
542
587
  readonly holderAddress: string;
543
588
  readonly holderIsContract: boolean;
544
589
  readonly balanceChange: number;
@@ -546,64 +591,19 @@ declare const Transaction_base: Schema.Class<Transaction, {
546
591
  readonly tokenId: number;
547
592
  readonly tokenDecimals: number;
548
593
  readonly tokenName: string;
594
+ readonly tokenSymbol: string;
549
595
  readonly tokenPriceUsd: number;
550
596
  readonly tokenLogoUrl: string;
597
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
551
598
  readonly holderEntityLabel?: string | null | undefined;
552
599
  readonly tokenEntityLabel?: string | null | undefined;
553
600
  }[];
554
- } & {
555
- readonly transfers: readonly {
556
- readonly txHash: string;
557
- readonly tokenAddress: string;
558
- readonly blockNumber: number;
559
- readonly blockTimestamp: number;
560
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
561
- readonly tokenSymbol: string;
562
- readonly toEntityLabel?: string | null | undefined;
563
- readonly fromEntityLabel?: string | null | undefined;
564
- readonly traceAddress?: string | undefined;
565
- readonly logIndex?: number | undefined;
566
- readonly chainId: number;
567
- readonly tokenId: number;
568
- readonly tokenDecimals: number;
569
- readonly tokenName: string;
570
- readonly tokenPriceUsd: number;
571
- readonly tokenLogoUrl: string;
572
- readonly fromAddress: string;
573
- readonly toAddress: string;
574
- readonly amount: number;
575
- readonly fromAddressIsContract: boolean;
576
- readonly toAddressIsContract: boolean;
577
- readonly callerFunction?: {
578
- readonly tokenAddress: string;
579
- readonly callerAddress: string;
580
- readonly callerFunctionSignature: string;
581
- readonly callerTraceAddress: string;
582
- readonly callerContractName?: string | undefined;
583
- readonly callerFunctionName?: string | undefined;
584
- } | null | undefined;
585
- readonly tokenFunction?: {
586
- readonly tokenFunctionSignature: string;
587
- readonly tokenTraceAddress: string;
588
- readonly tokenContractName?: string | undefined;
589
- readonly tokenFunctionName?: string | undefined;
590
- } | undefined;
591
- }[];
592
- } & {
593
- readonly createdContracts: readonly string[];
594
601
  } & {
595
602
  readonly outputs?: {
596
603
  readonly value: string;
597
604
  readonly from: string;
598
605
  readonly summary: string;
599
606
  } | undefined;
600
- } & {
601
- readonly actionExecution?: {
602
- readonly actionId: string;
603
- readonly actionName: string;
604
- readonly versionId: string;
605
- readonly executionId: string;
606
- } | undefined;
607
607
  }, {}, {}>;
608
608
  declare class Transaction extends Transaction_base {}
609
609
  declare const TransactionQueryResponse_base: Schema.Class<TransactionQueryResponse, {
@@ -776,7 +776,6 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
776
776
  readonly blockTimestampUtc: string;
777
777
  readonly functionCalls: readonly {
778
778
  readonly value: number;
779
- readonly signature: string;
780
779
  readonly functionName: string;
781
780
  readonly inputArgs: {
782
781
  readonly [x: string]: unknown;
@@ -784,6 +783,7 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
784
783
  readonly outputArgs: {
785
784
  readonly [x: string]: unknown;
786
785
  } | null;
786
+ readonly signature: string;
787
787
  readonly traceInput: string;
788
788
  readonly callerFunctionDetails: {
789
789
  readonly functionSignature: string | null;
@@ -881,9 +881,6 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
881
881
  readonly transactions?: readonly {
882
882
  readonly txHash: string;
883
883
  readonly from: string;
884
- readonly success: boolean;
885
- readonly blockNumber: number;
886
- readonly blockTimestamp: number;
887
884
  readonly logs: readonly {
888
885
  readonly contractAddress: string;
889
886
  readonly contractName: string;
@@ -903,6 +900,9 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
903
900
  readonly rawTopics: readonly string[];
904
901
  readonly rawData: string;
905
902
  }[];
903
+ readonly success: boolean;
904
+ readonly blockNumber: number;
905
+ readonly blockTimestamp: number;
906
906
  readonly blockTimestampUtc: string;
907
907
  }[] | undefined;
908
908
  } & {
@@ -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,12 +938,15 @@ 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, {
948
+ readonly limit?: number | undefined;
949
+ } & {
946
950
  readonly page?: number | undefined;
947
951
  } & {
948
952
  readonly beforeTimestamp?: number | undefined;
@@ -953,11 +957,11 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
953
957
  } & {
954
958
  readonly afterBlocknumber?: number | undefined;
955
959
  } & {
956
- readonly limit?: number | undefined;
960
+ readonly direction?: "direct" | "indirect" | "both" | undefined;
957
961
  } & {
958
- readonly offset?: number | undefined;
962
+ readonly successOnly?: boolean | undefined;
959
963
  } & {
960
- readonly direction?: "direct" | "indirect" | "both" | undefined;
964
+ readonly offset?: number | undefined;
961
965
  } & {
962
966
  readonly topic1?: string | undefined;
963
967
  } & {
@@ -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),
@@ -19,12 +19,12 @@ declare const WalletBalance_base: Schema.Class<WalletBalance, {
19
19
  readonly symbol: string | null;
20
20
  } & {
21
21
  readonly address: string;
22
+ } & {
23
+ readonly amount: string | number;
22
24
  } & {
23
25
  readonly decimals: number | null;
24
26
  } & {
25
27
  readonly valueUsd: number | null;
26
- } & {
27
- readonly amount: string | number;
28
28
  } & {
29
29
  readonly logoUrl: string | null;
30
30
  }, {}, {}>;
@@ -38,9 +38,9 @@ declare const Erc7702Delegation_base: Schema.Class<Erc7702Delegation, {
38
38
  contractName: typeof Schema.String;
39
39
  functions: Schema.Array$<typeof Schema.String>;
40
40
  }>, never, {
41
- readonly contractName: string;
42
- } & {
43
41
  readonly address: string;
42
+ } & {
43
+ readonly contractName: string;
44
44
  } & {
45
45
  readonly functions: readonly string[];
46
46
  }, {}, {}>;
@@ -87,10 +87,10 @@ declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
87
87
  readonly to: string;
88
88
  } & {
89
89
  readonly data: string | null;
90
- } & {
91
- readonly nonce: number;
92
90
  } & {
93
91
  readonly safeTxHash: string;
92
+ } & {
93
+ readonly nonce: number;
94
94
  } & {
95
95
  readonly submissionDate?: string | undefined;
96
96
  } & {
@@ -144,17 +144,17 @@ declare const WalletOverview_base: Schema.Class<WalletOverview, {
144
144
  } & {
145
145
  readonly walletAddress: string;
146
146
  } & {
147
- readonly multisigDetails?: MultisigDetails | undefined;
148
- } & {
149
- readonly implementationAddress?: string | undefined;
147
+ readonly totalTransactionCount: number;
150
148
  } & {
151
149
  readonly totalDeployedContractsCount: number;
152
150
  } & {
153
- readonly totalTransactionCount: number;
151
+ readonly walletType: "eoa" | "erc7702" | "erc4337" | "multisig" | "contract";
154
152
  } & {
155
- readonly walletType: "contract" | "multisig" | "eoa" | "erc7702" | "erc4337";
153
+ readonly implementationAddress?: string | undefined;
156
154
  } & {
157
155
  readonly erc7702Delegation?: Erc7702Delegation | undefined;
156
+ } & {
157
+ readonly multisigDetails?: MultisigDetails | undefined;
158
158
  } & {
159
159
  readonly earliestTx: number | null;
160
160
  } & {
@@ -210,19 +210,19 @@ declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
210
210
  } & {
211
211
  readonly blockTimestamp: number;
212
212
  } & {
213
- readonly blockTimestampUtc: string;
214
- } & {
215
- readonly logIndex: number;
213
+ readonly amount: string;
216
214
  } & {
217
215
  readonly fromAddress: string;
218
216
  } & {
219
217
  readonly toAddress: string;
220
218
  } & {
221
- readonly amount: string;
219
+ readonly blockTimestampUtc: string;
222
220
  } & {
223
- readonly direction: "in" | "out";
221
+ readonly logIndex: number;
224
222
  } & {
225
223
  readonly formattedAmount: string;
224
+ } & {
225
+ readonly direction: "in" | "out";
226
226
  }, {}, {}>;
227
227
  declare class TokenTransfer extends TokenTransfer_base {}
228
228
  declare const TokenActivityPagination_base: Schema.Class<TokenActivityPagination, {
@@ -259,12 +259,12 @@ declare const TokenActivity_base: Schema.Class<TokenActivity, {
259
259
  readonly blockchain: "ethereum" | "base";
260
260
  } & {
261
261
  readonly tokenAddress: string;
262
+ } & {
263
+ readonly holderAddress: string;
262
264
  } & {
263
265
  readonly balance: TokenBalanceInfo;
264
266
  } & {
265
267
  readonly pagination: TokenActivityPagination;
266
- } & {
267
- readonly holderAddress: string;
268
268
  } & {
269
269
  readonly transfers: readonly TokenTransfer[];
270
270
  }, {}, {}>;
@@ -286,11 +286,11 @@ declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
286
286
  } & {
287
287
  readonly contractName: string | null;
288
288
  } & {
289
- readonly entityLabel: string | null;
289
+ readonly callee: string;
290
290
  } & {
291
291
  readonly functionName: string;
292
292
  } & {
293
- readonly callee: string;
293
+ readonly entityLabel: string | null;
294
294
  }, {}, {}>;
295
295
  declare class WalletTxCall extends WalletTxCall_base {}
296
296
  declare const WalletTxActionExecution_base: Schema.Class<WalletTxActionExecution, {
@@ -362,13 +362,11 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
362
362
  } & {
363
363
  readonly blockTimestamp: number;
364
364
  } & {
365
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
366
- } & {
367
- readonly tokenSymbol: string;
365
+ readonly amount: number;
368
366
  } & {
369
- readonly toEntityLabel?: string | null | undefined;
367
+ readonly fromAddress: string;
370
368
  } & {
371
- readonly fromEntityLabel?: string | null | undefined;
369
+ readonly toAddress: string;
372
370
  } & {
373
371
  readonly chainId: number;
374
372
  } & {
@@ -377,20 +375,22 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
377
375
  readonly tokenDecimals: number;
378
376
  } & {
379
377
  readonly tokenName: string;
378
+ } & {
379
+ readonly tokenSymbol: string;
380
380
  } & {
381
381
  readonly tokenPriceUsd: number;
382
382
  } & {
383
383
  readonly tokenLogoUrl: string;
384
384
  } & {
385
- readonly fromAddress: string;
386
- } & {
387
- readonly toAddress: string;
388
- } & {
389
- readonly amount: number;
385
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
390
386
  } & {
391
387
  readonly fromAddressIsContract: boolean;
392
388
  } & {
393
389
  readonly toAddressIsContract: boolean;
390
+ } & {
391
+ readonly fromEntityLabel?: string | null | undefined;
392
+ } & {
393
+ readonly toEntityLabel?: string | null | undefined;
394
394
  }, {}, {}>;
395
395
  declare class WalletTxTransfer extends WalletTxTransfer_base {}
396
396
  declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
@@ -439,12 +439,10 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
439
439
  readonly blockNumber: number;
440
440
  } & {
441
441
  readonly blockTimestamp: number;
442
- } & {
443
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
444
- } & {
445
- readonly tokenSymbol: string;
446
442
  } & {
447
443
  readonly holderAddress: string;
444
+ } & {
445
+ readonly transfers: readonly WalletTxTransfer[];
448
446
  } & {
449
447
  readonly holderIsContract: boolean;
450
448
  } & {
@@ -457,16 +455,18 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
457
455
  readonly tokenDecimals: number;
458
456
  } & {
459
457
  readonly tokenName: string;
458
+ } & {
459
+ readonly tokenSymbol: string;
460
460
  } & {
461
461
  readonly tokenPriceUsd: number;
462
462
  } & {
463
463
  readonly tokenLogoUrl: string;
464
+ } & {
465
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
464
466
  } & {
465
467
  readonly holderEntityLabel?: string | null | undefined;
466
468
  } & {
467
469
  readonly tokenEntityLabel?: string | null | undefined;
468
- } & {
469
- readonly transfers: readonly WalletTxTransfer[];
470
470
  }, {}, {}>;
471
471
  declare class WalletTxBalanceChange extends WalletTxBalanceChange_base {}
472
472
  declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
@@ -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<{
@@ -507,18 +509,20 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
507
509
  readonly blockTimestamp: number;
508
510
  } & {
509
511
  readonly blockTimestampUtc: string;
512
+ } & {
513
+ readonly errorMessage?: string | undefined;
514
+ } & {
515
+ readonly calls: readonly WalletTxCall[];
516
+ } & {
517
+ readonly walletBalanceChanges: readonly WalletTxBalanceChange[];
510
518
  } & {
511
519
  readonly createdContracts: readonly {
512
- readonly contractName: string | null;
513
520
  readonly address: string;
521
+ readonly contractName: string | null;
514
522
  readonly entityLabel: string | null;
515
523
  }[];
516
524
  } & {
517
525
  readonly actionExecution?: WalletTxActionExecution | undefined;
518
- } & {
519
- readonly calls: readonly WalletTxCall[];
520
- } & {
521
- readonly walletBalanceChanges: readonly WalletTxBalanceChange[];
522
526
  }, {}, {}>;
523
527
  declare class WalletTransaction extends WalletTransaction_base {}
524
528
  declare const TransactionActivityPagination_base: Schema.Class<TransactionActivityPagination, {
@@ -556,17 +560,17 @@ declare const TransactionActivity_base: Schema.Class<TransactionActivity, {
556
560
  }>, never, {
557
561
  readonly blockchain: "ethereum" | "base";
558
562
  } & {
559
- readonly transactions: readonly WalletTransaction[];
563
+ readonly totalTransactionCount: number;
560
564
  } & {
561
- readonly pagination: TransactionActivityPagination;
565
+ readonly earliestTx: number | null;
562
566
  } & {
563
567
  readonly fromAddress: string;
564
568
  } & {
565
- readonly totalTransactionCount: number;
566
- } & {
567
- readonly earliestTx: number | null;
569
+ readonly pagination: TransactionActivityPagination;
568
570
  } & {
569
571
  readonly toAddressesFilter?: readonly string[] | undefined;
572
+ } & {
573
+ readonly transactions: readonly WalletTransaction[];
570
574
  }, {}, {}>;
571
575
  declare class TransactionActivity extends TransactionActivity_base {}
572
576
  declare const DeployedContract_base: Schema.Class<DeployedContract, {
@@ -595,12 +599,12 @@ declare const DeployedContract_base: Schema.Class<DeployedContract, {
595
599
  readonly symbol: string | null;
596
600
  } & {
597
601
  readonly contractAddress: string;
598
- } & {
599
- readonly contractName: string | null;
600
602
  } & {
601
603
  readonly blockNumber: number;
602
604
  } & {
603
605
  readonly blockTimestamp: number;
606
+ } & {
607
+ readonly contractName: string | null;
604
608
  } & {
605
609
  readonly blockTimestampUtc: string;
606
610
  } & {
@@ -645,14 +649,14 @@ declare const DeployedContracts_base: Schema.Class<DeployedContracts, {
645
649
  pagination: typeof DeployedContractsPagination;
646
650
  }>, never, {
647
651
  readonly blockchain: "ethereum" | "base";
648
- } & {
649
- readonly deployerAddress: string;
650
- } & {
651
- readonly isEOA: boolean;
652
652
  } & {
653
653
  readonly totalDeployedContractsCount: number;
654
654
  } & {
655
655
  readonly pagination: DeployedContractsPagination;
656
+ } & {
657
+ readonly deployerAddress: string;
658
+ } & {
659
+ readonly isEOA: boolean;
656
660
  } & {
657
661
  readonly deployedContracts: readonly DeployedContract[];
658
662
  }, {}, {}>;
@@ -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,6 +712,7 @@ 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
718
  } & {
@@ -723,6 +729,8 @@ declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQue
723
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herd-labs/sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",