@chainlink/cre-sdk 1.6.0-alpha.1 → 1.6.0-alpha.3

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 (108) hide show
  1. package/dist/generated/capabilities/blockchain/aptos/v1alpha/client_pb.d.ts +1023 -0
  2. package/dist/generated/capabilities/blockchain/aptos/v1alpha/client_pb.js +290 -0
  3. package/dist/generated/capabilities/blockchain/solana/v1alpha/client_pb.d.ts +2904 -0
  4. package/dist/generated/capabilities/blockchain/solana/v1alpha/client_pb.js +506 -0
  5. package/dist/generated/chain-selectors/mainnet/evm/ab-mainnet.d.ts +3 -0
  6. package/dist/generated/chain-selectors/mainnet/evm/ab-mainnet.js +12 -0
  7. package/dist/generated/chain-selectors/mainnet/evm/adi-mainnet.d.ts +3 -0
  8. package/dist/generated/chain-selectors/mainnet/evm/adi-mainnet.js +12 -0
  9. package/dist/generated/chain-selectors/mainnet/evm/edge-mainnet.d.ts +3 -0
  10. package/dist/generated/chain-selectors/mainnet/evm/edge-mainnet.js +12 -0
  11. package/dist/generated/chain-selectors/mainnet/evm/everclear-mainnet.d.ts +3 -0
  12. package/dist/generated/chain-selectors/mainnet/evm/everclear-mainnet.js +12 -0
  13. package/dist/generated/chain-selectors/mainnet/evm/gate-chain-mainnet.d.ts +3 -0
  14. package/dist/generated/chain-selectors/mainnet/evm/gate-chain-mainnet.js +12 -0
  15. package/dist/generated/chain-selectors/mainnet/evm/gate-layer-mainnet.d.ts +3 -0
  16. package/dist/generated/chain-selectors/mainnet/evm/gate-layer-mainnet.js +12 -0
  17. package/dist/generated/chain-selectors/mainnet/evm/jovay-mainnet.d.ts +3 -0
  18. package/dist/generated/chain-selectors/mainnet/evm/jovay-mainnet.js +12 -0
  19. package/dist/generated/chain-selectors/mainnet/evm/megaeth-mainnet.d.ts +3 -0
  20. package/dist/generated/chain-selectors/mainnet/evm/megaeth-mainnet.js +12 -0
  21. package/dist/generated/chain-selectors/mainnet/evm/pharos-mainnet.d.ts +3 -0
  22. package/dist/generated/chain-selectors/mainnet/evm/pharos-mainnet.js +12 -0
  23. package/dist/generated/chain-selectors/mainnet/evm/stable-mainnet.d.ts +3 -0
  24. package/dist/generated/chain-selectors/mainnet/evm/stable-mainnet.js +12 -0
  25. package/dist/generated/chain-selectors/mainnet/evm/tempo-mainnet.d.ts +3 -0
  26. package/dist/generated/chain-selectors/mainnet/evm/tempo-mainnet.js +12 -0
  27. package/dist/generated/chain-selectors/testnet/evm/0g-testnet-galileo-1.d.ts +3 -0
  28. package/dist/generated/chain-selectors/testnet/evm/0g-testnet-galileo-1.js +12 -0
  29. package/dist/generated/chain-selectors/testnet/evm/ab-testnet.d.ts +3 -0
  30. package/dist/generated/chain-selectors/testnet/evm/ab-testnet.js +12 -0
  31. package/dist/generated/chain-selectors/testnet/evm/adi-testnet.d.ts +3 -0
  32. package/dist/generated/chain-selectors/testnet/evm/adi-testnet.js +12 -0
  33. package/dist/generated/chain-selectors/testnet/evm/arc-testnet.d.ts +3 -0
  34. package/dist/generated/chain-selectors/testnet/evm/arc-testnet.js +12 -0
  35. package/dist/generated/chain-selectors/testnet/evm/celo-sepolia.d.ts +3 -0
  36. package/dist/generated/chain-selectors/testnet/evm/celo-sepolia.js +12 -0
  37. package/dist/generated/chain-selectors/testnet/evm/dogeos-testnet-chikyu.d.ts +3 -0
  38. package/dist/generated/chain-selectors/testnet/evm/dogeos-testnet-chikyu.js +12 -0
  39. package/dist/generated/chain-selectors/testnet/evm/edge-testnet.d.ts +3 -0
  40. package/dist/generated/chain-selectors/testnet/evm/edge-testnet.js +12 -0
  41. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi-morph.d.ts +3 -0
  42. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi-morph.js +12 -0
  43. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi-taiko-1.d.ts +3 -0
  44. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi-taiko-1.js +12 -0
  45. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi-taiko.d.ts +3 -0
  46. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi-taiko.js +12 -0
  47. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi.d.ts +3 -0
  48. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-hoodi.js +12 -0
  49. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-sepolia-ronin-1.d.ts +3 -0
  50. package/dist/generated/chain-selectors/testnet/evm/ethereum-testnet-sepolia-ronin-1.js +12 -0
  51. package/dist/generated/chain-selectors/testnet/evm/everclear-testnet-sepolia.d.ts +3 -0
  52. package/dist/generated/chain-selectors/testnet/evm/everclear-testnet-sepolia.js +12 -0
  53. package/dist/generated/chain-selectors/testnet/evm/gate-chain-testnet-meteora.d.ts +3 -0
  54. package/dist/generated/chain-selectors/testnet/evm/gate-chain-testnet-meteora.js +12 -0
  55. package/dist/generated/chain-selectors/testnet/evm/gate-layer-testnet.d.ts +3 -0
  56. package/dist/generated/chain-selectors/testnet/evm/gate-layer-testnet.js +12 -0
  57. package/dist/generated/chain-selectors/testnet/evm/megaeth-testnet-2.d.ts +3 -0
  58. package/dist/generated/chain-selectors/testnet/evm/megaeth-testnet-2.js +12 -0
  59. package/dist/generated/chain-selectors/testnet/evm/pharos-atlantic-testnet.d.ts +3 -0
  60. package/dist/generated/chain-selectors/testnet/evm/pharos-atlantic-testnet.js +12 -0
  61. package/dist/generated/chain-selectors/testnet/evm/robinhood-testnet.d.ts +3 -0
  62. package/dist/generated/chain-selectors/testnet/evm/robinhood-testnet.js +12 -0
  63. package/dist/generated/chain-selectors/testnet/evm/sonic-testnet.d.ts +3 -0
  64. package/dist/generated/chain-selectors/testnet/evm/sonic-testnet.js +12 -0
  65. package/dist/generated/chain-selectors/testnet/evm/stable-testnet.d.ts +3 -0
  66. package/dist/generated/chain-selectors/testnet/evm/stable-testnet.js +12 -0
  67. package/dist/generated/chain-selectors/testnet/evm/tempo-testnet-moderato.d.ts +3 -0
  68. package/dist/generated/chain-selectors/testnet/evm/tempo-testnet-moderato.js +12 -0
  69. package/dist/generated/chain-selectors/testnet/evm/tempo-testnet.d.ts +3 -0
  70. package/dist/generated/chain-selectors/testnet/evm/tempo-testnet.js +12 -0
  71. package/dist/generated/chain-selectors/testnet/evm/xlayer-testnet.d.ts +3 -0
  72. package/dist/generated/chain-selectors/testnet/evm/xlayer-testnet.js +12 -0
  73. package/dist/generated/networks.d.ts +2 -2
  74. package/dist/generated/networks.js +238 -0
  75. package/dist/generated-sdk/capabilities/blockchain/aptos/v1alpha/client_sdk_gen.d.ts +52 -0
  76. package/dist/generated-sdk/capabilities/blockchain/aptos/v1alpha/client_sdk_gen.js +186 -0
  77. package/dist/generated-sdk/capabilities/blockchain/solana/v1alpha/client_sdk_gen.d.ts +92 -0
  78. package/dist/generated-sdk/capabilities/blockchain/solana/v1alpha/client_sdk_gen.js +343 -0
  79. package/dist/sdk/cre/index.d.ts +6 -0
  80. package/dist/sdk/cre/index.js +8 -0
  81. package/dist/sdk/don-info.d.ts +10 -0
  82. package/dist/sdk/don-info.js +9 -0
  83. package/dist/sdk/errors.d.ts +24 -1
  84. package/dist/sdk/errors.js +46 -1
  85. package/dist/sdk/index.d.ts +2 -0
  86. package/dist/sdk/index.js +2 -0
  87. package/dist/sdk/report-internals.d.ts +6 -0
  88. package/dist/sdk/report-internals.js +3 -0
  89. package/dist/sdk/report.d.ts +38 -0
  90. package/dist/sdk/report.js +474 -2
  91. package/dist/sdk/test/generated/capabilities/blockchain/aptos/v1alpha/aptos_mock_gen.d.ts +25 -0
  92. package/dist/sdk/test/generated/capabilities/blockchain/aptos/v1alpha/aptos_mock_gen.js +111 -0
  93. package/dist/sdk/test/generated/capabilities/blockchain/solana/v1alpha/solana_mock_gen.d.ts +33 -0
  94. package/dist/sdk/test/generated/capabilities/blockchain/solana/v1alpha/solana_mock_gen.js +178 -0
  95. package/dist/sdk/test/generated/index.d.ts +2 -0
  96. package/dist/sdk/test/generated/index.js +2 -0
  97. package/dist/sdk/testutils/test-runtime.js +4 -0
  98. package/package.json +3 -3
  99. package/scripts/run.ts +1 -0
  100. package/scripts/src/check-determinism.test.ts +64 -0
  101. package/scripts/src/check-determinism.ts +32 -0
  102. package/scripts/src/compile-to-js.ts +7 -0
  103. package/scripts/src/generate-chain-selectors.ts +9 -27
  104. package/scripts/src/generate-sdks.ts +12 -0
  105. package/scripts/src/validate-shared.ts +400 -0
  106. package/scripts/src/validate-workflow-determinism.test.ts +409 -0
  107. package/scripts/src/validate-workflow-determinism.ts +545 -0
  108. package/scripts/src/validate-workflow-runtime-compat.ts +25 -377
