@herd-labs/sdk 0.0.4 → 0.1.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 +14 -3
  2. package/dist/index.js +14 -3
  3. package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
  4. package/dist/src/live/AgentSafesServiceLive.d.ts +9 -0
  5. package/dist/src/live/AgentSafesServiceLive.js +19 -0
  6. package/dist/src/live/AgentWalletsServiceLive.d.ts +9 -0
  7. package/dist/src/live/AgentWalletsServiceLive.js +18 -0
  8. package/dist/src/live/AgentWorkflowsServiceLive.d.ts +9 -0
  9. package/dist/src/live/AgentWorkflowsServiceLive.js +37 -0
  10. package/dist/src/live/AuthServiceLive.d.ts +2 -2
  11. package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
  12. package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
  13. package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
  14. package/dist/src/live/ContractsServiceLive.d.ts +2 -2
  15. package/dist/src/live/ContractsServiceLive.js +1 -6
  16. package/dist/src/live/DocsServiceLive.d.ts +2 -2
  17. package/dist/src/live/GroupsServiceLive.d.ts +9 -0
  18. package/dist/src/live/GroupsServiceLive.js +26 -0
  19. package/dist/src/live/HalServiceLive.d.ts +2 -2
  20. package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
  21. package/dist/src/live/WalletsServiceLive.d.ts +2 -2
  22. package/dist/src/schemas/actions.d.ts +8 -8
  23. package/dist/src/schemas/agent-wallets.d.ts +226 -0
  24. package/dist/src/schemas/agent-wallets.js +68 -0
  25. package/dist/src/schemas/agent-workflows.d.ts +120 -0
  26. package/dist/src/schemas/agent-workflows.js +79 -0
  27. package/dist/src/schemas/auth.d.ts +15 -1
  28. package/dist/src/schemas/auth.js +4 -2
  29. package/dist/src/schemas/bookmarks.d.ts +23 -23
  30. package/dist/src/schemas/codeblocks.d.ts +2 -2
  31. package/dist/src/schemas/collections.d.ts +6 -6
  32. package/dist/src/schemas/contracts.d.ts +26 -239
  33. package/dist/src/schemas/contracts.js +1 -62
  34. package/dist/src/schemas/groups.d.ts +94 -0
  35. package/dist/src/schemas/groups.js +62 -0
  36. package/dist/src/schemas/hal.d.ts +23 -23
  37. package/dist/src/schemas/transactions.d.ts +85 -85
  38. package/dist/src/schemas/wallets.d.ts +60 -60
  39. package/dist/src/services/AgentSafesService.d.ts +14 -0
  40. package/dist/src/services/AgentSafesService.js +7 -0
  41. package/dist/src/services/AgentWalletsService.d.ts +13 -0
  42. package/dist/src/services/AgentWalletsService.js +7 -0
  43. package/dist/src/services/AgentWorkflowsService.d.ts +27 -0
  44. package/dist/src/services/AgentWorkflowsService.js +21 -0
  45. package/dist/src/services/ContractsService.d.ts +1 -2
  46. package/dist/src/services/GroupsService.d.ts +34 -0
  47. package/dist/src/services/GroupsService.js +14 -0
  48. package/package.json +1 -1
