@herd-labs/sdk 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/dist/index.js +3 -3
  3. package/dist/src/config.d.ts +17 -5
  4. package/dist/src/config.js +12 -2
  5. package/dist/src/live/ActionsServiceLive.js +10 -10
  6. package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
  7. package/dist/src/live/AdaptersServiceLive.js +7 -7
  8. package/dist/src/live/AgentSafesServiceLive.d.ts +2 -2
  9. package/dist/src/live/AgentSafesServiceLive.js +4 -4
  10. package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
  11. package/dist/src/live/AgentWalletsServiceLive.js +3 -3
  12. package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
  13. package/dist/src/live/AgentWorkflowsServiceLive.js +8 -8
  14. package/dist/src/live/AuthServiceLive.d.ts +2 -2
  15. package/dist/src/live/AuthServiceLive.js +8 -7
  16. package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
  17. package/dist/src/live/BookmarksServiceLive.js +7 -7
  18. package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
  19. package/dist/src/live/CodeBlocksServiceLive.js +1 -2
  20. package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
  21. package/dist/src/live/CollectionsServiceLive.js +5 -5
  22. package/dist/src/live/ContractsServiceLive.d.ts +2 -2
  23. package/dist/src/live/ContractsServiceLive.js +5 -5
  24. package/dist/src/live/DocsServiceLive.d.ts +2 -2
  25. package/dist/src/live/DocsServiceLive.js +3 -3
  26. package/dist/src/live/GroupsServiceLive.d.ts +2 -2
  27. package/dist/src/live/GroupsServiceLive.js +7 -7
  28. package/dist/src/live/HalServiceLive.d.ts +2 -2
  29. package/dist/src/live/HalServiceLive.js +3 -3
  30. package/dist/src/live/TransactionsServiceLive.js +4 -4
  31. package/dist/src/live/WalletsServiceLive.d.ts +2 -2
  32. package/dist/src/live/WalletsServiceLive.js +5 -5
  33. package/dist/src/live/http.d.ts +1 -4
  34. package/dist/src/live/http.js +15 -4
  35. package/dist/src/schemas/actions.d.ts +12 -12
  36. package/dist/src/schemas/adapters.d.ts +2 -2
  37. package/dist/src/schemas/agent-wallets.d.ts +20 -20
  38. package/dist/src/schemas/auth.d.ts +22 -12
  39. package/dist/src/schemas/auth.js +16 -5
  40. package/dist/src/schemas/bookmarks.d.ts +14 -14
  41. package/dist/src/schemas/codeblocks.d.ts +2 -2
  42. package/dist/src/schemas/collections.d.ts +2 -2
  43. package/dist/src/schemas/contracts.d.ts +15 -15
  44. package/dist/src/schemas/hal.d.ts +23 -23
  45. package/dist/src/schemas/transactions.d.ts +35 -35
  46. package/dist/src/schemas/wallets.d.ts +37 -37
  47. package/dist/src/services/AuthService.d.ts +3 -2
  48. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand1 from "effect/Brand";
2
+ import * as effect_Brand13 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/contracts.d.ts
5
5
  declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