@@ -0,0 +1,1023 @@
1
+ import type { Message } from '@bufbuild/protobuf';
2
+ import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
3
+ import type { ReportResponse, ReportResponseJson } from '../../../../sdk/v1alpha/sdk_pb';
4
+ /**
5
+ * Describes the file capabilities/blockchain/aptos/v1alpha/client.proto.
6
+ */
7
+ export declare const file_capabilities_blockchain_aptos_v1alpha_client: GenFile;
8
+ /**
9
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceRequest
10
+ */
11
+ export type AccountAPTBalanceRequest = Message<'capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceRequest'> & {
12
+ /**
13
+ * 32-byte address
14
+ *
15
+ * @generated from field: bytes address = 1;
16
+ */
17
+ address: Uint8Array;
18
+ };
19
+ /**
20
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceRequest
21
+ */
22
+ export type AccountAPTBalanceRequestJson = {
23
+ /**
24
+ * 32-byte address
25
+ *
26
+ * @generated from field: bytes address = 1;
27
+ */
28
+ address?: string;
29
+ };
30
+ /**
31
+ * Describes the message capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceRequest.
32
+ * Use `create(AccountAPTBalanceRequestSchema)` to create a new message.
33
+ */
34
+ export declare const AccountAPTBalanceRequestSchema: GenMessage<AccountAPTBalanceRequest, {
35
+ jsonType: AccountAPTBalanceRequestJson;
36
+ }>;
37
+ /**
38
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceReply
39
+ */
40
+ export type AccountAPTBalanceReply = Message<'capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceReply'> & {
41
+ /**
42
+ * @generated from field: uint64 value = 1 [jstype = JS_NORMAL];
43
+ */
44
+ value: bigint;
45
+ };
46
+ /**
47
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceReply
48
+ */
49
+ export type AccountAPTBalanceReplyJson = {
50
+ /**
51
+ * @generated from field: uint64 value = 1 [jstype = JS_NORMAL];
52
+ */
53
+ value?: string;
54
+ };
55
+ /**
56
+ * Describes the message capabilities.blockchain.aptos.v1alpha.AccountAPTBalanceReply.
57
+ * Use `create(AccountAPTBalanceReplySchema)` to create a new message.
58
+ */
59
+ export declare const AccountAPTBalanceReplySchema: GenMessage<AccountAPTBalanceReply, {
60
+ jsonType: AccountAPTBalanceReplyJson;
61
+ }>;
62
+ /**
63
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ViewRequest
64
+ */
65
+ export type ViewRequest = Message<'capabilities.blockchain.aptos.v1alpha.ViewRequest'> & {
66
+ /**
67
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.ViewPayload payload = 1;
68
+ */
69
+ payload?: ViewPayload;
70
+ /**
71
+ * nil means use latest ledger version
72
+ *
73
+ * @generated from field: optional uint64 ledger_version = 2 [jstype = JS_NORMAL];
74
+ */
75
+ ledgerVersion?: bigint;
76
+ };
77
+ /**
78
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ViewRequest
79
+ */
80
+ export type ViewRequestJson = {
81
+ /**
82
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.ViewPayload payload = 1;
83
+ */
84
+ payload?: ViewPayloadJson;
85
+ /**
86
+ * nil means use latest ledger version
87
+ *
88
+ * @generated from field: optional uint64 ledger_version = 2 [jstype = JS_NORMAL];
89
+ */
90
+ ledgerVersion?: string;
91
+ };
92
+ /**
93
+ * Describes the message capabilities.blockchain.aptos.v1alpha.ViewRequest.
94
+ * Use `create(ViewRequestSchema)` to create a new message.
95
+ */
96
+ export declare const ViewRequestSchema: GenMessage<ViewRequest, {
97
+ jsonType: ViewRequestJson;
98
+ }>;
99
+ /**
100
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ViewReply
101
+ */
102
+ export type ViewReply = Message<'capabilities.blockchain.aptos.v1alpha.ViewReply'> & {
103
+ /**
104
+ * @generated from field: bytes data = 1;
105
+ */
106
+ data: Uint8Array;
107
+ };
108
+ /**
109
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ViewReply
110
+ */
111
+ export type ViewReplyJson = {
112
+ /**
113
+ * @generated from field: bytes data = 1;
114
+ */
115
+ data?: string;
116
+ };
117
+ /**
118
+ * Describes the message capabilities.blockchain.aptos.v1alpha.ViewReply.
119
+ * Use `create(ViewReplySchema)` to create a new message.
120
+ */
121
+ export declare const ViewReplySchema: GenMessage<ViewReply, {
122
+ jsonType: ViewReplyJson;
123
+ }>;
124
+ /**
125
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ViewPayload
126
+ */
127
+ export type ViewPayload = Message<'capabilities.blockchain.aptos.v1alpha.ViewPayload'> & {
128
+ /**
129
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.ModuleID module = 1;
130
+ */
131
+ module?: ModuleID;
132
+ /**
133
+ * @generated from field: string function = 2;
134
+ */
135
+ function: string;
136
+ /**
137
+ * @generated from field: repeated capabilities.blockchain.aptos.v1alpha.TypeTag arg_types = 3;
138
+ */
139
+ argTypes: TypeTag[];
140
+ /**
141
+ * @generated from field: repeated bytes args = 4;
142
+ */
143
+ args: Uint8Array[];
144
+ };
145
+ /**
146
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ViewPayload
147
+ */
148
+ export type ViewPayloadJson = {
149
+ /**
150
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.ModuleID module = 1;
151
+ */
152
+ module?: ModuleIDJson;
153
+ /**
154
+ * @generated from field: string function = 2;
155
+ */
156
+ function?: string;
157
+ /**
158
+ * @generated from field: repeated capabilities.blockchain.aptos.v1alpha.TypeTag arg_types = 3;
159
+ */
160
+ argTypes?: TypeTagJson[];
161
+ /**
162
+ * @generated from field: repeated bytes args = 4;
163
+ */
164
+ args?: string[];
165
+ };
166
+ /**
167
+ * Describes the message capabilities.blockchain.aptos.v1alpha.ViewPayload.
168
+ * Use `create(ViewPayloadSchema)` to create a new message.
169
+ */
170
+ export declare const ViewPayloadSchema: GenMessage<ViewPayload, {
171
+ jsonType: ViewPayloadJson;
172
+ }>;
173
+ /**
174
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ModuleID
175
+ */
176
+ export type ModuleID = Message<'capabilities.blockchain.aptos.v1alpha.ModuleID'> & {
177
+ /**
178
+ * 32-byte address
179
+ *
180
+ * @generated from field: bytes address = 1;
181
+ */
182
+ address: Uint8Array;
183
+ /**
184
+ * @generated from field: string name = 2;
185
+ */
186
+ name: string;
187
+ };
188
+ /**
189
+ * @generated from message capabilities.blockchain.aptos.v1alpha.ModuleID
190
+ */
191
+ export type ModuleIDJson = {
192
+ /**
193
+ * 32-byte address
194
+ *
195
+ * @generated from field: bytes address = 1;
196
+ */
197
+ address?: string;
198
+ /**
199
+ * @generated from field: string name = 2;
200
+ */
201
+ name?: string;
202
+ };
203
+ /**
204
+ * Describes the message capabilities.blockchain.aptos.v1alpha.ModuleID.
205
+ * Use `create(ModuleIDSchema)` to create a new message.
206
+ */
207
+ export declare const ModuleIDSchema: GenMessage<ModuleID, {
208
+ jsonType: ModuleIDJson;
209
+ }>;
210
+ /**
211
+ * @generated from message capabilities.blockchain.aptos.v1alpha.TypeTag
212
+ */
213
+ export type TypeTag = Message<'capabilities.blockchain.aptos.v1alpha.TypeTag'> & {
214
+ /**
215
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TypeTagKind kind = 1;
216
+ */
217
+ kind: TypeTagKind;
218
+ /**
219
+ * @generated from oneof capabilities.blockchain.aptos.v1alpha.TypeTag.value
220
+ */
221
+ value: {
222
+ /**
223
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.VectorTag vector = 2;
224
+ */
225
+ value: VectorTag;
226
+ case: 'vector';
227
+ } | {
228
+ /**
229
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.StructTag struct = 3;
230
+ */
231
+ value: StructTag;
232
+ case: 'struct';
233
+ } | {
234
+ /**
235
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.GenericTag generic = 4;
236
+ */
237
+ value: GenericTag;
238
+ case: 'generic';
239
+ } | {
240
+ case: undefined;
241
+ value?: undefined;
242
+ };
243
+ };
244
+ /**
245
+ * @generated from message capabilities.blockchain.aptos.v1alpha.TypeTag
246
+ */
247
+ export type TypeTagJson = {
248
+ /**
249
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TypeTagKind kind = 1;
250
+ */
251
+ kind?: TypeTagKindJson;
252
+ /**
253
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.VectorTag vector = 2;
254
+ */
255
+ vector?: VectorTagJson;
256
+ /**
257
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.StructTag struct = 3;
258
+ */
259
+ struct?: StructTagJson;
260
+ /**
261
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.GenericTag generic = 4;
262
+ */
263
+ generic?: GenericTagJson;
264
+ };
265
+ /**
266
+ * Describes the message capabilities.blockchain.aptos.v1alpha.TypeTag.
267
+ * Use `create(TypeTagSchema)` to create a new message.
268
+ */
269
+ export declare const TypeTagSchema: GenMessage<TypeTag, {
270
+ jsonType: TypeTagJson;
271
+ }>;
272
+ /**
273
+ * @generated from message capabilities.blockchain.aptos.v1alpha.VectorTag
274
+ */
275
+ export type VectorTag = Message<'capabilities.blockchain.aptos.v1alpha.VectorTag'> & {
276
+ /**
277
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TypeTag element_type = 1;
278
+ */
279
+ elementType?: TypeTag;
280
+ };
281
+ /**
282
+ * @generated from message capabilities.blockchain.aptos.v1alpha.VectorTag
283
+ */
284
+ export type VectorTagJson = {
285
+ /**
286
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TypeTag element_type = 1;
287
+ */
288
+ elementType?: TypeTagJson;
289
+ };
290
+ /**
291
+ * Describes the message capabilities.blockchain.aptos.v1alpha.VectorTag.
292
+ * Use `create(VectorTagSchema)` to create a new message.
293
+ */
294
+ export declare const VectorTagSchema: GenMessage<VectorTag, {
295
+ jsonType: VectorTagJson;
296
+ }>;
297
+ /**
298
+ * @generated from message capabilities.blockchain.aptos.v1alpha.StructTag
299
+ */
300
+ export type StructTag = Message<'capabilities.blockchain.aptos.v1alpha.StructTag'> & {
301
+ /**
302
+ * 32-byte address
303
+ *
304
+ * @generated from field: bytes address = 1;
305
+ */
306
+ address: Uint8Array;
307
+ /**
308
+ * @generated from field: string module = 2;
309
+ */
310
+ module: string;
311
+ /**
312
+ * @generated from field: string name = 3;
313
+ */
314
+ name: string;
315
+ /**
316
+ * @generated from field: repeated capabilities.blockchain.aptos.v1alpha.TypeTag type_params = 4;
317
+ */
318
+ typeParams: TypeTag[];
319
+ };
320
+ /**
321
+ * @generated from message capabilities.blockchain.aptos.v1alpha.StructTag
322
+ */
323
+ export type StructTagJson = {
324
+ /**
325
+ * 32-byte address
326
+ *
327
+ * @generated from field: bytes address = 1;
328
+ */
329
+ address?: string;
330
+ /**
331
+ * @generated from field: string module = 2;
332
+ */
333
+ module?: string;
334
+ /**
335
+ * @generated from field: string name = 3;
336
+ */
337
+ name?: string;
338
+ /**
339
+ * @generated from field: repeated capabilities.blockchain.aptos.v1alpha.TypeTag type_params = 4;
340
+ */
341
+ typeParams?: TypeTagJson[];
342
+ };
343
+ /**
344
+ * Describes the message capabilities.blockchain.aptos.v1alpha.StructTag.
345
+ * Use `create(StructTagSchema)` to create a new message.
346
+ */
347
+ export declare const StructTagSchema: GenMessage<StructTag, {
348
+ jsonType: StructTagJson;
349
+ }>;
350
+ /**
351
+ * @generated from message capabilities.blockchain.aptos.v1alpha.GenericTag
352
+ */
353
+ export type GenericTag = Message<'capabilities.blockchain.aptos.v1alpha.GenericTag'> & {
354
+ /**
355
+ * @generated from field: uint32 index = 1;
356
+ */
357
+ index: number;
358
+ };
359
+ /**
360
+ * @generated from message capabilities.blockchain.aptos.v1alpha.GenericTag
361
+ */
362
+ export type GenericTagJson = {
363
+ /**
364
+ * @generated from field: uint32 index = 1;
365
+ */
366
+ index?: number;
367
+ };
368
+ /**
369
+ * Describes the message capabilities.blockchain.aptos.v1alpha.GenericTag.
370
+ * Use `create(GenericTagSchema)` to create a new message.
371
+ */
372
+ export declare const GenericTagSchema: GenMessage<GenericTag, {
373
+ jsonType: GenericTagJson;
374
+ }>;
375
+ /**
376
+ * @generated from message capabilities.blockchain.aptos.v1alpha.TransactionByHashRequest
377
+ */
378
+ export type TransactionByHashRequest = Message<'capabilities.blockchain.aptos.v1alpha.TransactionByHashRequest'> & {
379
+ /**
380
+ * Transaction hash (hex string with 0x prefix)
381
+ *
382
+ * @generated from field: string hash = 1;
383
+ */
384
+ hash: string;
385
+ };
386
+ /**
387
+ * @generated from message capabilities.blockchain.aptos.v1alpha.TransactionByHashRequest
388
+ */
389
+ export type TransactionByHashRequestJson = {
390
+ /**
391
+ * Transaction hash (hex string with 0x prefix)
392
+ *
393
+ * @generated from field: string hash = 1;
394
+ */
395
+ hash?: string;
396
+ };
397
+ /**
398
+ * Describes the message capabilities.blockchain.aptos.v1alpha.TransactionByHashRequest.
399
+ * Use `create(TransactionByHashRequestSchema)` to create a new message.
400
+ */
401
+ export declare const TransactionByHashRequestSchema: GenMessage<TransactionByHashRequest, {
402
+ jsonType: TransactionByHashRequestJson;
403
+ }>;
404
+ /**
405
+ * @generated from message capabilities.blockchain.aptos.v1alpha.TransactionByHashReply
406
+ */
407
+ export type TransactionByHashReply = Message<'capabilities.blockchain.aptos.v1alpha.TransactionByHashReply'> & {
408
+ /**
409
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.Transaction transaction = 1;
410
+ */
411
+ transaction?: Transaction;
412
+ };
413
+ /**
414
+ * @generated from message capabilities.blockchain.aptos.v1alpha.TransactionByHashReply
415
+ */
416
+ export type TransactionByHashReplyJson = {
417
+ /**
418
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.Transaction transaction = 1;
419
+ */
420
+ transaction?: TransactionJson;
421
+ };
422
+ /**
423
+ * Describes the message capabilities.blockchain.aptos.v1alpha.TransactionByHashReply.
424
+ * Use `create(TransactionByHashReplySchema)` to create a new message.
425
+ */
426
+ export declare const TransactionByHashReplySchema: GenMessage<TransactionByHashReply, {
427
+ jsonType: TransactionByHashReplyJson;
428
+ }>;
429
+ /**
430
+ * @generated from message capabilities.blockchain.aptos.v1alpha.Transaction
431
+ */
432
+ export type Transaction = Message<'capabilities.blockchain.aptos.v1alpha.Transaction'> & {
433
+ /**
434
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TransactionVariant type = 1;
435
+ */
436
+ type: TransactionVariant;
437
+ /**
438
+ * @generated from field: string hash = 2;
439
+ */
440
+ hash: string;
441
+ /**
442
+ * nil for pending transactions
443
+ *
444
+ * @generated from field: optional uint64 version = 3 [jstype = JS_NORMAL];
445
+ */
446
+ version?: bigint;
447
+ /**
448
+ * nil for pending/genesis transactions
449
+ *
450
+ * @generated from field: optional bool success = 4;
451
+ */
452
+ success?: boolean;
453
+ /**
454
+ * Raw transaction data
455
+ *
456
+ * @generated from field: bytes data = 5;
457
+ */
458
+ data: Uint8Array;
459
+ };
460
+ /**
461
+ * @generated from message capabilities.blockchain.aptos.v1alpha.Transaction
462
+ */
463
+ export type TransactionJson = {
464
+ /**
465
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TransactionVariant type = 1;
466
+ */
467
+ type?: TransactionVariantJson;
468
+ /**
469
+ * @generated from field: string hash = 2;
470
+ */
471
+ hash?: string;
472
+ /**
473
+ * nil for pending transactions
474
+ *
475
+ * @generated from field: optional uint64 version = 3 [jstype = JS_NORMAL];
476
+ */
477
+ version?: string;
478
+ /**
479
+ * nil for pending/genesis transactions
480
+ *
481
+ * @generated from field: optional bool success = 4;
482
+ */
483
+ success?: boolean;
484
+ /**
485
+ * Raw transaction data
486
+ *
487
+ * @generated from field: bytes data = 5;
488
+ */
489
+ data?: string;
490
+ };
491
+ /**
492
+ * Describes the message capabilities.blockchain.aptos.v1alpha.Transaction.
493
+ * Use `create(TransactionSchema)` to create a new message.
494
+ */
495
+ export declare const TransactionSchema: GenMessage<Transaction, {
496
+ jsonType: TransactionJson;
497
+ }>;
498
+ /**
499
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountTransactionsRequest
500
+ */
501
+ export type AccountTransactionsRequest = Message<'capabilities.blockchain.aptos.v1alpha.AccountTransactionsRequest'> & {
502
+ /**
503
+ * 32-byte address
504
+ *
505
+ * @generated from field: bytes address = 1;
506
+ */
507
+ address: Uint8Array;
508
+ /**
509
+ * Starting version number; nil for most recent
510
+ *
511
+ * @generated from field: optional uint64 start = 2 [jstype = JS_NORMAL];
512
+ */
513
+ start?: bigint;
514
+ /**
515
+ * Number of transactions to return; nil for default (~100)
516
+ *
517
+ * @generated from field: optional uint64 limit = 3 [jstype = JS_NORMAL];
518
+ */
519
+ limit?: bigint;
520
+ };
521
+ /**
522
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountTransactionsRequest
523
+ */
524
+ export type AccountTransactionsRequestJson = {
525
+ /**
526
+ * 32-byte address
527
+ *
528
+ * @generated from field: bytes address = 1;
529
+ */
530
+ address?: string;
531
+ /**
532
+ * Starting version number; nil for most recent
533
+ *
534
+ * @generated from field: optional uint64 start = 2 [jstype = JS_NORMAL];
535
+ */
536
+ start?: string;
537
+ /**
538
+ * Number of transactions to return; nil for default (~100)
539
+ *
540
+ * @generated from field: optional uint64 limit = 3 [jstype = JS_NORMAL];
541
+ */
542
+ limit?: string;
543
+ };
544
+ /**
545
+ * Describes the message capabilities.blockchain.aptos.v1alpha.AccountTransactionsRequest.
546
+ * Use `create(AccountTransactionsRequestSchema)` to create a new message.
547
+ */
548
+ export declare const AccountTransactionsRequestSchema: GenMessage<AccountTransactionsRequest, {
549
+ jsonType: AccountTransactionsRequestJson;
550
+ }>;
551
+ /**
552
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountTransactionsReply
553
+ */
554
+ export type AccountTransactionsReply = Message<'capabilities.blockchain.aptos.v1alpha.AccountTransactionsReply'> & {
555
+ /**
556
+ * @generated from field: repeated capabilities.blockchain.aptos.v1alpha.Transaction transactions = 1;
557
+ */
558
+ transactions: Transaction[];
559
+ };
560
+ /**
561
+ * @generated from message capabilities.blockchain.aptos.v1alpha.AccountTransactionsReply
562
+ */
563
+ export type AccountTransactionsReplyJson = {
564
+ /**
565
+ * @generated from field: repeated capabilities.blockchain.aptos.v1alpha.Transaction transactions = 1;
566
+ */
567
+ transactions?: TransactionJson[];
568
+ };
569
+ /**
570
+ * Describes the message capabilities.blockchain.aptos.v1alpha.AccountTransactionsReply.
571
+ * Use `create(AccountTransactionsReplySchema)` to create a new message.
572
+ */
573
+ export declare const AccountTransactionsReplySchema: GenMessage<AccountTransactionsReply, {
574
+ jsonType: AccountTransactionsReplyJson;
575
+ }>;
576
+ /**
577
+ * @generated from message capabilities.blockchain.aptos.v1alpha.SubmitTransactionRequest
578
+ */
579
+ export type SubmitTransactionRequest = Message<'capabilities.blockchain.aptos.v1alpha.SubmitTransactionRequest'> & {
580
+ /**
581
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.ModuleID receiver_module_id = 1;
582
+ */
583
+ receiverModuleId?: ModuleID;
584
+ /**
585
+ * @generated from field: bytes encoded_payload = 2;
586
+ */
587
+ encodedPayload: Uint8Array;
588
+ /**
589
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.GasConfig gas_config = 3;
590
+ */
591
+ gasConfig?: GasConfig;
592
+ };
593
+ /**
594
+ * @generated from message capabilities.blockchain.aptos.v1alpha.SubmitTransactionRequest
595
+ */
596
+ export type SubmitTransactionRequestJson = {
597
+ /**
598
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.ModuleID receiver_module_id = 1;
599
+ */
600
+ receiverModuleId?: ModuleIDJson;
601
+ /**
602
+ * @generated from field: bytes encoded_payload = 2;
603
+ */
604
+ encodedPayload?: string;
605
+ /**
606
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.GasConfig gas_config = 3;
607
+ */
608
+ gasConfig?: GasConfigJson;
609
+ };
610
+ /**
611
+ * Describes the message capabilities.blockchain.aptos.v1alpha.SubmitTransactionRequest.
612
+ * Use `create(SubmitTransactionRequestSchema)` to create a new message.
613
+ */
614
+ export declare const SubmitTransactionRequestSchema: GenMessage<SubmitTransactionRequest, {
615
+ jsonType: SubmitTransactionRequestJson;
616
+ }>;
617
+ /**
618
+ * @generated from message capabilities.blockchain.aptos.v1alpha.SubmitTransactionReply
619
+ */
620
+ export type SubmitTransactionReply = Message<'capabilities.blockchain.aptos.v1alpha.SubmitTransactionReply'> & {
621
+ /**
622
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TxStatus tx_status = 1;
623
+ */
624
+ txStatus: TxStatus;
625
+ /**
626
+ * @generated from field: string tx_hash = 2;
627
+ */
628
+ txHash: string;
629
+ /**
630
+ * @generated from field: string tx_idempotency_key = 3;
631
+ */
632
+ txIdempotencyKey: string;
633
+ };
634
+ /**
635
+ * @generated from message capabilities.blockchain.aptos.v1alpha.SubmitTransactionReply
636
+ */
637
+ export type SubmitTransactionReplyJson = {
638
+ /**
639
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TxStatus tx_status = 1;
640
+ */
641
+ txStatus?: TxStatusJson;
642
+ /**
643
+ * @generated from field: string tx_hash = 2;
644
+ */
645
+ txHash?: string;
646
+ /**
647
+ * @generated from field: string tx_idempotency_key = 3;
648
+ */
649
+ txIdempotencyKey?: string;
650
+ };
651
+ /**
652
+ * Describes the message capabilities.blockchain.aptos.v1alpha.SubmitTransactionReply.
653
+ * Use `create(SubmitTransactionReplySchema)` to create a new message.
654
+ */
655
+ export declare const SubmitTransactionReplySchema: GenMessage<SubmitTransactionReply, {
656
+ jsonType: SubmitTransactionReplyJson;
657
+ }>;
658
+ /**
659
+ * @generated from message capabilities.blockchain.aptos.v1alpha.GasConfig
660
+ */
661
+ export type GasConfig = Message<'capabilities.blockchain.aptos.v1alpha.GasConfig'> & {
662
+ /**
663
+ * Maximum gas units willing to pay
664
+ *
665
+ * @generated from field: uint64 max_gas_amount = 1 [jstype = JS_NORMAL];
666
+ */
667
+ maxGasAmount: bigint;
668
+ /**
669
+ * Price per gas unit in octas
670
+ *
671
+ * @generated from field: uint64 gas_unit_price = 2 [jstype = JS_NORMAL];
672
+ */
673
+ gasUnitPrice: bigint;
674
+ };
675
+ /**
676
+ * @generated from message capabilities.blockchain.aptos.v1alpha.GasConfig
677
+ */
678
+ export type GasConfigJson = {
679
+ /**
680
+ * Maximum gas units willing to pay
681
+ *
682
+ * @generated from field: uint64 max_gas_amount = 1 [jstype = JS_NORMAL];
683
+ */
684
+ maxGasAmount?: string;
685
+ /**
686
+ * Price per gas unit in octas
687
+ *
688
+ * @generated from field: uint64 gas_unit_price = 2 [jstype = JS_NORMAL];
689
+ */
690
+ gasUnitPrice?: string;
691
+ };
692
+ /**
693
+ * Describes the message capabilities.blockchain.aptos.v1alpha.GasConfig.
694
+ * Use `create(GasConfigSchema)` to create a new message.
695
+ */
696
+ export declare const GasConfigSchema: GenMessage<GasConfig, {
697
+ jsonType: GasConfigJson;
698
+ }>;
699
+ /**
700
+ * @generated from message capabilities.blockchain.aptos.v1alpha.WriteReportRequest
701
+ */
702
+ export type WriteReportRequest = Message<'capabilities.blockchain.aptos.v1alpha.WriteReportRequest'> & {
703
+ /**
704
+ * 32-byte Aptos account address of the receiver module
705
+ *
706
+ * @generated from field: bytes receiver = 1;
707
+ */
708
+ receiver: Uint8Array;
709
+ /**
710
+ * optional gas configuration
711
+ *
712
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.GasConfig gas_config = 2;
713
+ */
714
+ gasConfig?: GasConfig;
715
+ /**
716
+ * signed report from consensus
717
+ *
718
+ * @generated from field: sdk.v1alpha.ReportResponse report = 3;
719
+ */
720
+ report?: ReportResponse;
721
+ };
722
+ /**
723
+ * @generated from message capabilities.blockchain.aptos.v1alpha.WriteReportRequest
724
+ */
725
+ export type WriteReportRequestJson = {
726
+ /**
727
+ * 32-byte Aptos account address of the receiver module
728
+ *
729
+ * @generated from field: bytes receiver = 1;
730
+ */
731
+ receiver?: string;
732
+ /**
733
+ * optional gas configuration
734
+ *
735
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.GasConfig gas_config = 2;
736
+ */
737
+ gasConfig?: GasConfigJson;
738
+ /**
739
+ * signed report from consensus
740
+ *
741
+ * @generated from field: sdk.v1alpha.ReportResponse report = 3;
742
+ */
743
+ report?: ReportResponseJson;
744
+ };
745
+ /**
746
+ * Describes the message capabilities.blockchain.aptos.v1alpha.WriteReportRequest.
747
+ * Use `create(WriteReportRequestSchema)` to create a new message.
748
+ */
749
+ export declare const WriteReportRequestSchema: GenMessage<WriteReportRequest, {
750
+ jsonType: WriteReportRequestJson;
751
+ }>;
752
+ /**
753
+ * @generated from message capabilities.blockchain.aptos.v1alpha.WriteReportReply
754
+ */
755
+ export type WriteReportReply = Message<'capabilities.blockchain.aptos.v1alpha.WriteReportReply'> & {
756
+ /**
757
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TxStatus tx_status = 1;
758
+ */
759
+ txStatus: TxStatus;
760
+ /**
761
+ * transaction hash (hex string with 0x prefix)
762
+ *
763
+ * @generated from field: optional string tx_hash = 2;
764
+ */
765
+ txHash?: string;
766
+ /**
767
+ * gas used in octas
768
+ *
769
+ * @generated from field: optional uint64 transaction_fee = 3 [jstype = JS_NORMAL];
770
+ */
771
+ transactionFee?: bigint;
772
+ /**
773
+ * @generated from field: optional string error_message = 4;
774
+ */
775
+ errorMessage?: string;
776
+ /**
777
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.ReceiverContractExecutionStatus receiver_contract_execution_status = 5;
778
+ */
779
+ receiverContractExecutionStatus?: ReceiverContractExecutionStatus;
780
+ };
781
+ /**
782
+ * @generated from message capabilities.blockchain.aptos.v1alpha.WriteReportReply
783
+ */
784
+ export type WriteReportReplyJson = {
785
+ /**
786
+ * @generated from field: capabilities.blockchain.aptos.v1alpha.TxStatus tx_status = 1;
787
+ */
788
+ txStatus?: TxStatusJson;
789
+ /**
790
+ * transaction hash (hex string with 0x prefix)
791
+ *
792
+ * @generated from field: optional string tx_hash = 2;
793
+ */
794
+ txHash?: string;
795
+ /**
796
+ * gas used in octas
797
+ *
798
+ * @generated from field: optional uint64 transaction_fee = 3 [jstype = JS_NORMAL];
799
+ */
800
+ transactionFee?: string;
801
+ /**
802
+ * @generated from field: optional string error_message = 4;
803
+ */
804
+ errorMessage?: string;
805
+ /**
806
+ * @generated from field: optional capabilities.blockchain.aptos.v1alpha.ReceiverContractExecutionStatus receiver_contract_execution_status = 5;
807
+ */
808
+ receiverContractExecutionStatus?: ReceiverContractExecutionStatusJson;
809
+ };
810
+ /**
811
+ * Describes the message capabilities.blockchain.aptos.v1alpha.WriteReportReply.
812
+ * Use `create(WriteReportReplySchema)` to create a new message.
813
+ */
814
+ export declare const WriteReportReplySchema: GenMessage<WriteReportReply, {
815
+ jsonType: WriteReportReplyJson;
816
+ }>;
817
+ /**
818
+ * Transaction execution status returned by the forwarder.
819
+ *
820
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.TxStatus
821
+ */
822
+ export declare enum TxStatus {
823
+ /**
824
+ * unrecoverable failure
825
+ *
826
+ * @generated from enum value: TX_STATUS_FATAL = 0;
827
+ */
828
+ FATAL = 0,
829
+ /**
830
+ * not executed / dropped
831
+ *
832
+ * @generated from enum value: TX_STATUS_ABORTED = 1;
833
+ */
834
+ ABORTED = 1,
835
+ /**
836
+ * executed successfully
837
+ *
838
+ * @generated from enum value: TX_STATUS_SUCCESS = 2;
839
+ */
840
+ SUCCESS = 2
841
+ }
842
+ /**
843
+ * Transaction execution status returned by the forwarder.
844
+ *
845
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.TxStatus
846
+ */
847
+ export type TxStatusJson = 'TX_STATUS_FATAL' | 'TX_STATUS_ABORTED' | 'TX_STATUS_SUCCESS';
848
+ /**
849
+ * Describes the enum capabilities.blockchain.aptos.v1alpha.TxStatus.
850
+ */
851
+ export declare const TxStatusSchema: GenEnum<TxStatus, TxStatusJson>;
852
+ /**
853
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.TypeTagKind
854
+ */
855
+ export declare enum TypeTagKind {
856
+ /**
857
+ * @generated from enum value: TYPE_TAG_KIND_BOOL = 0;
858
+ */
859
+ BOOL = 0,
860
+ /**
861
+ * @generated from enum value: TYPE_TAG_KIND_U8 = 1;
862
+ */
863
+ U8 = 1,
864
+ /**
865
+ * @generated from enum value: TYPE_TAG_KIND_U16 = 2;
866
+ */
867
+ U16 = 2,
868
+ /**
869
+ * @generated from enum value: TYPE_TAG_KIND_U32 = 3;
870
+ */
871
+ U32 = 3,
872
+ /**
873
+ * @generated from enum value: TYPE_TAG_KIND_U64 = 4;
874
+ */
875
+ U64 = 4,
876
+ /**
877
+ * @generated from enum value: TYPE_TAG_KIND_U128 = 5;
878
+ */
879
+ U128 = 5,
880
+ /**
881
+ * @generated from enum value: TYPE_TAG_KIND_U256 = 6;
882
+ */
883
+ U256 = 6,
884
+ /**
885
+ * @generated from enum value: TYPE_TAG_KIND_ADDRESS = 7;
886
+ */
887
+ ADDRESS = 7,
888
+ /**
889
+ * @generated from enum value: TYPE_TAG_KIND_SIGNER = 8;
890
+ */
891
+ SIGNER = 8,
892
+ /**
893
+ * @generated from enum value: TYPE_TAG_KIND_VECTOR = 9;
894
+ */
895
+ VECTOR = 9,
896
+ /**
897
+ * @generated from enum value: TYPE_TAG_KIND_STRUCT = 10;
898
+ */
899
+ STRUCT = 10,
900
+ /**
901
+ * @generated from enum value: TYPE_TAG_KIND_GENERIC = 11;
902
+ */
903
+ GENERIC = 11
904
+ }
905
+ /**
906
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.TypeTagKind
907
+ */
908
+ export type TypeTagKindJson = 'TYPE_TAG_KIND_BOOL' | 'TYPE_TAG_KIND_U8' | 'TYPE_TAG_KIND_U16' | 'TYPE_TAG_KIND_U32' | 'TYPE_TAG_KIND_U64' | 'TYPE_TAG_KIND_U128' | 'TYPE_TAG_KIND_U256' | 'TYPE_TAG_KIND_ADDRESS' | 'TYPE_TAG_KIND_SIGNER' | 'TYPE_TAG_KIND_VECTOR' | 'TYPE_TAG_KIND_STRUCT' | 'TYPE_TAG_KIND_GENERIC';
909
+ /**
910
+ * Describes the enum capabilities.blockchain.aptos.v1alpha.TypeTagKind.
911
+ */
912
+ export declare const TypeTagKindSchema: GenEnum<TypeTagKind, TypeTagKindJson>;
913
+ /**
914
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.TransactionVariant
915
+ */
916
+ export declare enum TransactionVariant {
917
+ /**
918
+ * @generated from enum value: TRANSACTION_VARIANT_PENDING = 0;
919
+ */
920
+ PENDING = 0,
921
+ /**
922
+ * @generated from enum value: TRANSACTION_VARIANT_USER = 1;
923
+ */
924
+ USER = 1,
925
+ /**
926
+ * @generated from enum value: TRANSACTION_VARIANT_GENESIS = 2;
927
+ */
928
+ GENESIS = 2,
929
+ /**
930
+ * @generated from enum value: TRANSACTION_VARIANT_BLOCK_METADATA = 3;
931
+ */
932
+ BLOCK_METADATA = 3,
933
+ /**
934
+ * @generated from enum value: TRANSACTION_VARIANT_BLOCK_EPILOGUE = 4;
935
+ */
936
+ BLOCK_EPILOGUE = 4,
937
+ /**
938
+ * @generated from enum value: TRANSACTION_VARIANT_STATE_CHECKPOINT = 5;
939
+ */
940
+ STATE_CHECKPOINT = 5,
941
+ /**
942
+ * @generated from enum value: TRANSACTION_VARIANT_VALIDATOR = 6;
943
+ */
944
+ VALIDATOR = 6,
945
+ /**
946
+ * @generated from enum value: TRANSACTION_VARIANT_UNKNOWN = 7;
947
+ */
948
+ UNKNOWN = 7
949
+ }
950
+ /**
951
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.TransactionVariant
952
+ */
953
+ export type TransactionVariantJson = 'TRANSACTION_VARIANT_PENDING' | 'TRANSACTION_VARIANT_USER' | 'TRANSACTION_VARIANT_GENESIS' | 'TRANSACTION_VARIANT_BLOCK_METADATA' | 'TRANSACTION_VARIANT_BLOCK_EPILOGUE' | 'TRANSACTION_VARIANT_STATE_CHECKPOINT' | 'TRANSACTION_VARIANT_VALIDATOR' | 'TRANSACTION_VARIANT_UNKNOWN';
954
+ /**
955
+ * Describes the enum capabilities.blockchain.aptos.v1alpha.TransactionVariant.
956
+ */
957
+ export declare const TransactionVariantSchema: GenEnum<TransactionVariant, TransactionVariantJson>;
958
+ /**
959
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.ReceiverContractExecutionStatus
960
+ */
961
+ export declare enum ReceiverContractExecutionStatus {
962
+ /**
963
+ * @generated from enum value: RECEIVER_CONTRACT_EXECUTION_STATUS_SUCCESS = 0;
964
+ */
965
+ SUCCESS = 0,
966
+ /**
967
+ * @generated from enum value: RECEIVER_CONTRACT_EXECUTION_STATUS_REVERTED = 1;
968
+ */
969
+ REVERTED = 1
970
+ }
971
+ /**
972
+ * @generated from enum capabilities.blockchain.aptos.v1alpha.ReceiverContractExecutionStatus
973
+ */
974
+ export type ReceiverContractExecutionStatusJson = 'RECEIVER_CONTRACT_EXECUTION_STATUS_SUCCESS' | 'RECEIVER_CONTRACT_EXECUTION_STATUS_REVERTED';
975
+ /**
976
+ * Describes the enum capabilities.blockchain.aptos.v1alpha.ReceiverContractExecutionStatus.
977
+ */
978
+ export declare const ReceiverContractExecutionStatusSchema: GenEnum<ReceiverContractExecutionStatus, ReceiverContractExecutionStatusJson>;
979
+ /**
980
+ * @generated from service capabilities.blockchain.aptos.v1alpha.Client
981
+ */
982
+ export declare const Client: GenService<{
983
+ /**
984
+ * @generated from rpc capabilities.blockchain.aptos.v1alpha.Client.AccountAPTBalance
985
+ */
986
+ accountAPTBalance: {
987
+ methodKind: 'unary';
988
+ input: typeof AccountAPTBalanceRequestSchema;
989
+ output: typeof AccountAPTBalanceReplySchema;
990
+ };
991
+ /**
992
+ * @generated from rpc capabilities.blockchain.aptos.v1alpha.Client.View
993
+ */
994
+ view: {
995
+ methodKind: 'unary';
996
+ input: typeof ViewRequestSchema;
997
+ output: typeof ViewReplySchema;
998
+ };
999
+ /**
1000
+ * @generated from rpc capabilities.blockchain.aptos.v1alpha.Client.TransactionByHash
1001
+ */
1002
+ transactionByHash: {
1003
+ methodKind: 'unary';
1004
+ input: typeof TransactionByHashRequestSchema;
1005
+ output: typeof TransactionByHashReplySchema;
1006
+ };
1007
+ /**
1008
+ * @generated from rpc capabilities.blockchain.aptos.v1alpha.Client.AccountTransactions
1009
+ */
1010
+ accountTransactions: {
1011
+ methodKind: 'unary';
1012
+ input: typeof AccountTransactionsRequestSchema;
1013
+ output: typeof AccountTransactionsReplySchema;
1014
+ };
1015
+ /**
1016
+ * @generated from rpc capabilities.blockchain.aptos.v1alpha.Client.WriteReport
1017
+ */
1018
+ writeReport: {
1019
+ methodKind: 'unary';
1020
+ input: typeof WriteReportRequestSchema;
1021
+ output: typeof WriteReportReplySchema;
1022
+ };
1023
+ }>;