@@ -0,0 +1,94 @@
1
+ import { Schema } from "effect";
2
+
3
+ //#region src/schemas/groups.d.ts
4
+ declare const GroupSummary: Schema.Struct<{
5
+ id: typeof Schema.String;
6
+ name: Schema.NullOr<typeof Schema.String>;
7
+ intent: Schema.NullOr<typeof Schema.String>;
8
+ quorum: typeof Schema.Number;
9
+ memberCount: typeof Schema.Number;
10
+ createdAt: typeof Schema.String;
11
+ }>;
12
+ type GroupSummaryType = typeof GroupSummary.Type;
13
+ declare const GroupMember: Schema.Struct<{
14
+ userId: typeof Schema.String;
15
+ email: Schema.NullOr<typeof Schema.String>;
16
+ joinedAt: typeof Schema.String;
17
+ }>;
18
+ type GroupMemberType = typeof GroupMember.Type;
19
+ declare const GroupWallet: Schema.Struct<{
20
+ address: typeof Schema.String;
21
+ name: Schema.NullOr<typeof Schema.String>;
22
+ }>;
23
+ type GroupWalletType = typeof GroupWallet.Type;
24
+ declare const GroupDetails: Schema.Struct<{
25
+ id: typeof Schema.String;
26
+ name: Schema.NullOr<typeof Schema.String>;
27
+ intent: Schema.NullOr<typeof Schema.String>;
28
+ quorum: typeof Schema.Number;
29
+ members: Schema.Array$<Schema.Struct<{
30
+ userId: typeof Schema.String;
31
+ email: Schema.NullOr<typeof Schema.String>;
32
+ joinedAt: typeof Schema.String;
33
+ }>>;
34
+ wallet: Schema.NullOr<Schema.Struct<{
35
+ address: typeof Schema.String;
36
+ name: Schema.NullOr<typeof Schema.String>;
37
+ }>>;
38
+ createdAt: typeof Schema.String;
39
+ }>;
40
+ type GroupDetailsType = typeof GroupDetails.Type;
41
+ declare const CreateGroupParams: Schema.Struct<{
42
+ name: typeof Schema.String;
43
+ members: Schema.Array$<typeof Schema.String>;
44
+ quorum: typeof Schema.Number;
45
+ intent: Schema.optional<typeof Schema.String>;
46
+ }>;
47
+ type CreateGroupParamsType = typeof CreateGroupParams.Type;
48
+ declare const CreateGroupResponse: Schema.Struct<{
49
+ groupId: typeof Schema.String;
50
+ walletAddress: typeof Schema.String;
51
+ }>;
52
+ type CreateGroupResponseType = typeof CreateGroupResponse.Type;
53
+ declare const ListGroupsResponse: Schema.Struct<{
54
+ groups: Schema.Array$<Schema.Struct<{
55
+ id: typeof Schema.String;
56
+ name: Schema.NullOr<typeof Schema.String>;
57
+ intent: Schema.NullOr<typeof Schema.String>;
58
+ quorum: typeof Schema.Number;
59
+ memberCount: typeof Schema.Number;
60
+ createdAt: typeof Schema.String;
61
+ }>>;
62
+ }>;
63
+ type ListGroupsResponseType = typeof ListGroupsResponse.Type;
64
+ declare const GroupIdParams: Schema.Struct<{
65
+ groupId: typeof Schema.String;
66
+ }>;
67
+ type GroupIdParamsType = typeof GroupIdParams.Type;
68
+ declare const ProposeMemberChangeParams: Schema.Struct<{
69
+ type: Schema.Literal<["add", "remove"]>;
70
+ email: typeof Schema.String;
71
+ }>;
72
+ type ProposeMemberChangeParamsType = typeof ProposeMemberChangeParams.Type;
73
+ declare const ProposeQuorumChangeParams: Schema.Struct<{
74
+ quorum: typeof Schema.Number;
75
+ }>;
76
+ type ProposeQuorumChangeParamsType = typeof ProposeQuorumChangeParams.Type;
77
+ declare const ProposalResponse: Schema.Struct<{
78
+ workflowId: typeof Schema.String;
79
+ workflowRunId: typeof Schema.String;
80
+ }>;
81
+ type ProposalResponseType = typeof ProposalResponse.Type;
82
+ declare const EditGroupMetadataParams: Schema.Struct<{
83
+ name: Schema.optional<typeof Schema.String>;
84
+ description: Schema.optional<typeof Schema.String>;
85
+ }>;
86
+ type EditGroupMetadataParamsType = typeof EditGroupMetadataParams.Type;
87
+ declare const EditGroupMetadataResponse: Schema.Struct<{
88
+ id: typeof Schema.String;
89
+ name: Schema.NullOr<typeof Schema.String>;
90
+ intent: Schema.NullOr<typeof Schema.String>;
91
+ }>;
92
+ type EditGroupMetadataResponseType = typeof EditGroupMetadataResponse.Type;
93
+ //#endregion
94
+ export { CreateGroupParams, CreateGroupParamsType, CreateGroupResponse, CreateGroupResponseType, EditGroupMetadataParams, EditGroupMetadataParamsType, EditGroupMetadataResponse, EditGroupMetadataResponseType, GroupDetails, GroupDetailsType, GroupIdParams, GroupIdParamsType, GroupMember, GroupMemberType, GroupSummary, GroupSummaryType, GroupWallet, GroupWalletType, ListGroupsResponse, ListGroupsResponseType, ProposalResponse, ProposalResponseType, ProposeMemberChangeParams, ProposeMemberChangeParamsType, ProposeQuorumChangeParams, ProposeQuorumChangeParamsType };
@@ -0,0 +1,62 @@
1
+ import { Schema } from "effect";
2
+
3
+ //#region src/schemas/groups.ts
4
+ const GroupSummary = Schema.Struct({
5
+ id: Schema.String,
6
+ name: Schema.NullOr(Schema.String),
7
+ intent: Schema.NullOr(Schema.String),
8
+ quorum: Schema.Number,
9
+ memberCount: Schema.Number,
10
+ createdAt: Schema.String
11
+ });
12
+ const GroupMember = Schema.Struct({
13
+ userId: Schema.String,
14
+ email: Schema.NullOr(Schema.String),
15
+ joinedAt: Schema.String
16
+ });
17
+ const GroupWallet = Schema.Struct({
18
+ address: Schema.String,
19
+ name: Schema.NullOr(Schema.String)
20
+ });
21
+ const GroupDetails = Schema.Struct({
22
+ id: Schema.String,
23
+ name: Schema.NullOr(Schema.String),
24
+ intent: Schema.NullOr(Schema.String),
25
+ quorum: Schema.Number,
26
+ members: Schema.Array(GroupMember),
27
+ wallet: Schema.NullOr(GroupWallet),
28
+ createdAt: Schema.String
29
+ });
30
+ const CreateGroupParams = Schema.Struct({
31
+ name: Schema.String,
32
+ members: Schema.Array(Schema.String),
33
+ quorum: Schema.Number,
34
+ intent: Schema.optional(Schema.String)
35
+ });
36
+ const CreateGroupResponse = Schema.Struct({
37
+ groupId: Schema.String,
38
+ walletAddress: Schema.String
39
+ });
40
+ const ListGroupsResponse = Schema.Struct({ groups: Schema.Array(GroupSummary) });
41
+ const GroupIdParams = Schema.Struct({ groupId: Schema.String });
42
+ const ProposeMemberChangeParams = Schema.Struct({
43
+ type: Schema.Literal("add", "remove"),
44
+ email: Schema.String
45
+ });
46
+ const ProposeQuorumChangeParams = Schema.Struct({ quorum: Schema.Number });
47
+ const ProposalResponse = Schema.Struct({
48
+ workflowId: Schema.String,
49
+ workflowRunId: Schema.String
50
+ });
51
+ const EditGroupMetadataParams = Schema.Struct({
52
+ name: Schema.optional(Schema.String),
53
+ description: Schema.optional(Schema.String)
54
+ });
55
+ const EditGroupMetadataResponse = Schema.Struct({
56
+ id: Schema.String,
57
+ name: Schema.NullOr(Schema.String),
58
+ intent: Schema.NullOr(Schema.String)
59
+ });
60
+
61
+ //#endregion
62
+ export { CreateGroupParams, CreateGroupResponse, EditGroupMetadataParams, EditGroupMetadataResponse, GroupDetails, GroupIdParams, GroupMember, GroupSummary, GroupWallet, ListGroupsResponse, ProposalResponse, ProposeMemberChangeParams, ProposeQuorumChangeParams };
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand0 from "effect/Brand";
2
+ import * as effect_Brand12 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/hal.d.ts
5
5
  declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