@@ -67,9 +67,11 @@ 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
- readonly name?: string | undefined;
74
+ readonly type: "wallet" | "contract";
73
75
  } & {
74
76
  readonly rank: number;
75
77
  } & {
@@ -78,8 +80,6 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
78
80
  readonly valueUsd: number;
79
81
  } & {
80
82
  readonly sharePercentage: number;
81
- } & {
82
- readonly type: "contract" | "wallet";
83
83
  } & {
84
84
  readonly entityLabel?: string | undefined;
85
85
  } & {
@@ -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?: {
@@ -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, {
@@ -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 contractAddress: string & effect_Brand1.Brand<"EvmAddress">;
331
+ readonly contractAddress: string & effect_Brand13.Brand<"EvmAddress">;
332
332
  } & {
333
333
  readonly blockchain: "ethereum" | "base";
334
- } & {
335
- readonly contractName: string;
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_Brand1.Brand<"EvmAddress">)[];
361
+ readonly contractAddresses: readonly (string & effect_Brand13.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, {
@@ -397,12 +397,12 @@ declare const DiffVersionInfo_base: Schema.Class<DiffVersionInfo, {
397
397
  contractName: typeof Schema.String;
398
398
  }>, never, {
399
399
  readonly contractName: string;
400
+ } & {
401
+ readonly blockNumber: number;
400
402
  } & {
401
403
  readonly versionNumber: number;
402
404
  } & {
403
405
  readonly implementationAddress: string;
404
- } & {
405
- readonly blockNumber: number;
406
406
  }, {}, {}>;
407
407
  declare class DiffVersionInfo extends DiffVersionInfo_base {}
408
408
  declare const DiffEntry_base: Schema.Class<DiffEntry, {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand12 from "effect/Brand";
2
+ import * as effect_Brand11 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/hal.d.ts
5
5
  declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
@@ -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_Brand12.Brand<"EvmAddress">;
29
- } & {
30
28
  readonly expression: unknown;
31
29
  } & {
32
- readonly tevmForkId?: string | undefined;
30
+ readonly walletAddress: string & effect_Brand11.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,13 +66,11 @@ 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_Brand12.Brand<"EvmAddress">;
70
- } & {
71
- readonly actionId: string;
69
+ readonly walletAddress: string & effect_Brand11.Brand<"EvmAddress">;
72
70
  } & {
73
71
  readonly version?: string | undefined;
74
72
  } & {
75
- readonly tevmForkId?: string | undefined;
73
+ readonly actionId: string;
76
74
  } & {
77
75
  readonly inputValues?: {
78
76
  readonly [x: string]: unknown;
@@ -82,6 +80,8 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
82
80
  readonly tokenAddress: string;
83
81
  readonly startingBalanceRaw: string;
84
82
  }[] | undefined;
83
+ } & {
84
+ readonly tevmForkId?: string | undefined;
85
85
  } & {
86
86
  readonly simulationBlockNumber?: number | undefined;
87
87
  }, {}, {}>;
@@ -121,31 +121,31 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
121
121
  args: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
122
122
  transactionData: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
123
123
  }>, never, {
124
- readonly blockchain?: "ethereum" | "base" | undefined;
125
- } & {
126
- readonly transactionHash: string | null;
127
- } & {
128
124
  readonly value?: string | null | undefined;
125
+ } & {
126
+ readonly blockchain?: "ethereum" | "base" | undefined;
129
127
  } & {
130
128
  readonly status: "success" | "failed" | "pending";
131
129
  } & {
132
- readonly blockNumber: number | null;
130
+ readonly transactionHash: string | null;
133
131
  } & {
134
- readonly blockTimestamp: number | null;
132
+ readonly batchName: string | null;
133
+ } & {
134
+ readonly batchStepIndex: number | null;
135
135
  } & {
136
136
  readonly toContractName: string | null;
137
137
  } & {
138
- readonly data?: string | undefined;
138
+ readonly transactionErrorMessage: string | null;
139
139
  } & {
140
- readonly to?: string | undefined;
140
+ readonly blockNumber: number | null;
141
141
  } & {
142
- readonly batchName: string | null;
142
+ readonly blockTimestamp: number | null;
143
143
  } & {
144
- readonly batchStepIndex: number | null;
144
+ readonly operationId?: string | undefined;
145
145
  } & {
146
- readonly transactionErrorMessage: string | null;
146
+ readonly to?: string | undefined;
147
147
  } & {
148
- readonly operationId?: string | undefined;
148
+ readonly data?: string | undefined;
149
149
  } & {
150
150
  readonly args?: unknown;
151
151
  } & {
@@ -177,11 +177,9 @@ 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
- } & {
182
180
  readonly error?: {
183
- readonly message: string;
184
181
  readonly name: string;
182
+ readonly message: string;
185
183
  } | undefined;
186
184
  } & {
187
185
  readonly status: "failed" | "completed" | "suspended";
@@ -189,6 +187,8 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
189
187
  readonly tevmForkId?: string | undefined;
190
188
  } & {
191
189
  readonly result?: unknown;
190
+ } & {
191
+ readonly hint?: string | undefined;
192
192
  } & {
193
193
  readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
194
194
  } & {
@@ -449,40 +449,43 @@ declare const Transaction_base: Schema.Class<Transaction, {
449
449
  tevmForkId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
450
450
  }>, never, {
451
451
  readonly id: string;
452
- } & {
453
- readonly blockchain: "ethereum" | "base";
454
- } & {
455
- readonly txHash: string;
456
452
  } & {
457
453
  readonly functionSignature?: string | null | undefined;
458
454
  } & {
459
- readonly error?: string | null | undefined;
455
+ readonly blockchain: "ethereum" | "base";
460
456
  } & {
461
- readonly blockNumber: number;
457
+ readonly error?: string | null | undefined;
462
458
  } & {
463
459
  readonly outputs?: {
464
460
  readonly value: string;
465
461
  readonly from: string;
466
462
  readonly summary: string;
467
463
  } | undefined;
464
+ } & {
465
+ readonly txHash: string;
466
+ } & {
467
+ readonly tevmForkId?: string | null | undefined;
468
+ } & {
469
+ readonly success: boolean;
470
+ } & {
471
+ readonly blockNumber: number;
468
472
  } & {
469
473
  readonly fromAddress: string;
470
474
  } & {
471
475
  readonly toAddress: string;
472
476
  } & {
473
477
  readonly timestamp: number;
474
- } & {
475
- readonly success: boolean;
476
478
  } & {
477
479
  readonly decodedTraces: DecodedTrace;
478
480
  } & {
479
481
  readonly transactionMetadata: {
480
482
  readonly value: number;
481
483
  readonly from: string;
484
+ readonly type: string;
482
485
  readonly hash: string;
483
486
  readonly status: number;
484
- readonly type: string;
485
487
  readonly blockNumber: number;
488
+ readonly to: string | null;
486
489
  readonly blockHash: string;
487
490
  readonly transactionIndex: number;
488
491
  readonly chainId: number;
@@ -493,26 +496,25 @@ declare const Transaction_base: Schema.Class<Transaction, {
493
496
  readonly r: string;
494
497
  readonly s: string;
495
498
  readonly v: string;
496
- readonly to: string | null;
497
499
  readonly timestamp: number;
498
500
  readonly gasUsed: number;
499
501
  readonly effectiveGasPrice: number;
500
502
  };
501
503
  } & {
502
504
  readonly decodedLogs: readonly {
503
- readonly transactionHash: string;
504
505
  readonly address: string;
506
+ readonly transactionHash: string;
505
507
  readonly blockNumber: number;
506
- readonly blockHash: string;
507
508
  readonly data: string;
509
+ readonly blockHash: string;
508
510
  readonly topics: readonly string[];
509
511
  readonly logIndex: number;
510
512
  readonly transactionIndex: number;
511
513
  readonly removed: boolean;
512
514
  readonly emittedAfterTraceAddress: readonly number[];
513
515
  readonly implementation?: {
514
- readonly address: string;
515
516
  readonly name: string;
517
+ readonly address: string;
516
518
  readonly is7702?: boolean | undefined;
517
519
  } | undefined;
518
520
  readonly decoded?: {
@@ -528,8 +530,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
528
530
  } | undefined;
529
531
  readonly lineNumber: number;
530
532
  readonly eventFunctionDetails: {
531
- readonly address: string;
532
533
  readonly functionSignature: string;
534
+ readonly address: string;
533
535
  readonly functionName: string | null;
534
536
  readonly addressName: string | null;
535
537
  readonly traceAddress: readonly number[];
@@ -538,14 +540,14 @@ declare const Transaction_base: Schema.Class<Transaction, {
538
540
  } & {
539
541
  readonly balanceChanges: readonly {
540
542
  readonly txHash?: string | undefined;
541
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
543
+ readonly tokenAddress: string;
542
544
  readonly blockNumber: number;
543
545
  readonly blockTimestamp: number;
544
- readonly tokenAddress: string;
545
546
  readonly holderAddress: string;
546
547
  readonly holderIsContract: boolean;
547
548
  readonly balanceChange: number;
548
549
  readonly chainId: number;
550
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
549
551
  readonly tokenId: number;
550
552
  readonly tokenDecimals: number;
551
553
  readonly tokenName: string;
@@ -558,15 +560,15 @@ declare const Transaction_base: Schema.Class<Transaction, {
558
560
  } & {
559
561
  readonly transfers: readonly {
560
562
  readonly txHash: string;
561
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
563
+ readonly tokenAddress: string;
562
564
  readonly blockNumber: number;
563
565
  readonly blockTimestamp: number;
564
566
  readonly toEntityLabel?: string | null | undefined;
565
567
  readonly fromEntityLabel?: string | null | undefined;
566
568
  readonly traceAddress?: string | undefined;
567
569
  readonly logIndex?: number | undefined;
568
- readonly tokenAddress: string;
569
570
  readonly chainId: number;
571
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
570
572
  readonly tokenId: number;
571
573
  readonly tokenDecimals: number;
572
574
  readonly tokenName: string;
@@ -598,12 +600,10 @@ declare const Transaction_base: Schema.Class<Transaction, {
598
600
  } & {
599
601
  readonly actionExecution?: {
600
602
  readonly actionId: string;
601
- readonly versionId: string;
602
603
  readonly actionName: string;
604
+ readonly versionId: string;
603
605
  readonly executionId: 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, {
@@ -770,13 +770,12 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
770
770
  readonly transactions?: readonly {
771
771
  readonly from: string;
772
772
  readonly txHash: string;
773
+ readonly success: boolean;
773
774
  readonly blockNumber: number;
774
775
  readonly blockTimestamp: number;
775
776
  readonly blockTimestampUtc: string;
776
- readonly success: boolean;
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,20 +783,21 @@ 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
- readonly address: string;
790
789
  readonly functionSignature: string | null;
790
+ readonly address: string;
791
791
  readonly functionName: string | null;
792
792
  readonly addressName: string | null;
793
793
  readonly traceAddress: readonly number[];
794
794
  } | null;
795
795
  }[];
796
796
  }[] | undefined;
797
- } & {
798
- readonly errorMessage?: string | undefined;
799
797
  } & {
800
798
  readonly signature?: string | undefined;
799
+ } & {
800
+ readonly errorMessage?: string | undefined;
801
801
  } & {
802
802
  readonly availableSignatures?: readonly {
803
803
  readonly name: string;
@@ -880,7 +880,6 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
880
880
  } & {
881
881
  readonly transactions?: readonly {
882
882
  readonly from: string;
883
- readonly txHash: string;
884
883
  readonly logs: readonly {
885
884
  readonly contractAddress: string;
886
885
  readonly contractName: string;
@@ -891,8 +890,8 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
891
890
  readonly [x: string]: unknown;
892
891
  };
893
892
  readonly eventFunctionDetails: {
894
- readonly address: string;
895
893
  readonly functionSignature: string;
894
+ readonly address: string;
896
895
  readonly functionName: string | null;
897
896
  readonly addressName: string | null;
898
897
  readonly traceAddress: readonly number[];
@@ -900,15 +899,16 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
900
899
  readonly rawTopics: readonly string[];
901
900
  readonly rawData: string;
902
901
  }[];
902
+ readonly txHash: string;
903
+ readonly success: boolean;
903
904
  readonly blockNumber: number;
904
905
  readonly blockTimestamp: number;
905
906
  readonly blockTimestampUtc: string;
906
- readonly success: boolean;
907
907
  }[] | undefined;
908
- } & {
909
- readonly errorMessage?: string | undefined;
910
908
  } & {
911
909
  readonly signature?: string | undefined;
910
+ } & {
911
+ readonly errorMessage?: string | undefined;
912
912
  } & {
913
913
  readonly availableSignatures?: readonly {
914
914
  readonly name: string;
@@ -945,6 +945,10 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
945
945
  topic3: Schema.optional<typeof Schema.String>;
946
946
  calledBy: Schema.optional<Schema.Array$<typeof Schema.String>>;
947
947
  }>, never, {
948
+ readonly offset?: number | undefined;
949
+ } & {
950
+ readonly limit?: number | undefined;
951
+ } & {
948
952
  readonly page?: number | undefined;
949
953
  } & {
950
954
  readonly beforeTimestamp?: number | undefined;
@@ -954,10 +958,6 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
954
958
  readonly beforeBlocknumber?: number | undefined;
955
959
  } & {
956
960
  readonly afterBlocknumber?: number | undefined;
957
- } & {
958
- readonly limit?: number | undefined;
959
- } & {
960
- readonly offset?: number | undefined;
961
961
  } & {
962
962
  readonly successOnly?: boolean | undefined;
963
963
  } & {
@@ -20,11 +20,11 @@ declare const WalletBalance_base: Schema.Class<WalletBalance, {
20
20
  } & {
21
21
  readonly address: string;
22
22
  } & {
23
- readonly decimals: number | null;
23
+ readonly amount: string | number;
24
24
  } & {
25
25
  readonly valueUsd: number | null;
26
26
  } & {
27
- readonly amount: string | number;
27
+ readonly decimals: number | null;
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
  }, {}, {}>;
@@ -83,12 +83,12 @@ declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
83
83
  readonly value: string;
84
84
  } & {
85
85
  readonly method?: string | null | undefined;
86
+ } & {
87
+ readonly to: string;
86
88
  } & {
87
89
  readonly data: string | null;
88
90
  } & {
89
91
  readonly nonce: number;
90
- } & {
91
- readonly to: string;
92
92
  } & {
93
93
  readonly safeTxHash: string;
94
94
  } & {
@@ -145,10 +145,10 @@ declare const WalletOverview_base: Schema.Class<WalletOverview, {
145
145
  readonly walletAddress: string;
146
146
  } & {
147
147
  readonly implementationAddress?: string | undefined;
148
- } & {
149
- readonly totalDeployedContractsCount: number;
150
148
  } & {
151
149
  readonly totalTransactionCount: number;
150
+ } & {
151
+ readonly totalDeployedContractsCount: number;
152
152
  } & {
153
153
  readonly walletType: "contract" | "eoa" | "erc7702" | "erc4337" | "multisig";
154
154
  } & {
@@ -209,8 +209,6 @@ declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
209
209
  readonly blockNumber: number;
210
210
  } & {
211
211
  readonly blockTimestamp: number;
212
- } & {
213
- readonly blockTimestampUtc: string;
214
212
  } & {
215
213
  readonly logIndex: number;
216
214
  } & {
@@ -219,6 +217,8 @@ declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
219
217
  readonly toAddress: string;
220
218
  } & {
221
219
  readonly amount: string;
220
+ } & {
221
+ readonly blockTimestampUtc: string;
222
222
  } & {
223
223
  readonly direction: "in" | "out";
224
224
  } & {
@@ -257,16 +257,16 @@ declare const TokenActivity_base: Schema.Class<TokenActivity, {
257
257
  pagination: typeof TokenActivityPagination;
258
258
  }>, never, {
259
259
  readonly blockchain: "ethereum" | "base";
260
- } & {
261
- readonly balance: TokenBalanceInfo;
262
- } & {
263
- readonly pagination: TokenActivityPagination;
264
260
  } & {
265
261
  readonly tokenAddress: string;
266
262
  } & {
267
263
  readonly holderAddress: string;
268
264
  } & {
269
265
  readonly transfers: readonly TokenTransfer[];
266
+ } & {
267
+ readonly balance: TokenBalanceInfo;
268
+ } & {
269
+ readonly pagination: TokenActivityPagination;
270
270
  }, {}, {}>;
271
271
  declare class TokenActivity extends TokenActivity_base {}
272
272
  declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
@@ -282,13 +282,13 @@ 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 contractName: string | null;
286
- } & {
287
285
  readonly functionSignature: string;
288
286
  } & {
289
- readonly entityLabel: string | null;
287
+ readonly contractName: string | null;
290
288
  } & {
291
289
  readonly functionName: string;
290
+ } & {
291
+ readonly entityLabel: string | null;
292
292
  } & {
293
293
  readonly callee: string;
294
294
  }, {}, {}>;
@@ -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
  }, {}, {}>;
@@ -356,7 +356,7 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
356
356
  }>, never, {
357
357
  readonly txHash: string;
358
358
  } & {
359
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
359
+ readonly tokenAddress: string;
360
360
  } & {
361
361
  readonly blockNumber: number;
362
362
  } & {
@@ -365,10 +365,10 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
365
365
  readonly toEntityLabel?: string | null | undefined;
366
366
  } & {
367
367
  readonly fromEntityLabel?: string | null | undefined;
368
- } & {
369
- readonly tokenAddress: string;
370
368
  } & {
371
369
  readonly chainId: number;
370
+ } & {
371
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
372
372
  } & {
373
373
  readonly tokenId: number;
374
374
  } & {
@@ -434,13 +434,11 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
434
434
  }>, never, {
435
435
  readonly txHash?: string | undefined;
436
436
  } & {
437
- readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
437
+ readonly tokenAddress: string;
438
438
  } & {
439
439
  readonly blockNumber: number;
440
440
  } & {
441
441
  readonly blockTimestamp: number;
442
- } & {
443
- readonly tokenAddress: string;
444
442
  } & {
445
443
  readonly holderAddress: string;
446
444
  } & {
@@ -449,6 +447,8 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
449
447
  readonly balanceChange: number;
450
448
  } & {
451
449
  readonly chainId: number;
450
+ } & {
451
+ readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
452
452
  } & {
453
453
  readonly tokenId: number;
454
454
  } & {
@@ -502,23 +502,23 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
502
502
  }>, never, {
503
503
  readonly txHash: string;
504
504
  } & {
505
- readonly errorMessage?: string | undefined;
505
+ readonly success: boolean;
506
506
  } & {
507
507
  readonly blockNumber: number;
508
508
  } & {
509
509
  readonly blockTimestamp: number;
510
- } & {
511
- readonly blockTimestampUtc: string;
512
- } & {
513
- readonly success: boolean;
514
510
  } & {
515
511
  readonly createdContracts: readonly {
516
- readonly contractName: string | null;
517
512
  readonly address: string;
513
+ readonly contractName: string | null;
518
514
  readonly entityLabel: string | null;
519
515
  }[];
520
516
  } & {
521
517
  readonly actionExecution?: WalletTxActionExecution | undefined;
518
+ } & {
519
+ readonly blockTimestampUtc: string;
520
+ } & {
521
+ readonly errorMessage?: string | undefined;
522
522
  } & {
523
523
  readonly calls: readonly WalletTxCall[];
524
524
  } & {
@@ -561,14 +561,14 @@ declare const TransactionActivity_base: Schema.Class<TransactionActivity, {
561
561
  readonly blockchain: "ethereum" | "base";
562
562
  } & {
563
563
  readonly transactions: readonly WalletTransaction[];
564
- } & {
565
- readonly pagination: TransactionActivityPagination;
566
564
  } & {
567
565
  readonly fromAddress: string;
568
566
  } & {
569
567
  readonly totalTransactionCount: number;
570
568
  } & {
571
569
  readonly earliestTx: number | null;
570
+ } & {
571
+ readonly pagination: TransactionActivityPagination;
572
572
  } & {
573
573
  readonly toAddressesFilter?: readonly string[] | undefined;
574
574
  }, {}, {}>;
@@ -649,14 +649,14 @@ declare const DeployedContracts_base: Schema.Class<DeployedContracts, {
649
649
  pagination: typeof DeployedContractsPagination;
650
650
  }>, never, {
651
651
  readonly blockchain: "ethereum" | "base";
652
- } & {
653
- readonly deployerAddress: string;
654
- } & {
655
- readonly isEOA: boolean;
656
652
  } & {
657
653
  readonly totalDeployedContractsCount: number;
658
654
  } & {
659
655
  readonly pagination: DeployedContractsPagination;
656
+ } & {
657
+ readonly deployerAddress: string;
658
+ } & {
659
+ readonly isEOA: boolean;
660
660
  } & {
661
661
  readonly deployedContracts: readonly DeployedContract[];
662
662
  }, {}, {}>;