@herd-labs/sdk 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/live/AgentSafesServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.js +2 -2
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/GroupsServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/live/http.d.ts +3 -2
- package/dist/src/live/http.js +4 -6
- package/dist/src/schemas/actions.d.ts +18 -18
- package/dist/src/schemas/agent-wallets.d.ts +12 -12
- package/dist/src/schemas/auth.d.ts +6 -2
- package/dist/src/schemas/auth.js +4 -1
- package/dist/src/schemas/bookmarks.d.ts +12 -12
- package/dist/src/schemas/codeblocks.d.ts +13 -13
- package/dist/src/schemas/collections.d.ts +8 -8
- package/dist/src/schemas/contracts.d.ts +16 -16
- package/dist/src/schemas/hal.d.ts +27 -27
- package/dist/src/schemas/transactions.d.ts +91 -91
- package/dist/src/schemas/wallets.d.ts +59 -59
- package/package.json +2 -2
|
@@ -11,10 +11,10 @@ declare const CollectionSpecItem_base: Schema.Class<CollectionSpecItem, {
|
|
|
11
11
|
expressionRef: typeof Schema.String;
|
|
12
12
|
}>, never, {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
} & {
|
|
15
|
-
readonly expressionRef: string;
|
|
16
14
|
} & {
|
|
17
15
|
readonly type: "action" | "adapter";
|
|
16
|
+
} & {
|
|
17
|
+
readonly expressionRef: string;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare class CollectionSpecItem extends CollectionSpecItem_base {}
|
|
20
20
|
declare const CollectionSpec_base: Schema.Class<CollectionSpec, {
|
|
@@ -92,15 +92,15 @@ declare const CollectionsSearchParams_base: Schema.Class<CollectionsSearchParams
|
|
|
92
92
|
name: Schema.optional<typeof Schema.String>;
|
|
93
93
|
}>>;
|
|
94
94
|
}>, never, {
|
|
95
|
-
readonly
|
|
95
|
+
readonly offset: number;
|
|
96
|
+
} & {
|
|
97
|
+
readonly scope?: readonly ("yours" | "verified" | "all")[] | undefined;
|
|
96
98
|
} & {
|
|
97
|
-
readonly
|
|
99
|
+
readonly limit: number;
|
|
98
100
|
} & {
|
|
99
101
|
readonly filters?: {
|
|
100
102
|
readonly name?: string | undefined;
|
|
101
103
|
} | undefined;
|
|
102
|
-
} & {
|
|
103
|
-
readonly offset: number;
|
|
104
104
|
}, {}, {}>;
|
|
105
105
|
declare class CollectionsSearchParams extends CollectionsSearchParams_base {}
|
|
106
106
|
declare const CollectionsSearchResponse_base: Schema.Class<CollectionsSearchResponse, {
|
|
@@ -149,8 +149,8 @@ declare const CreateCollectionParams_base: Schema.Class<CreateCollectionParams,
|
|
|
149
149
|
readonly spec: {
|
|
150
150
|
readonly items: readonly {
|
|
151
151
|
readonly id: string;
|
|
152
|
-
readonly expressionRef: string;
|
|
153
152
|
readonly type: "action" | "adapter";
|
|
153
|
+
readonly expressionRef: string;
|
|
154
154
|
}[];
|
|
155
155
|
readonly version: "1.0";
|
|
156
156
|
};
|
|
@@ -230,8 +230,8 @@ declare const UpdateCollectionParams_base: Schema.Class<UpdateCollectionParams,
|
|
|
230
230
|
readonly spec?: {
|
|
231
231
|
readonly items: readonly {
|
|
232
232
|
readonly id: string;
|
|
233
|
-
readonly expressionRef: string;
|
|
234
233
|
readonly type: "action" | "adapter";
|
|
234
|
+
readonly expressionRef: string;
|
|
235
235
|
}[];
|
|
236
236
|
readonly version: "1.0";
|
|
237
237
|
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand13 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: "
|
|
74
|
+
readonly type: "wallet" | "contract";
|
|
75
75
|
} & {
|
|
76
|
-
readonly
|
|
76
|
+
readonly valueUsd: number;
|
|
77
77
|
} & {
|
|
78
78
|
readonly balance: number;
|
|
79
79
|
} & {
|
|
80
|
-
readonly
|
|
80
|
+
readonly entityLabel?: string | undefined;
|
|
81
81
|
} & {
|
|
82
|
-
readonly
|
|
82
|
+
readonly rank: number;
|
|
83
83
|
} & {
|
|
84
|
-
readonly
|
|
84
|
+
readonly sharePercentage: number;
|
|
85
85
|
} & {
|
|
86
86
|
readonly coingeckoLabel?: string | undefined;
|
|
87
87
|
}, {}, {}>;
|
|
@@ -300,6 +300,8 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
|
|
|
300
300
|
numberOfMatches: typeof Schema.Number;
|
|
301
301
|
patterns: Schema.Array$<typeof Schema.String>;
|
|
302
302
|
}>, never, {
|
|
303
|
+
readonly patterns: readonly string[];
|
|
304
|
+
} & {
|
|
303
305
|
readonly code: string;
|
|
304
306
|
} & {
|
|
305
307
|
readonly fileName: string;
|
|
@@ -309,8 +311,6 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
|
|
|
309
311
|
readonly endLine: number;
|
|
310
312
|
} & {
|
|
311
313
|
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 code?: string | undefined;
|
|
332
|
-
} & {
|
|
333
331
|
readonly blockchain: "ethereum" | "base";
|
|
334
332
|
} & {
|
|
335
|
-
readonly contractAddress: string &
|
|
333
|
+
readonly contractAddress: string & effect_Brand13.Brand<"EvmAddress">;
|
|
336
334
|
} & {
|
|
337
335
|
readonly contractName: string;
|
|
336
|
+
} & {
|
|
337
|
+
readonly code?: string | undefined;
|
|
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
|
-
} & {
|
|
359
357
|
readonly query: string;
|
|
360
358
|
} & {
|
|
361
|
-
readonly contractAddresses: readonly (string &
|
|
359
|
+
readonly contractAddresses: readonly (string & effect_Brand13.Brand<"EvmAddress">)[];
|
|
362
360
|
} & {
|
|
363
361
|
readonly includeProxies?: boolean | undefined;
|
|
364
362
|
} & {
|
|
365
363
|
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, {
|
|
@@ -398,11 +398,11 @@ declare const DiffVersionInfo_base: Schema.Class<DiffVersionInfo, {
|
|
|
398
398
|
}>, never, {
|
|
399
399
|
readonly contractName: string;
|
|
400
400
|
} & {
|
|
401
|
-
readonly
|
|
401
|
+
readonly blockNumber: number;
|
|
402
402
|
} & {
|
|
403
403
|
readonly implementationAddress: string;
|
|
404
404
|
} & {
|
|
405
|
-
readonly
|
|
405
|
+
readonly versionNumber: 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
|
|
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_Brand3.Brand<"EvmAddress">;
|
|
29
|
-
} & {
|
|
30
28
|
readonly expression: unknown;
|
|
31
29
|
} & {
|
|
32
|
-
readonly
|
|
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
|
}, {}, {}>;
|
|
@@ -68,11 +68,7 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
68
68
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
69
69
|
simulationBlockNumber: Schema.optional<typeof Schema.Number>;
|
|
70
70
|
}>, never, {
|
|
71
|
-
readonly
|
|
72
|
-
} & {
|
|
73
|
-
readonly walletAddress: string & effect_Brand3.Brand<"EvmAddress">;
|
|
74
|
-
} & {
|
|
75
|
-
readonly tevmForkId?: string | undefined;
|
|
71
|
+
readonly walletAddress: string & effect_Brand11.Brand<"EvmAddress">;
|
|
76
72
|
} & {
|
|
77
73
|
readonly inputValues?: {
|
|
78
74
|
readonly [x: string]: unknown;
|
|
@@ -82,8 +78,12 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
82
78
|
readonly tokenAddress: string;
|
|
83
79
|
readonly startingBalanceRaw: string;
|
|
84
80
|
}[] | undefined;
|
|
81
|
+
} & {
|
|
82
|
+
readonly tevmForkId?: string | undefined;
|
|
85
83
|
} & {
|
|
86
84
|
readonly simulationBlockNumber?: number | undefined;
|
|
85
|
+
} & {
|
|
86
|
+
readonly actionId: string;
|
|
87
87
|
} & {
|
|
88
88
|
readonly actionExpressionId?: string | undefined;
|
|
89
89
|
}, {}, {}>;
|
|
@@ -124,30 +124,30 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
|
|
|
124
124
|
transactionData: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
125
125
|
}>, never, {
|
|
126
126
|
readonly value?: string | null | undefined;
|
|
127
|
-
} & {
|
|
128
|
-
readonly status: "success" | "failed" | "pending";
|
|
129
127
|
} & {
|
|
130
128
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
131
129
|
} & {
|
|
132
130
|
readonly transactionHash: string | null;
|
|
133
131
|
} & {
|
|
134
|
-
readonly
|
|
135
|
-
} & {
|
|
136
|
-
readonly toContractName: string | null;
|
|
137
|
-
} & {
|
|
138
|
-
readonly data?: string | undefined;
|
|
139
|
-
} & {
|
|
140
|
-
readonly blockTimestamp: number | null;
|
|
141
|
-
} & {
|
|
142
|
-
readonly to?: string | undefined;
|
|
132
|
+
readonly status: "success" | "failed" | "pending";
|
|
143
133
|
} & {
|
|
144
134
|
readonly batchName: string | null;
|
|
145
135
|
} & {
|
|
146
136
|
readonly batchStepIndex: number | null;
|
|
137
|
+
} & {
|
|
138
|
+
readonly toContractName: string | null;
|
|
147
139
|
} & {
|
|
148
140
|
readonly transactionErrorMessage: string | null;
|
|
141
|
+
} & {
|
|
142
|
+
readonly blockNumber: number | null;
|
|
143
|
+
} & {
|
|
144
|
+
readonly blockTimestamp: number | null;
|
|
149
145
|
} & {
|
|
150
146
|
readonly operationId?: string | undefined;
|
|
147
|
+
} & {
|
|
148
|
+
readonly to?: string | undefined;
|
|
149
|
+
} & {
|
|
150
|
+
readonly data?: string | undefined;
|
|
151
151
|
} & {
|
|
152
152
|
readonly args?: unknown;
|
|
153
153
|
} & {
|
|
@@ -179,18 +179,18 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
|
|
|
179
179
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
180
180
|
tevmForkBlockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
181
181
|
}>, never, {
|
|
182
|
-
readonly error?: {
|
|
183
|
-
readonly name: string;
|
|
184
|
-
readonly message: string;
|
|
185
|
-
} | undefined;
|
|
186
|
-
} & {
|
|
187
|
-
readonly status: "completed" | "suspended" | "failed";
|
|
188
|
-
} & {
|
|
189
182
|
readonly hint?: string | undefined;
|
|
190
183
|
} & {
|
|
191
184
|
readonly tevmForkId?: string | undefined;
|
|
185
|
+
} & {
|
|
186
|
+
readonly status: "failed" | "completed" | "suspended";
|
|
192
187
|
} & {
|
|
193
188
|
readonly result?: unknown;
|
|
189
|
+
} & {
|
|
190
|
+
readonly error?: {
|
|
191
|
+
readonly message: string;
|
|
192
|
+
readonly name: string;
|
|
193
|
+
} | undefined;
|
|
194
194
|
} & {
|
|
195
195
|
readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
|
|
196
196
|
} & {
|
|
@@ -449,58 +449,113 @@ 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 error?: string | null | undefined;
|
|
454
452
|
} & {
|
|
455
453
|
readonly txHash: string;
|
|
456
454
|
} & {
|
|
457
455
|
readonly blockchain: "ethereum" | "base";
|
|
458
456
|
} & {
|
|
459
457
|
readonly functionSignature?: string | null | undefined;
|
|
458
|
+
} & {
|
|
459
|
+
readonly outputs?: {
|
|
460
|
+
readonly value: string;
|
|
461
|
+
readonly from: string;
|
|
462
|
+
readonly summary: string;
|
|
463
|
+
} | undefined;
|
|
464
|
+
} & {
|
|
465
|
+
readonly tevmForkId?: string | null | undefined;
|
|
466
|
+
} & {
|
|
467
|
+
readonly success: boolean;
|
|
460
468
|
} & {
|
|
461
469
|
readonly blockNumber: number;
|
|
470
|
+
} & {
|
|
471
|
+
readonly error?: string | null | undefined;
|
|
462
472
|
} & {
|
|
463
473
|
readonly fromAddress: string;
|
|
464
474
|
} & {
|
|
465
475
|
readonly toAddress: string;
|
|
466
476
|
} & {
|
|
467
|
-
readonly
|
|
477
|
+
readonly transfers: readonly {
|
|
478
|
+
readonly txHash: string;
|
|
479
|
+
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
480
|
+
readonly tokenAddress: string;
|
|
481
|
+
readonly blockNumber: number;
|
|
482
|
+
readonly blockTimestamp: number;
|
|
483
|
+
readonly amount: number;
|
|
484
|
+
readonly logIndex?: number | undefined;
|
|
485
|
+
readonly fromAddress: string;
|
|
486
|
+
readonly toAddress: string;
|
|
487
|
+
readonly chainId: number;
|
|
488
|
+
readonly tokenId: number;
|
|
489
|
+
readonly tokenDecimals: number;
|
|
490
|
+
readonly tokenName: string;
|
|
491
|
+
readonly tokenSymbol: string;
|
|
492
|
+
readonly tokenPriceUsd: number;
|
|
493
|
+
readonly tokenLogoUrl: string;
|
|
494
|
+
readonly fromAddressIsContract: boolean;
|
|
495
|
+
readonly toAddressIsContract: boolean;
|
|
496
|
+
readonly fromEntityLabel?: string | null | undefined;
|
|
497
|
+
readonly toEntityLabel?: string | null | undefined;
|
|
498
|
+
readonly traceAddress?: string | undefined;
|
|
499
|
+
readonly callerFunction?: {
|
|
500
|
+
readonly tokenAddress: string;
|
|
501
|
+
readonly callerAddress: string;
|
|
502
|
+
readonly callerFunctionSignature: string;
|
|
503
|
+
readonly callerTraceAddress: string;
|
|
504
|
+
readonly callerContractName?: string | undefined;
|
|
505
|
+
readonly callerFunctionName?: string | undefined;
|
|
506
|
+
} | null | undefined;
|
|
507
|
+
readonly tokenFunction?: {
|
|
508
|
+
readonly tokenFunctionSignature: string;
|
|
509
|
+
readonly tokenTraceAddress: string;
|
|
510
|
+
readonly tokenContractName?: string | undefined;
|
|
511
|
+
readonly tokenFunctionName?: string | undefined;
|
|
512
|
+
} | undefined;
|
|
513
|
+
}[];
|
|
468
514
|
} & {
|
|
469
|
-
readonly
|
|
515
|
+
readonly createdContracts: readonly string[];
|
|
516
|
+
} & {
|
|
517
|
+
readonly actionExecution?: {
|
|
518
|
+
readonly actionId: string;
|
|
519
|
+
readonly actionName: string;
|
|
520
|
+
readonly versionId: string;
|
|
521
|
+
readonly executionId: string;
|
|
522
|
+
} | undefined;
|
|
470
523
|
} & {
|
|
471
524
|
readonly decodedTraces: DecodedTrace;
|
|
472
525
|
} & {
|
|
473
526
|
readonly transactionMetadata: {
|
|
474
527
|
readonly value: number;
|
|
475
|
-
readonly status: number;
|
|
476
528
|
readonly from: string;
|
|
477
529
|
readonly hash: string;
|
|
478
530
|
readonly type: string;
|
|
531
|
+
readonly status: number;
|
|
479
532
|
readonly blockNumber: number;
|
|
533
|
+
readonly to: string | null;
|
|
534
|
+
readonly nonce: number;
|
|
535
|
+
readonly chainId: number;
|
|
536
|
+
readonly timestamp: number;
|
|
480
537
|
readonly blockHash: string;
|
|
481
538
|
readonly transactionIndex: number;
|
|
482
|
-
readonly chainId: number;
|
|
483
539
|
readonly gas: number;
|
|
484
540
|
readonly gasPrice: number;
|
|
485
|
-
readonly nonce: number;
|
|
486
541
|
readonly input: string;
|
|
487
542
|
readonly r: string;
|
|
488
543
|
readonly s: string;
|
|
489
544
|
readonly v: string;
|
|
490
|
-
readonly to: string | null;
|
|
491
|
-
readonly timestamp: number;
|
|
492
545
|
readonly gasUsed: number;
|
|
493
546
|
readonly effectiveGasPrice: number;
|
|
494
547
|
};
|
|
548
|
+
} & {
|
|
549
|
+
readonly timestamp: number;
|
|
495
550
|
} & {
|
|
496
551
|
readonly decodedLogs: readonly {
|
|
497
|
-
readonly transactionHash: string;
|
|
498
552
|
readonly address: string;
|
|
553
|
+
readonly transactionHash: string;
|
|
499
554
|
readonly blockNumber: number;
|
|
500
|
-
readonly blockHash: string;
|
|
501
555
|
readonly data: string;
|
|
502
|
-
readonly topics: readonly string[];
|
|
503
556
|
readonly logIndex: number;
|
|
557
|
+
readonly blockHash: string;
|
|
558
|
+
readonly topics: readonly string[];
|
|
504
559
|
readonly transactionIndex: number;
|
|
505
560
|
readonly removed: boolean;
|
|
506
561
|
readonly emittedAfterTraceAddress: readonly number[];
|
|
@@ -522,8 +577,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
522
577
|
} | undefined;
|
|
523
578
|
readonly lineNumber: number;
|
|
524
579
|
readonly eventFunctionDetails: {
|
|
525
|
-
readonly address: string;
|
|
526
580
|
readonly functionSignature: string;
|
|
581
|
+
readonly address: string;
|
|
527
582
|
readonly functionName: string | null;
|
|
528
583
|
readonly addressName: string | null;
|
|
529
584
|
readonly traceAddress: readonly number[];
|
|
@@ -532,13 +587,11 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
532
587
|
} & {
|
|
533
588
|
readonly balanceChanges: readonly {
|
|
534
589
|
readonly txHash?: string | undefined;
|
|
535
|
-
readonly tokenType: "
|
|
536
|
-
readonly blockNumber: number;
|
|
590
|
+
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
537
591
|
readonly tokenAddress: string;
|
|
538
|
-
readonly
|
|
539
|
-
readonly holderIsContract: boolean;
|
|
540
|
-
readonly balanceChange: number;
|
|
592
|
+
readonly blockNumber: number;
|
|
541
593
|
readonly blockTimestamp: number;
|
|
594
|
+
readonly holderAddress: string;
|
|
542
595
|
readonly chainId: number;
|
|
543
596
|
readonly tokenId: number;
|
|
544
597
|
readonly tokenDecimals: number;
|
|
@@ -546,64 +599,11 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
546
599
|
readonly tokenSymbol: string;
|
|
547
600
|
readonly tokenPriceUsd: number;
|
|
548
601
|
readonly tokenLogoUrl: string;
|
|
602
|
+
readonly holderIsContract: boolean;
|
|
603
|
+
readonly balanceChange: number;
|
|
549
604
|
readonly holderEntityLabel?: string | null | undefined;
|
|
550
605
|
readonly tokenEntityLabel?: string | null | undefined;
|
|
551
606
|
}[];
|
|
552
|
-
} & {
|
|
553
|
-
readonly transfers: readonly {
|
|
554
|
-
readonly txHash: string;
|
|
555
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
556
|
-
readonly blockNumber: number;
|
|
557
|
-
readonly toEntityLabel?: string | null | undefined;
|
|
558
|
-
readonly fromEntityLabel?: string | null | undefined;
|
|
559
|
-
readonly traceAddress?: string | undefined;
|
|
560
|
-
readonly logIndex?: number | undefined;
|
|
561
|
-
readonly tokenAddress: string;
|
|
562
|
-
readonly blockTimestamp: number;
|
|
563
|
-
readonly chainId: number;
|
|
564
|
-
readonly tokenId: number;
|
|
565
|
-
readonly tokenDecimals: number;
|
|
566
|
-
readonly tokenName: string;
|
|
567
|
-
readonly tokenSymbol: string;
|
|
568
|
-
readonly tokenPriceUsd: number;
|
|
569
|
-
readonly tokenLogoUrl: string;
|
|
570
|
-
readonly fromAddress: string;
|
|
571
|
-
readonly toAddress: string;
|
|
572
|
-
readonly amount: number;
|
|
573
|
-
readonly fromAddressIsContract: boolean;
|
|
574
|
-
readonly toAddressIsContract: boolean;
|
|
575
|
-
readonly callerFunction?: {
|
|
576
|
-
readonly tokenAddress: string;
|
|
577
|
-
readonly callerAddress: string;
|
|
578
|
-
readonly callerFunctionSignature: string;
|
|
579
|
-
readonly callerTraceAddress: string;
|
|
580
|
-
readonly callerContractName?: string | undefined;
|
|
581
|
-
readonly callerFunctionName?: string | undefined;
|
|
582
|
-
} | null | undefined;
|
|
583
|
-
readonly tokenFunction?: {
|
|
584
|
-
readonly tokenFunctionSignature: string;
|
|
585
|
-
readonly tokenTraceAddress: string;
|
|
586
|
-
readonly tokenContractName?: string | undefined;
|
|
587
|
-
readonly tokenFunctionName?: string | undefined;
|
|
588
|
-
} | undefined;
|
|
589
|
-
}[];
|
|
590
|
-
} & {
|
|
591
|
-
readonly createdContracts: readonly string[];
|
|
592
|
-
} & {
|
|
593
|
-
readonly outputs?: {
|
|
594
|
-
readonly value: string;
|
|
595
|
-
readonly from: string;
|
|
596
|
-
readonly summary: string;
|
|
597
|
-
} | undefined;
|
|
598
|
-
} & {
|
|
599
|
-
readonly actionExecution?: {
|
|
600
|
-
readonly actionId: string;
|
|
601
|
-
readonly versionId: string;
|
|
602
|
-
readonly actionName: string;
|
|
603
|
-
readonly executionId: string;
|
|
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, {
|
|
@@ -770,14 +770,14 @@ 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
|
-
readonly success: boolean;
|
|
776
776
|
readonly blockTimestampUtc: string;
|
|
777
777
|
readonly functionCalls: readonly {
|
|
778
778
|
readonly value: number;
|
|
779
|
-
readonly signature: string;
|
|
780
779
|
readonly functionName: string;
|
|
780
|
+
readonly signature: string;
|
|
781
781
|
readonly inputArgs: {
|
|
782
782
|
readonly [x: string]: unknown;
|
|
783
783
|
};
|
|
@@ -786,18 +786,18 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
786
786
|
} | null;
|
|
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 signature?: string | undefined;
|
|
799
797
|
} & {
|
|
800
798
|
readonly errorMessage?: string | undefined;
|
|
799
|
+
} & {
|
|
800
|
+
readonly signature?: string | undefined;
|
|
801
801
|
} & {
|
|
802
802
|
readonly availableSignatures?: readonly {
|
|
803
803
|
readonly name: string;
|
|
@@ -879,6 +879,12 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
879
879
|
readonly contractAddress?: string | undefined;
|
|
880
880
|
} & {
|
|
881
881
|
readonly transactions?: readonly {
|
|
882
|
+
readonly from: string;
|
|
883
|
+
readonly txHash: string;
|
|
884
|
+
readonly success: boolean;
|
|
885
|
+
readonly blockNumber: number;
|
|
886
|
+
readonly blockTimestamp: number;
|
|
887
|
+
readonly blockTimestampUtc: string;
|
|
882
888
|
readonly logs: readonly {
|
|
883
889
|
readonly contractAddress: string;
|
|
884
890
|
readonly contractName: string;
|
|
@@ -889,8 +895,8 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
889
895
|
readonly [x: string]: unknown;
|
|
890
896
|
};
|
|
891
897
|
readonly eventFunctionDetails: {
|
|
892
|
-
readonly address: string;
|
|
893
898
|
readonly functionSignature: string;
|
|
899
|
+
readonly address: string;
|
|
894
900
|
readonly functionName: string | null;
|
|
895
901
|
readonly addressName: string | null;
|
|
896
902
|
readonly traceAddress: readonly number[];
|
|
@@ -898,17 +904,11 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
898
904
|
readonly rawTopics: readonly string[];
|
|
899
905
|
readonly rawData: string;
|
|
900
906
|
}[];
|
|
901
|
-
readonly from: string;
|
|
902
|
-
readonly txHash: string;
|
|
903
|
-
readonly blockNumber: number;
|
|
904
|
-
readonly blockTimestamp: number;
|
|
905
|
-
readonly success: boolean;
|
|
906
|
-
readonly blockTimestampUtc: string;
|
|
907
907
|
}[] | undefined;
|
|
908
|
-
} & {
|
|
909
|
-
readonly signature?: string | undefined;
|
|
910
908
|
} & {
|
|
911
909
|
readonly errorMessage?: string | undefined;
|
|
910
|
+
} & {
|
|
911
|
+
readonly signature?: string | undefined;
|
|
912
912
|
} & {
|
|
913
913
|
readonly availableSignatures?: readonly {
|
|
914
914
|
readonly name: string;
|
|
@@ -945,9 +945,9 @@ 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 offset?: number | undefined;
|
|
949
|
+
} & {
|
|
950
|
+
readonly limit?: number | undefined;
|
|
951
951
|
} & {
|
|
952
952
|
readonly page?: number | undefined;
|
|
953
953
|
} & {
|
|
@@ -958,10 +958,10 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
958
958
|
readonly beforeBlocknumber?: number | undefined;
|
|
959
959
|
} & {
|
|
960
960
|
readonly afterBlocknumber?: number | undefined;
|
|
961
|
-
} & {
|
|
962
|
-
readonly successOnly?: boolean | undefined;
|
|
963
961
|
} & {
|
|
964
962
|
readonly direction?: "direct" | "indirect" | "both" | undefined;
|
|
963
|
+
} & {
|
|
964
|
+
readonly successOnly?: boolean | undefined;
|
|
965
965
|
} & {
|
|
966
966
|
readonly topic1?: string | undefined;
|
|
967
967
|
} & {
|