@@ -25,9 +25,11 @@ 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
+ } & {
28
30
  readonly expression: unknown;
29
31
  } & {
30
- readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
32
+ readonly tevmForkId?: string | undefined;
31
33
  } & {
32
34
  readonly inputValues?: {
33
35
  readonly [x: string]: unknown;
@@ -37,8 +39,6 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
37
39
  readonly tokenAddress: string;
38
40
  readonly startingBalanceRaw: string;
39
41
  }[] | undefined;
40
- } & {
41
- readonly tevmForkId?: string | undefined;
42
42
  } & {
43
43
  readonly simulationBlockNumber?: number | undefined;
44
44
  }, {}, {}>;
@@ -66,9 +66,13 @@ 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
+ } & {
69
71
  readonly actionId: string;
70
72
  } & {
71
- readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
73
+ readonly version?: string | undefined;
74
+ } & {
75
+ readonly tevmForkId?: string | undefined;
72
76
  } & {
73
77
  readonly inputValues?: {
74
78
  readonly [x: string]: unknown;
@@ -78,12 +82,8 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
78
82
  readonly tokenAddress: string;
79
83
  readonly startingBalanceRaw: string;
80
84
  }[] | undefined;
81
- } & {
82
- readonly tevmForkId?: string | undefined;
83
85
  } & {
84
86
  readonly simulationBlockNumber?: number | undefined;
85
- } & {
86
- readonly version?: string | undefined;
87
87
  }, {}, {}>;
88
88
  declare class EvaluateExistingParams extends EvaluateExistingParams_base {}
89
89
  declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
@@ -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 value?: string | null | undefined;
125
- } & {
126
124
  readonly blockchain?: "ethereum" | "base" | undefined;
127
- } & {
128
- readonly status: "failed" | "success" | "pending";
129
- } & {
130
- readonly batchName: string | null;
131
- } & {
132
- readonly batchStepIndex: number | null;
133
- } & {
134
- readonly toContractName: string | null;
135
125
  } & {
136
126
  readonly transactionHash: string | null;
137
127
  } & {
138
- readonly transactionErrorMessage: string | null;
128
+ readonly value?: string | null | undefined;
129
+ } & {
130
+ readonly status: "success" | "failed" | "pending";
139
131
  } & {
140
132
  readonly blockNumber: number | null;
141
133
  } & {
142
134
  readonly blockTimestamp: number | null;
143
135
  } & {
144
- readonly operationId?: string | undefined;
136
+ readonly toContractName: string | null;
137
+ } & {
138
+ readonly data?: string | undefined;
145
139
  } & {
146
140
  readonly to?: string | undefined;
147
141
  } & {
148
- readonly data?: string | undefined;
142
+ readonly batchName: string | null;
143
+ } & {
144
+ readonly batchStepIndex: number | null;
145
+ } & {
146
+ readonly transactionErrorMessage: string | null;
147
+ } & {
148
+ readonly operationId?: string | undefined;
149
149
  } & {
150
150
  readonly args?: unknown;
151
151
  } & {
@@ -184,7 +184,7 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
184
184
  readonly name: string;
185
185
  } | undefined;
186
186
  } & {
187
- readonly status: "completed" | "suspended" | "failed";
187
+ readonly status: "failed" | "completed" | "suspended";
188
188
  } & {
189
189
  readonly tevmForkId?: string | undefined;
190
190
  } & {
@@ -449,73 +449,30 @@ 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 txHash: string;
454
452
  } & {
455
453
  readonly blockchain: "ethereum" | "base";
454
+ } & {
455
+ readonly txHash: string;
456
456
  } & {
457
457
  readonly functionSignature?: string | null | undefined;
458
458
  } & {
459
459
  readonly error?: string | null | undefined;
460
- } & {
461
- readonly tevmForkId?: string | null | undefined;
462
- } & {
463
- readonly success: boolean;
464
460
  } & {
465
461
  readonly blockNumber: number;
462
+ } & {
463
+ readonly outputs?: {
464
+ readonly value: string;
465
+ readonly from: string;
466
+ readonly summary: string;
467
+ } | undefined;
466
468
  } & {
467
469
  readonly fromAddress: string;
468
470
  } & {
469
471
  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
- }[];
508
472
  } & {
509
473
  readonly timestamp: number;
510
474
  } & {
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;
475
+ readonly success: boolean;
519
476
  } & {
520
477
  readonly decodedTraces: DecodedTrace;
521
478
  } & {
@@ -524,38 +481,38 @@ declare const Transaction_base: Schema.Class<Transaction, {
524
481
  readonly from: string;
525
482
  readonly hash: string;
526
483
  readonly status: number;
527
- readonly blockNumber: number;
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
484
  readonly type: string;
485
+ readonly blockNumber: number;
535
486
  readonly blockHash: string;
536
487
  readonly transactionIndex: number;
488
+ readonly chainId: number;
537
489
  readonly gas: number;
538
490
  readonly gasPrice: number;
491
+ readonly nonce: number;
539
492
  readonly input: string;
493
+ readonly r: string;
494
+ readonly s: string;
540
495
  readonly v: string;
496
+ readonly to: string | null;
497
+ readonly timestamp: number;
541
498
  readonly gasUsed: number;
542
499
  readonly effectiveGasPrice: number;
543
500
  };
544
501
  } & {
545
502
  readonly decodedLogs: readonly {
546
503
  readonly transactionHash: string;
547
- readonly blockNumber: number;
548
- readonly data: string;
549
504
  readonly address: string;
550
- readonly logIndex: number;
505
+ readonly blockNumber: number;
551
506
  readonly blockHash: string;
507
+ readonly data: string;
552
508
  readonly topics: readonly string[];
509
+ readonly logIndex: number;
553
510
  readonly transactionIndex: number;
554
511
  readonly removed: boolean;
555
512
  readonly emittedAfterTraceAddress: readonly number[];
556
513
  readonly implementation?: {
557
- readonly name: string;
558
514
  readonly address: string;
515
+ readonly name: string;
559
516
  readonly is7702?: boolean | undefined;
560
517
  } | undefined;
561
518
  readonly decoded?: {
@@ -571,8 +528,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
571
528
  } | undefined;
572
529
  readonly lineNumber: number;
573
530
  readonly eventFunctionDetails: {
574
- readonly functionSignature: string;
575
531
  readonly address: string;
532
+ readonly functionSignature: string;
576
533
  readonly functionName: string | null;
577
534
  readonly addressName: string | null;
578
535
  readonly traceAddress: readonly number[];
@@ -581,9 +538,10 @@ declare const Transaction_base: Schema.Class<Transaction, {
581
538
  } & {
582
539
  readonly balanceChanges: readonly {
583
540
  readonly txHash?: string | undefined;
584
- readonly tokenAddress: string;
541
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
585
542
  readonly blockNumber: number;
586
543
  readonly blockTimestamp: number;
544
+ readonly tokenAddress: string;
587
545
  readonly holderAddress: string;
588
546
  readonly holderIsContract: boolean;
589
547
  readonly balanceChange: number;
@@ -594,16 +552,58 @@ declare const Transaction_base: Schema.Class<Transaction, {
594
552
  readonly tokenSymbol: string;
595
553
  readonly tokenPriceUsd: number;
596
554
  readonly tokenLogoUrl: string;
597
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
598
555
  readonly holderEntityLabel?: string | null | undefined;
599
556
  readonly tokenEntityLabel?: string | null | undefined;
600
557
  }[];
601
558
  } & {
602
- readonly outputs?: {
603
- readonly value: string;
604
- readonly from: string;
605
- readonly summary: string;
559
+ readonly transfers: readonly {
560
+ readonly txHash: string;
561
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
562
+ readonly blockNumber: number;
563
+ readonly blockTimestamp: number;
564
+ readonly toEntityLabel?: string | null | undefined;
565
+ readonly fromEntityLabel?: string | null | undefined;
566
+ readonly traceAddress?: string | undefined;
567
+ readonly logIndex?: number | undefined;
568
+ readonly tokenAddress: string;
569
+ readonly chainId: number;
570
+ readonly tokenId: number;
571
+ readonly tokenDecimals: number;
572
+ readonly tokenName: string;
573
+ readonly tokenSymbol: string;
574
+ readonly tokenPriceUsd: number;
575
+ readonly tokenLogoUrl: string;
576
+ readonly fromAddress: string;
577
+ readonly toAddress: string;
578
+ readonly amount: number;
579
+ readonly fromAddressIsContract: boolean;
580
+ readonly toAddressIsContract: boolean;
581
+ readonly callerFunction?: {
582
+ readonly tokenAddress: string;
583
+ readonly callerAddress: string;
584
+ readonly callerFunctionSignature: string;
585
+ readonly callerTraceAddress: string;
586
+ readonly callerContractName?: string | undefined;
587
+ readonly callerFunctionName?: string | undefined;
588
+ } | null | undefined;
589
+ readonly tokenFunction?: {
590
+ readonly tokenFunctionSignature: string;
591
+ readonly tokenTraceAddress: string;
592
+ readonly tokenContractName?: string | undefined;
593
+ readonly tokenFunctionName?: string | undefined;
594
+ } | undefined;
595
+ }[];
596
+ } & {
597
+ readonly createdContracts: readonly string[];
598
+ } & {
599
+ readonly actionExecution?: {
600
+ readonly actionId: string;
601
+ readonly versionId: string;
602
+ readonly actionName: string;
603
+ readonly executionId: string;
606
604
  } | 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, {
@@ -763,19 +763,20 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
763
763
  }>>;
764
764
  }>>>;
765
765
  }>, never, {
766
- readonly blockchain?: "ethereum" | "base" | undefined;
767
- } & {
768
766
  readonly contractAddress?: string | undefined;
767
+ } & {
768
+ readonly blockchain?: "ethereum" | "base" | undefined;
769
769
  } & {
770
770
  readonly transactions?: readonly {
771
- readonly txHash: string;
772
771
  readonly from: string;
773
- readonly success: boolean;
772
+ readonly txHash: string;
774
773
  readonly blockNumber: number;
775
774
  readonly blockTimestamp: number;
776
775
  readonly blockTimestampUtc: string;
776
+ readonly success: boolean;
777
777
  readonly functionCalls: readonly {
778
778
  readonly value: number;
779
+ readonly signature: string;
779
780
  readonly functionName: string;
780
781
  readonly inputArgs: {
781
782
  readonly [x: string]: unknown;
@@ -783,11 +784,10 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
783
784
  readonly outputArgs: {
784
785
  readonly [x: string]: unknown;
785
786
  } | null;
786
- readonly signature: string;
787
787
  readonly traceInput: string;
788
788
  readonly callerFunctionDetails: {
789
- readonly functionSignature: string | null;
790
789
  readonly address: string;
790
+ readonly functionSignature: string | null;
791
791
  readonly functionName: string | null;
792
792
  readonly addressName: string | null;
793
793
  readonly traceAddress: readonly number[];
@@ -874,13 +874,13 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
874
874
  }>>;
875
875
  }>>>;
876
876
  }>, never, {
877
- readonly blockchain?: "ethereum" | "base" | undefined;
878
- } & {
879
877
  readonly contractAddress?: string | undefined;
878
+ } & {
879
+ readonly blockchain?: "ethereum" | "base" | undefined;
880
880
  } & {
881
881
  readonly transactions?: readonly {
882
- readonly txHash: string;
883
882
  readonly from: string;
883
+ readonly txHash: string;
884
884
  readonly logs: readonly {
885
885
  readonly contractAddress: string;
886
886
  readonly contractName: string;
@@ -891,8 +891,8 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
891
891
  readonly [x: string]: unknown;
892
892
  };
893
893
  readonly eventFunctionDetails: {
894
- readonly functionSignature: string;
895
894
  readonly address: string;
895
+ readonly functionSignature: string;
896
896
  readonly functionName: string | null;
897
897
  readonly addressName: string | null;
898
898
  readonly traceAddress: readonly number[];
@@ -900,10 +900,10 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
900
900
  readonly rawTopics: readonly string[];
901
901
  readonly rawData: string;
902
902
  }[];
903
- readonly success: boolean;
904
903
  readonly blockNumber: number;
905
904
  readonly blockTimestamp: number;
906
905
  readonly blockTimestampUtc: string;
906
+ readonly success: boolean;
907
907
  }[] | undefined;
908
908
  } & {
909
909
  readonly errorMessage?: string | undefined;
@@ -945,8 +945,6 @@ 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 limit?: number | undefined;
949
- } & {
950
948
  readonly page?: number | undefined;
951
949
  } & {
952
950
  readonly beforeTimestamp?: number | undefined;
@@ -957,11 +955,13 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
957
955
  } & {
958
956
  readonly afterBlocknumber?: number | undefined;
959
957
  } & {
960
- readonly direction?: "direct" | "indirect" | "both" | undefined;
958
+ readonly limit?: number | undefined;
959
+ } & {
960
+ readonly offset?: number | undefined;
961
961
  } & {
962
962
  readonly successOnly?: boolean | undefined;
963
963
  } & {
964
- readonly offset?: number | undefined;
964
+ readonly direction?: "direct" | "indirect" | "both" | undefined;
965
965
  } & {
966
966
  readonly topic1?: string | undefined;
967
967
  } & {