@fuel-ts/account 0.0.0-rc-1815-20240322115843 → 0.0.0-rc-1889-20240322122653

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.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

Files changed (212) hide show
  1. package/dist/account-E9nGNf5X.d.mts +3837 -0
  2. package/dist/account-E9nGNf5X.d.ts +3837 -0
  3. package/dist/configs.d.mts +3 -0
  4. package/dist/configs.d.ts +3 -2
  5. package/dist/index.d.mts +904 -0
  6. package/dist/index.d.ts +904 -13
  7. package/dist/index.global.js +390 -515
  8. package/dist/index.global.js.map +1 -1
  9. package/dist/index.js +207 -309
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +207 -311
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/test-utils.d.mts +66 -0
  14. package/dist/{test-utils/launchNode.d.ts → test-utils.d.ts} +24 -12
  15. package/dist/test-utils.global.js +294 -381
  16. package/dist/test-utils.global.js.map +1 -1
  17. package/dist/test-utils.js +107 -174
  18. package/dist/test-utils.js.map +1 -1
  19. package/dist/test-utils.mjs +107 -176
  20. package/dist/test-utils.mjs.map +1 -1
  21. package/package.json +21 -25
  22. package/dist/account.d.ts +0 -184
  23. package/dist/account.d.ts.map +0 -1
  24. package/dist/configs.d.ts.map +0 -1
  25. package/dist/connectors/fuel-connector.d.ts +0 -198
  26. package/dist/connectors/fuel-connector.d.ts.map +0 -1
  27. package/dist/connectors/fuel.d.ts +0 -133
  28. package/dist/connectors/fuel.d.ts.map +0 -1
  29. package/dist/connectors/index.d.ts +0 -5
  30. package/dist/connectors/index.d.ts.map +0 -1
  31. package/dist/connectors/types/connector-metadata.d.ts +0 -12
  32. package/dist/connectors/types/connector-metadata.d.ts.map +0 -1
  33. package/dist/connectors/types/connector-types.d.ts +0 -34
  34. package/dist/connectors/types/connector-types.d.ts.map +0 -1
  35. package/dist/connectors/types/data-type.d.ts +0 -34
  36. package/dist/connectors/types/data-type.d.ts.map +0 -1
  37. package/dist/connectors/types/events.d.ts +0 -111
  38. package/dist/connectors/types/events.d.ts.map +0 -1
  39. package/dist/connectors/types/index.d.ts +0 -7
  40. package/dist/connectors/types/index.d.ts.map +0 -1
  41. package/dist/connectors/types/local-storage.d.ts +0 -11
  42. package/dist/connectors/types/local-storage.d.ts.map +0 -1
  43. package/dist/connectors/types/target-object.d.ts +0 -14
  44. package/dist/connectors/types/target-object.d.ts.map +0 -1
  45. package/dist/connectors/utils/cache.d.ts +0 -14
  46. package/dist/connectors/utils/cache.d.ts.map +0 -1
  47. package/dist/connectors/utils/dispatch-fuel-connector-event.d.ts +0 -7
  48. package/dist/connectors/utils/dispatch-fuel-connector-event.d.ts.map +0 -1
  49. package/dist/connectors/utils/index.d.ts +0 -4
  50. package/dist/connectors/utils/index.d.ts.map +0 -1
  51. package/dist/connectors/utils/promises.d.ts +0 -8
  52. package/dist/connectors/utils/promises.d.ts.map +0 -1
  53. package/dist/hdwallet/hdwallet.d.ts +0 -58
  54. package/dist/hdwallet/hdwallet.d.ts.map +0 -1
  55. package/dist/hdwallet/index.d.ts +0 -2
  56. package/dist/hdwallet/index.d.ts.map +0 -1
  57. package/dist/index.d.ts.map +0 -1
  58. package/dist/mnemonic/index.d.ts +0 -3
  59. package/dist/mnemonic/index.d.ts.map +0 -1
  60. package/dist/mnemonic/mnemonic.d.ts +0 -85
  61. package/dist/mnemonic/mnemonic.d.ts.map +0 -1
  62. package/dist/mnemonic/utils.d.ts +0 -8
  63. package/dist/mnemonic/utils.d.ts.map +0 -1
  64. package/dist/predicate/index.d.ts +0 -3
  65. package/dist/predicate/index.d.ts.map +0 -1
  66. package/dist/predicate/predicate.d.ts +0 -94
  67. package/dist/predicate/predicate.d.ts.map +0 -1
  68. package/dist/predicate/utils/getPredicateRoot.d.ts +0 -12
  69. package/dist/predicate/utils/getPredicateRoot.d.ts.map +0 -1
  70. package/dist/predicate/utils/index.d.ts +0 -2
  71. package/dist/predicate/utils/index.d.ts.map +0 -1
  72. package/dist/providers/__generated__/operations.d.ts +0 -3477
  73. package/dist/providers/__generated__/operations.d.ts.map +0 -1
  74. package/dist/providers/assets/index.d.ts +0 -5
  75. package/dist/providers/assets/index.d.ts.map +0 -1
  76. package/dist/providers/assets/types.d.ts +0 -36
  77. package/dist/providers/assets/types.d.ts.map +0 -1
  78. package/dist/providers/assets/utils/index.d.ts +0 -4
  79. package/dist/providers/assets/utils/index.d.ts.map +0 -1
  80. package/dist/providers/assets/utils/network.d.ts +0 -33
  81. package/dist/providers/assets/utils/network.d.ts.map +0 -1
  82. package/dist/providers/assets/utils/resolveIconPaths.d.ts +0 -14
  83. package/dist/providers/assets/utils/resolveIconPaths.d.ts.map +0 -1
  84. package/dist/providers/assets/utils/url.d.ts +0 -2
  85. package/dist/providers/assets/utils/url.d.ts.map +0 -1
  86. package/dist/providers/chains.d.ts +0 -11
  87. package/dist/providers/chains.d.ts.map +0 -1
  88. package/dist/providers/coin-quantity.d.ts +0 -21
  89. package/dist/providers/coin-quantity.d.ts.map +0 -1
  90. package/dist/providers/coin.d.ts +0 -15
  91. package/dist/providers/coin.d.ts.map +0 -1
  92. package/dist/providers/fuel-graphql-subscriber.d.ts +0 -23
  93. package/dist/providers/fuel-graphql-subscriber.d.ts.map +0 -1
  94. package/dist/providers/index.d.ts +0 -13
  95. package/dist/providers/index.d.ts.map +0 -1
  96. package/dist/providers/memory-cache.d.ts +0 -11
  97. package/dist/providers/memory-cache.d.ts.map +0 -1
  98. package/dist/providers/message.d.ts +0 -60
  99. package/dist/providers/message.d.ts.map +0 -1
  100. package/dist/providers/provider.d.ts +0 -522
  101. package/dist/providers/provider.d.ts.map +0 -1
  102. package/dist/providers/resource.d.ts +0 -37
  103. package/dist/providers/resource.d.ts.map +0 -1
  104. package/dist/providers/transaction-request/create-transaction-request.d.ts +0 -73
  105. package/dist/providers/transaction-request/create-transaction-request.d.ts.map +0 -1
  106. package/dist/providers/transaction-request/errors.d.ts +0 -25
  107. package/dist/providers/transaction-request/errors.d.ts.map +0 -1
  108. package/dist/providers/transaction-request/hash-transaction.d.ts +0 -9
  109. package/dist/providers/transaction-request/hash-transaction.d.ts.map +0 -1
  110. package/dist/providers/transaction-request/index.d.ts +0 -10
  111. package/dist/providers/transaction-request/index.d.ts.map +0 -1
  112. package/dist/providers/transaction-request/input.d.ts +0 -59
  113. package/dist/providers/transaction-request/input.d.ts.map +0 -1
  114. package/dist/providers/transaction-request/output.d.ts +0 -39
  115. package/dist/providers/transaction-request/output.d.ts.map +0 -1
  116. package/dist/providers/transaction-request/script-transaction-request.d.ts +0 -106
  117. package/dist/providers/transaction-request/script-transaction-request.d.ts.map +0 -1
  118. package/dist/providers/transaction-request/scripts.d.ts +0 -6
  119. package/dist/providers/transaction-request/scripts.d.ts.map +0 -1
  120. package/dist/providers/transaction-request/storage-slot.d.ts +0 -10
  121. package/dist/providers/transaction-request/storage-slot.d.ts.map +0 -1
  122. package/dist/providers/transaction-request/transaction-request.d.ts +0 -278
  123. package/dist/providers/transaction-request/transaction-request.d.ts.map +0 -1
  124. package/dist/providers/transaction-request/types.d.ts +0 -10
  125. package/dist/providers/transaction-request/types.d.ts.map +0 -1
  126. package/dist/providers/transaction-request/utils.d.ts +0 -4
  127. package/dist/providers/transaction-request/utils.d.ts.map +0 -1
  128. package/dist/providers/transaction-request/witness.d.ts +0 -5
  129. package/dist/providers/transaction-request/witness.d.ts.map +0 -1
  130. package/dist/providers/transaction-response/getDecodedLogs.d.ts +0 -5
  131. package/dist/providers/transaction-response/getDecodedLogs.d.ts.map +0 -1
  132. package/dist/providers/transaction-response/index.d.ts +0 -3
  133. package/dist/providers/transaction-response/index.d.ts.map +0 -1
  134. package/dist/providers/transaction-response/transaction-response.d.ts +0 -106
  135. package/dist/providers/transaction-response/transaction-response.d.ts.map +0 -1
  136. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +0 -20
  137. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +0 -1
  138. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +0 -21
  139. package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +0 -1
  140. package/dist/providers/transaction-summary/call.d.ts +0 -18
  141. package/dist/providers/transaction-summary/call.d.ts.map +0 -1
  142. package/dist/providers/transaction-summary/get-transaction-summary.d.ts +0 -31
  143. package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +0 -1
  144. package/dist/providers/transaction-summary/index.d.ts +0 -10
  145. package/dist/providers/transaction-summary/index.d.ts.map +0 -1
  146. package/dist/providers/transaction-summary/input.d.ts +0 -21
  147. package/dist/providers/transaction-summary/input.d.ts.map +0 -1
  148. package/dist/providers/transaction-summary/operations.d.ts +0 -40
  149. package/dist/providers/transaction-summary/operations.d.ts.map +0 -1
  150. package/dist/providers/transaction-summary/output.d.ts +0 -15
  151. package/dist/providers/transaction-summary/output.d.ts.map +0 -1
  152. package/dist/providers/transaction-summary/receipt.d.ts +0 -7
  153. package/dist/providers/transaction-summary/receipt.d.ts.map +0 -1
  154. package/dist/providers/transaction-summary/status.d.ts +0 -9
  155. package/dist/providers/transaction-summary/status.d.ts.map +0 -1
  156. package/dist/providers/transaction-summary/types.d.ts +0 -146
  157. package/dist/providers/transaction-summary/types.d.ts.map +0 -1
  158. package/dist/providers/utils/auto-retry-fetch.d.ts +0 -36
  159. package/dist/providers/utils/auto-retry-fetch.d.ts.map +0 -1
  160. package/dist/providers/utils/block-explorer.d.ts +0 -14
  161. package/dist/providers/utils/block-explorer.d.ts.map +0 -1
  162. package/dist/providers/utils/gas.d.ts +0 -38
  163. package/dist/providers/utils/gas.d.ts.map +0 -1
  164. package/dist/providers/utils/index.d.ts +0 -6
  165. package/dist/providers/utils/index.d.ts.map +0 -1
  166. package/dist/providers/utils/json.d.ts +0 -7
  167. package/dist/providers/utils/json.d.ts.map +0 -1
  168. package/dist/providers/utils/merge-quantities.d.ts +0 -3
  169. package/dist/providers/utils/merge-quantities.d.ts.map +0 -1
  170. package/dist/providers/utils/receipts.d.ts +0 -10
  171. package/dist/providers/utils/receipts.d.ts.map +0 -1
  172. package/dist/providers/utils/sleep.d.ts +0 -3
  173. package/dist/providers/utils/sleep.d.ts.map +0 -1
  174. package/dist/signer/index.d.ts +0 -2
  175. package/dist/signer/index.d.ts.map +0 -1
  176. package/dist/signer/signer.d.ts +0 -64
  177. package/dist/signer/signer.d.ts.map +0 -1
  178. package/dist/test-utils/generateTestWallet.d.ts +0 -4
  179. package/dist/test-utils/generateTestWallet.d.ts.map +0 -1
  180. package/dist/test-utils/index.d.ts +0 -4
  181. package/dist/test-utils/index.d.ts.map +0 -1
  182. package/dist/test-utils/launchNode.d.ts.map +0 -1
  183. package/dist/test-utils/seedTestWallet.d.ts +0 -4
  184. package/dist/test-utils/seedTestWallet.d.ts.map +0 -1
  185. package/dist/utils/formatTransferToContractScriptData.d.ts +0 -14
  186. package/dist/utils/formatTransferToContractScriptData.d.ts.map +0 -1
  187. package/dist/wallet/base-wallet-unlocked.d.ts +0 -73
  188. package/dist/wallet/base-wallet-unlocked.d.ts.map +0 -1
  189. package/dist/wallet/index.d.ts +0 -4
  190. package/dist/wallet/index.d.ts.map +0 -1
  191. package/dist/wallet/keystore-wallet.d.ts +0 -38
  192. package/dist/wallet/keystore-wallet.d.ts.map +0 -1
  193. package/dist/wallet/wallet.d.ts +0 -68
  194. package/dist/wallet/wallet.d.ts.map +0 -1
  195. package/dist/wallet/wallets.d.ts +0 -76
  196. package/dist/wallet/wallets.d.ts.map +0 -1
  197. package/dist/wallet-manager/index.d.ts +0 -6
  198. package/dist/wallet-manager/index.d.ts.map +0 -1
  199. package/dist/wallet-manager/storages/memory-storage.d.ts +0 -9
  200. package/dist/wallet-manager/storages/memory-storage.d.ts.map +0 -1
  201. package/dist/wallet-manager/types.d.ts +0 -42
  202. package/dist/wallet-manager/types.d.ts.map +0 -1
  203. package/dist/wallet-manager/vaults/mnemonic-vault.d.ts +0 -29
  204. package/dist/wallet-manager/vaults/mnemonic-vault.d.ts.map +0 -1
  205. package/dist/wallet-manager/vaults/privatekey-vault.d.ts +0 -29
  206. package/dist/wallet-manager/vaults/privatekey-vault.d.ts.map +0 -1
  207. package/dist/wallet-manager/wallet-manager.d.ts +0 -104
  208. package/dist/wallet-manager/wallet-manager.d.ts.map +0 -1
  209. package/dist/wordlists/index.d.ts +0 -5
  210. package/dist/wordlists/index.d.ts.map +0 -1
  211. package/dist/wordlists/words/english.d.ts +0 -2
  212. package/dist/wordlists/words/english.d.ts.map +0 -1
@@ -1,3477 +0,0 @@
1
- import type { DocumentNode } from 'graphql';
2
- export type Maybe<T> = T | null;
3
- export type InputMaybe<T> = Maybe<T>;
4
- export type Exact<T extends {
5
- [key: string]: unknown;
6
- }> = {
7
- [K in keyof T]: T[K];
8
- };
9
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
- [SubKey in K]?: Maybe<T[SubKey]>;
11
- };
12
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
- [SubKey in K]: Maybe<T[SubKey]>;
14
- };
15
- /** All built-in and custom scalars, mapped to their actual values */
16
- export type Scalars = {
17
- ID: string;
18
- String: string;
19
- Boolean: boolean;
20
- Int: number;
21
- Float: number;
22
- Address: string;
23
- AssetId: string;
24
- BlockId: string;
25
- Bytes32: string;
26
- ContractId: string;
27
- HexString: string;
28
- Nonce: string;
29
- Salt: string;
30
- Signature: any;
31
- Tai64Timestamp: string;
32
- TransactionId: string;
33
- TxPointer: any;
34
- U8: any;
35
- U32: any;
36
- U64: string;
37
- UtxoId: string;
38
- };
39
- export type GqlBalance = {
40
- __typename: 'Balance';
41
- amount: Scalars['U64'];
42
- assetId: Scalars['AssetId'];
43
- owner: Scalars['Address'];
44
- };
45
- export type GqlBalanceConnection = {
46
- __typename: 'BalanceConnection';
47
- /** A list of edges. */
48
- edges: Array<GqlBalanceEdge>;
49
- /** A list of nodes. */
50
- nodes: Array<GqlBalance>;
51
- /** Information to aid in pagination. */
52
- pageInfo: GqlPageInfo;
53
- };
54
- /** An edge in a connection. */
55
- export type GqlBalanceEdge = {
56
- __typename: 'BalanceEdge';
57
- /** A cursor for use in pagination */
58
- cursor: Scalars['String'];
59
- /** The item at the end of the edge */
60
- node: GqlBalance;
61
- };
62
- export type GqlBalanceFilterInput = {
63
- /** Filter coins based on the `owner` field */
64
- owner: Scalars['Address'];
65
- };
66
- export type GqlBlock = {
67
- __typename: 'Block';
68
- consensus: GqlConsensus;
69
- header: GqlHeader;
70
- id: Scalars['BlockId'];
71
- transactions: Array<GqlTransaction>;
72
- };
73
- export type GqlBlockConnection = {
74
- __typename: 'BlockConnection';
75
- /** A list of edges. */
76
- edges: Array<GqlBlockEdge>;
77
- /** A list of nodes. */
78
- nodes: Array<GqlBlock>;
79
- /** Information to aid in pagination. */
80
- pageInfo: GqlPageInfo;
81
- };
82
- /** An edge in a connection. */
83
- export type GqlBlockEdge = {
84
- __typename: 'BlockEdge';
85
- /** A cursor for use in pagination */
86
- cursor: Scalars['String'];
87
- /** The item at the end of the edge */
88
- node: GqlBlock;
89
- };
90
- export type GqlBreakpoint = {
91
- contract: Scalars['ContractId'];
92
- pc: Scalars['U64'];
93
- };
94
- export type GqlChainInfo = {
95
- __typename: 'ChainInfo';
96
- consensusParameters: GqlConsensusParameters;
97
- daHeight: Scalars['U64'];
98
- gasCosts: GqlGasCosts;
99
- latestBlock: GqlBlock;
100
- name: Scalars['String'];
101
- };
102
- export type GqlChangeOutput = {
103
- __typename: 'ChangeOutput';
104
- amount: Scalars['U64'];
105
- assetId: Scalars['AssetId'];
106
- to: Scalars['Address'];
107
- };
108
- export type GqlCoin = {
109
- __typename: 'Coin';
110
- amount: Scalars['U64'];
111
- assetId: Scalars['AssetId'];
112
- /** TxPointer - the height of the block this coin was created in */
113
- blockCreated: Scalars['U32'];
114
- maturity: Scalars['U32'];
115
- owner: Scalars['Address'];
116
- /** TxPointer - the index of the transaction that created this coin */
117
- txCreatedIdx: Scalars['U64'];
118
- utxoId: Scalars['UtxoId'];
119
- };
120
- export type GqlCoinConnection = {
121
- __typename: 'CoinConnection';
122
- /** A list of edges. */
123
- edges: Array<GqlCoinEdge>;
124
- /** A list of nodes. */
125
- nodes: Array<GqlCoin>;
126
- /** Information to aid in pagination. */
127
- pageInfo: GqlPageInfo;
128
- };
129
- /** An edge in a connection. */
130
- export type GqlCoinEdge = {
131
- __typename: 'CoinEdge';
132
- /** A cursor for use in pagination */
133
- cursor: Scalars['String'];
134
- /** The item at the end of the edge */
135
- node: GqlCoin;
136
- };
137
- export type GqlCoinFilterInput = {
138
- /** Returns coins only with `asset_id`. */
139
- assetId?: InputMaybe<Scalars['AssetId']>;
140
- /** Returns coins owned by the `owner`. */
141
- owner: Scalars['Address'];
142
- };
143
- export type GqlCoinOutput = {
144
- __typename: 'CoinOutput';
145
- amount: Scalars['U64'];
146
- assetId: Scalars['AssetId'];
147
- to: Scalars['Address'];
148
- };
149
- /** The schema analog of the [`coins::CoinType`]. */
150
- export type GqlCoinType = GqlCoin | GqlMessageCoin;
151
- export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
152
- export type GqlConsensusParameters = {
153
- __typename: 'ConsensusParameters';
154
- baseAssetId: Scalars['AssetId'];
155
- chainId: Scalars['U64'];
156
- contractParams: GqlContractParameters;
157
- feeParams: GqlFeeParameters;
158
- gasCosts: GqlGasCosts;
159
- predicateParams: GqlPredicateParameters;
160
- scriptParams: GqlScriptParameters;
161
- txParams: GqlTxParameters;
162
- };
163
- export type GqlContract = {
164
- __typename: 'Contract';
165
- bytecode: Scalars['HexString'];
166
- id: Scalars['ContractId'];
167
- salt: Scalars['Salt'];
168
- };
169
- export type GqlContractBalance = {
170
- __typename: 'ContractBalance';
171
- amount: Scalars['U64'];
172
- assetId: Scalars['AssetId'];
173
- contract: Scalars['ContractId'];
174
- };
175
- export type GqlContractBalanceConnection = {
176
- __typename: 'ContractBalanceConnection';
177
- /** A list of edges. */
178
- edges: Array<GqlContractBalanceEdge>;
179
- /** A list of nodes. */
180
- nodes: Array<GqlContractBalance>;
181
- /** Information to aid in pagination. */
182
- pageInfo: GqlPageInfo;
183
- };
184
- /** An edge in a connection. */
185
- export type GqlContractBalanceEdge = {
186
- __typename: 'ContractBalanceEdge';
187
- /** A cursor for use in pagination */
188
- cursor: Scalars['String'];
189
- /** The item at the end of the edge */
190
- node: GqlContractBalance;
191
- };
192
- export type GqlContractBalanceFilterInput = {
193
- /** Filter assets based on the `contractId` field */
194
- contract: Scalars['ContractId'];
195
- };
196
- export type GqlContractCreated = {
197
- __typename: 'ContractCreated';
198
- contract: GqlContract;
199
- stateRoot: Scalars['Bytes32'];
200
- };
201
- export type GqlContractOutput = {
202
- __typename: 'ContractOutput';
203
- balanceRoot: Scalars['Bytes32'];
204
- inputIndex: Scalars['Int'];
205
- stateRoot: Scalars['Bytes32'];
206
- };
207
- export type GqlContractParameters = {
208
- __typename: 'ContractParameters';
209
- contractMaxSize: Scalars['U64'];
210
- maxStorageSlots: Scalars['U64'];
211
- };
212
- export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
213
- export type GqlExcludeInput = {
214
- /** Messages to exclude from the selection. */
215
- messages: Array<Scalars['Nonce']>;
216
- /** Utxos to exclude from the selection. */
217
- utxos: Array<Scalars['UtxoId']>;
218
- };
219
- export type GqlFailureStatus = {
220
- __typename: 'FailureStatus';
221
- block: GqlBlock;
222
- programState?: Maybe<GqlProgramState>;
223
- reason: Scalars['String'];
224
- receipts: Array<GqlReceipt>;
225
- time: Scalars['Tai64Timestamp'];
226
- transactionId: Scalars['TransactionId'];
227
- };
228
- export type GqlFeeParameters = {
229
- __typename: 'FeeParameters';
230
- gasPerByte: Scalars['U64'];
231
- gasPriceFactor: Scalars['U64'];
232
- };
233
- export type GqlGasCosts = {
234
- __typename: 'GasCosts';
235
- add: Scalars['U64'];
236
- addi: Scalars['U64'];
237
- aloc: Scalars['U64'];
238
- and: Scalars['U64'];
239
- andi: Scalars['U64'];
240
- bal: Scalars['U64'];
241
- bhei: Scalars['U64'];
242
- bhsh: Scalars['U64'];
243
- burn: Scalars['U64'];
244
- call: GqlDependentCost;
245
- cb: Scalars['U64'];
246
- ccp: GqlDependentCost;
247
- cfei: Scalars['U64'];
248
- cfsi: Scalars['U64'];
249
- contractRoot: GqlDependentCost;
250
- croo: Scalars['U64'];
251
- csiz: GqlDependentCost;
252
- div: Scalars['U64'];
253
- divi: Scalars['U64'];
254
- eck1: Scalars['U64'];
255
- ecr1: Scalars['U64'];
256
- ed19: Scalars['U64'];
257
- eq: Scalars['U64'];
258
- exp: Scalars['U64'];
259
- expi: Scalars['U64'];
260
- flag: Scalars['U64'];
261
- gm: Scalars['U64'];
262
- gt: Scalars['U64'];
263
- gtf: Scalars['U64'];
264
- ji: Scalars['U64'];
265
- jmp: Scalars['U64'];
266
- jmpb: Scalars['U64'];
267
- jmpf: Scalars['U64'];
268
- jne: Scalars['U64'];
269
- jneb: Scalars['U64'];
270
- jnef: Scalars['U64'];
271
- jnei: Scalars['U64'];
272
- jnzb: Scalars['U64'];
273
- jnzf: Scalars['U64'];
274
- jnzi: Scalars['U64'];
275
- k256: GqlDependentCost;
276
- lb: Scalars['U64'];
277
- ldc: GqlDependentCost;
278
- log: Scalars['U64'];
279
- logd: GqlDependentCost;
280
- lt: Scalars['U64'];
281
- lw: Scalars['U64'];
282
- mcl: GqlDependentCost;
283
- mcli: GqlDependentCost;
284
- mcp: GqlDependentCost;
285
- mcpi: GqlDependentCost;
286
- meq: GqlDependentCost;
287
- mint: Scalars['U64'];
288
- mldv: Scalars['U64'];
289
- mlog: Scalars['U64'];
290
- modOp: Scalars['U64'];
291
- modi: Scalars['U64'];
292
- moveOp: Scalars['U64'];
293
- movi: Scalars['U64'];
294
- mroo: Scalars['U64'];
295
- mul: Scalars['U64'];
296
- muli: Scalars['U64'];
297
- newStoragePerByte: Scalars['U64'];
298
- noop: Scalars['U64'];
299
- not: Scalars['U64'];
300
- or: Scalars['U64'];
301
- ori: Scalars['U64'];
302
- poph: Scalars['U64'];
303
- popl: Scalars['U64'];
304
- pshh: Scalars['U64'];
305
- pshl: Scalars['U64'];
306
- ret: Scalars['U64'];
307
- retd: GqlDependentCost;
308
- rvrt: Scalars['U64'];
309
- s256: GqlDependentCost;
310
- sb: Scalars['U64'];
311
- scwq: GqlDependentCost;
312
- sll: Scalars['U64'];
313
- slli: Scalars['U64'];
314
- smo: GqlDependentCost;
315
- srl: Scalars['U64'];
316
- srli: Scalars['U64'];
317
- srw: Scalars['U64'];
318
- srwq: GqlDependentCost;
319
- stateRoot: GqlDependentCost;
320
- sub: Scalars['U64'];
321
- subi: Scalars['U64'];
322
- sw: Scalars['U64'];
323
- sww: Scalars['U64'];
324
- swwq: GqlDependentCost;
325
- time: Scalars['U64'];
326
- tr: Scalars['U64'];
327
- tro: Scalars['U64'];
328
- vmInitialization: GqlDependentCost;
329
- wdam: Scalars['U64'];
330
- wdcm: Scalars['U64'];
331
- wddv: Scalars['U64'];
332
- wdmd: Scalars['U64'];
333
- wdml: Scalars['U64'];
334
- wdmm: Scalars['U64'];
335
- wdop: Scalars['U64'];
336
- wqam: Scalars['U64'];
337
- wqcm: Scalars['U64'];
338
- wqdv: Scalars['U64'];
339
- wqmd: Scalars['U64'];
340
- wqml: Scalars['U64'];
341
- wqmm: Scalars['U64'];
342
- wqop: Scalars['U64'];
343
- xor: Scalars['U64'];
344
- xori: Scalars['U64'];
345
- };
346
- export type GqlGenesis = {
347
- __typename: 'Genesis';
348
- /**
349
- * The chain configs define what consensus type to use, what settlement layer to use,
350
- * rules of block validity, etc.
351
- */
352
- chainConfigHash: Scalars['Bytes32'];
353
- /** The Binary Merkle Tree root of all genesis coins. */
354
- coinsRoot: Scalars['Bytes32'];
355
- /** The Binary Merkle Tree root of state, balances, contracts code hash of each contract. */
356
- contractsRoot: Scalars['Bytes32'];
357
- /** The Binary Merkle Tree root of all genesis messages. */
358
- messagesRoot: Scalars['Bytes32'];
359
- };
360
- export type GqlHeader = {
361
- __typename: 'Header';
362
- /** Hash of the application header. */
363
- applicationHash: Scalars['Bytes32'];
364
- /** The layer 1 height of messages and events to include since the last layer 1 block number. */
365
- daHeight: Scalars['U64'];
366
- /** Fuel block height. */
367
- height: Scalars['U32'];
368
- /** Hash of the header */
369
- id: Scalars['BlockId'];
370
- /** Number of message receipts in this block. */
371
- messageReceiptCount: Scalars['U64'];
372
- /** Merkle root of message receipts in this block. */
373
- messageReceiptRoot: Scalars['Bytes32'];
374
- /** Merkle root of all previous block header hashes. */
375
- prevRoot: Scalars['Bytes32'];
376
- /** The block producer time. */
377
- time: Scalars['Tai64Timestamp'];
378
- /** Number of transactions in this block. */
379
- transactionsCount: Scalars['U64'];
380
- /** Merkle root of transactions. */
381
- transactionsRoot: Scalars['Bytes32'];
382
- };
383
- export type GqlHeavyOperation = {
384
- __typename: 'HeavyOperation';
385
- base: Scalars['U64'];
386
- gasPerUnit: Scalars['U64'];
387
- };
388
- export type GqlInput = GqlInputCoin | GqlInputContract | GqlInputMessage;
389
- export type GqlInputCoin = {
390
- __typename: 'InputCoin';
391
- amount: Scalars['U64'];
392
- assetId: Scalars['AssetId'];
393
- maturity: Scalars['U32'];
394
- owner: Scalars['Address'];
395
- predicate: Scalars['HexString'];
396
- predicateData: Scalars['HexString'];
397
- predicateGasUsed: Scalars['U64'];
398
- txPointer: Scalars['TxPointer'];
399
- utxoId: Scalars['UtxoId'];
400
- witnessIndex: Scalars['Int'];
401
- };
402
- export type GqlInputContract = {
403
- __typename: 'InputContract';
404
- balanceRoot: Scalars['Bytes32'];
405
- contract: GqlContract;
406
- stateRoot: Scalars['Bytes32'];
407
- txPointer: Scalars['TxPointer'];
408
- utxoId: Scalars['UtxoId'];
409
- };
410
- export type GqlInputMessage = {
411
- __typename: 'InputMessage';
412
- amount: Scalars['U64'];
413
- data: Scalars['HexString'];
414
- nonce: Scalars['Nonce'];
415
- predicate: Scalars['HexString'];
416
- predicateData: Scalars['HexString'];
417
- predicateGasUsed: Scalars['U64'];
418
- recipient: Scalars['Address'];
419
- sender: Scalars['Address'];
420
- witnessIndex: Scalars['Int'];
421
- };
422
- export type GqlLightOperation = {
423
- __typename: 'LightOperation';
424
- base: Scalars['U64'];
425
- unitsPerGas: Scalars['U64'];
426
- };
427
- export type GqlMerkleProof = {
428
- __typename: 'MerkleProof';
429
- proofIndex: Scalars['U64'];
430
- proofSet: Array<Scalars['Bytes32']>;
431
- };
432
- export type GqlMessage = {
433
- __typename: 'Message';
434
- amount: Scalars['U64'];
435
- daHeight: Scalars['U64'];
436
- data: Scalars['HexString'];
437
- nonce: Scalars['Nonce'];
438
- recipient: Scalars['Address'];
439
- sender: Scalars['Address'];
440
- };
441
- export type GqlMessageCoin = {
442
- __typename: 'MessageCoin';
443
- amount: Scalars['U64'];
444
- assetId: Scalars['AssetId'];
445
- daHeight: Scalars['U64'];
446
- nonce: Scalars['Nonce'];
447
- recipient: Scalars['Address'];
448
- sender: Scalars['Address'];
449
- };
450
- export type GqlMessageConnection = {
451
- __typename: 'MessageConnection';
452
- /** A list of edges. */
453
- edges: Array<GqlMessageEdge>;
454
- /** A list of nodes. */
455
- nodes: Array<GqlMessage>;
456
- /** Information to aid in pagination. */
457
- pageInfo: GqlPageInfo;
458
- };
459
- /** An edge in a connection. */
460
- export type GqlMessageEdge = {
461
- __typename: 'MessageEdge';
462
- /** A cursor for use in pagination */
463
- cursor: Scalars['String'];
464
- /** The item at the end of the edge */
465
- node: GqlMessage;
466
- };
467
- export type GqlMessageProof = {
468
- __typename: 'MessageProof';
469
- amount: Scalars['U64'];
470
- blockProof: GqlMerkleProof;
471
- commitBlockHeader: GqlHeader;
472
- data: Scalars['HexString'];
473
- messageBlockHeader: GqlHeader;
474
- messageProof: GqlMerkleProof;
475
- nonce: Scalars['Nonce'];
476
- recipient: Scalars['Address'];
477
- sender: Scalars['Address'];
478
- };
479
- export declare enum GqlMessageState {
480
- NotFound = "NOT_FOUND",
481
- Spent = "SPENT",
482
- Unspent = "UNSPENT"
483
- }
484
- export type GqlMessageStatus = {
485
- __typename: 'MessageStatus';
486
- state: GqlMessageState;
487
- };
488
- export type GqlMutation = {
489
- __typename: 'Mutation';
490
- continueTx: GqlRunResult;
491
- /** Execute a dry-run of the transaction using a fork of current state, no changes are committed. */
492
- dryRun: Array<GqlReceipt>;
493
- endSession: Scalars['Boolean'];
494
- execute: Scalars['Boolean'];
495
- /**
496
- * Sequentially produces `blocks_to_produce` blocks. The first block starts with
497
- * `start_timestamp`. If the block production in the [`crate::service::Config`] is
498
- * `Trigger::Interval { block_time }`, produces blocks with `block_time ` intervals between
499
- * them. The `start_timestamp` is the timestamp in seconds.
500
- */
501
- produceBlocks: Scalars['U32'];
502
- reset: Scalars['Boolean'];
503
- setBreakpoint: Scalars['Boolean'];
504
- setSingleStepping: Scalars['Boolean'];
505
- startSession: Scalars['ID'];
506
- startTx: GqlRunResult;
507
- /**
508
- * Submits transaction to the `TxPool`.
509
- *
510
- * Returns submitted transaction if the transaction is included in the `TxPool` without problems.
511
- */
512
- submit: GqlTransaction;
513
- };
514
- export type GqlMutationContinueTxArgs = {
515
- id: Scalars['ID'];
516
- };
517
- export type GqlMutationDryRunArgs = {
518
- tx: Scalars['HexString'];
519
- utxoValidation?: InputMaybe<Scalars['Boolean']>;
520
- };
521
- export type GqlMutationEndSessionArgs = {
522
- id: Scalars['ID'];
523
- };
524
- export type GqlMutationExecuteArgs = {
525
- id: Scalars['ID'];
526
- op: Scalars['String'];
527
- };
528
- export type GqlMutationProduceBlocksArgs = {
529
- blocksToProduce: Scalars['U32'];
530
- startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']>;
531
- };
532
- export type GqlMutationResetArgs = {
533
- id: Scalars['ID'];
534
- };
535
- export type GqlMutationSetBreakpointArgs = {
536
- breakpoint: GqlBreakpoint;
537
- id: Scalars['ID'];
538
- };
539
- export type GqlMutationSetSingleSteppingArgs = {
540
- enable: Scalars['Boolean'];
541
- id: Scalars['ID'];
542
- };
543
- export type GqlMutationStartTxArgs = {
544
- id: Scalars['ID'];
545
- txJson: Scalars['String'];
546
- };
547
- export type GqlMutationSubmitArgs = {
548
- tx: Scalars['HexString'];
549
- };
550
- export type GqlNodeInfo = {
551
- __typename: 'NodeInfo';
552
- maxDepth: Scalars['U64'];
553
- maxTx: Scalars['U64'];
554
- minGasPrice: Scalars['U64'];
555
- nodeVersion: Scalars['String'];
556
- peers: Array<GqlPeerInfo>;
557
- utxoValidation: Scalars['Boolean'];
558
- vmBacktrace: Scalars['Boolean'];
559
- };
560
- export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | GqlContractOutput | GqlVariableOutput;
561
- /**
562
- * A separate `Breakpoint` type to be used as an output, as a single
563
- * type cannot act as both input and output type in async-graphql
564
- */
565
- export type GqlOutputBreakpoint = {
566
- __typename: 'OutputBreakpoint';
567
- contract: Scalars['ContractId'];
568
- pc: Scalars['U64'];
569
- };
570
- /** Information about pagination in a connection */
571
- export type GqlPageInfo = {
572
- __typename: 'PageInfo';
573
- /** When paginating forwards, the cursor to continue. */
574
- endCursor?: Maybe<Scalars['String']>;
575
- /** When paginating forwards, are there more items? */
576
- hasNextPage: Scalars['Boolean'];
577
- /** When paginating backwards, are there more items? */
578
- hasPreviousPage: Scalars['Boolean'];
579
- /** When paginating backwards, the cursor to continue. */
580
- startCursor?: Maybe<Scalars['String']>;
581
- };
582
- export type GqlPeerInfo = {
583
- __typename: 'PeerInfo';
584
- /** The advertised multi-addrs that can be used to connect to this peer */
585
- addresses: Array<Scalars['String']>;
586
- /** The internal fuel p2p reputation of this peer */
587
- appScore: Scalars['Float'];
588
- /** The last reported height of the peer */
589
- blockHeight?: Maybe<Scalars['U32']>;
590
- /** The self-reported version of the client the peer is using */
591
- clientVersion?: Maybe<Scalars['String']>;
592
- /** The libp2p peer id */
593
- id: Scalars['String'];
594
- /** The last heartbeat from this peer in unix epoch time ms */
595
- lastHeartbeatMs: Scalars['U64'];
596
- };
597
- export type GqlPoAConsensus = {
598
- __typename: 'PoAConsensus';
599
- /** Gets the signature of the block produced by `PoA` consensus. */
600
- signature: Scalars['Signature'];
601
- };
602
- export type GqlPolicies = {
603
- __typename: 'Policies';
604
- gasPrice?: Maybe<Scalars['U64']>;
605
- maturity?: Maybe<Scalars['U32']>;
606
- maxFee?: Maybe<Scalars['U64']>;
607
- witnessLimit?: Maybe<Scalars['U64']>;
608
- };
609
- export type GqlPredicateParameters = {
610
- __typename: 'PredicateParameters';
611
- maxGasPerPredicate: Scalars['U64'];
612
- maxMessageDataLength: Scalars['U64'];
613
- maxPredicateDataLength: Scalars['U64'];
614
- maxPredicateLength: Scalars['U64'];
615
- };
616
- export type GqlProgramState = {
617
- __typename: 'ProgramState';
618
- data: Scalars['HexString'];
619
- returnType: GqlReturnType;
620
- };
621
- export type GqlQuery = {
622
- __typename: 'Query';
623
- balance: GqlBalance;
624
- balances: GqlBalanceConnection;
625
- block?: Maybe<GqlBlock>;
626
- blocks: GqlBlockConnection;
627
- chain: GqlChainInfo;
628
- /** Gets the coin by `utxo_id`. */
629
- coin?: Maybe<GqlCoin>;
630
- /** Gets all unspent coins of some `owner` maybe filtered with by `asset_id` per page. */
631
- coins: GqlCoinConnection;
632
- /**
633
- * For each `query_per_asset`, get some spendable coins(of asset specified by the query) owned by
634
- * `owner` that add up at least the query amount. The returned coins can be spent.
635
- * The number of coins is optimized to prevent dust accumulation.
636
- *
637
- * The query supports excluding and maximum the number of coins.
638
- *
639
- * Returns:
640
- * The list of spendable coins per asset from the query. The length of the result is
641
- * the same as the length of `query_per_asset`. The ordering of assets and `query_per_asset`
642
- * is the same.
643
- */
644
- coinsToSpend: Array<Array<GqlCoinType>>;
645
- contract?: Maybe<GqlContract>;
646
- contractBalance: GqlContractBalance;
647
- contractBalances: GqlContractBalanceConnection;
648
- /** Estimate the predicate gas for the provided transaction */
649
- estimatePredicates: GqlTransaction;
650
- /** Returns true when the GraphQL API is serving requests. */
651
- health: Scalars['Boolean'];
652
- memory: Scalars['String'];
653
- messageProof?: Maybe<GqlMessageProof>;
654
- messageStatus: GqlMessageStatus;
655
- messages: GqlMessageConnection;
656
- nodeInfo: GqlNodeInfo;
657
- register: Scalars['U64'];
658
- transaction?: Maybe<GqlTransaction>;
659
- transactions: GqlTransactionConnection;
660
- transactionsByOwner: GqlTransactionConnection;
661
- };
662
- export type GqlQueryBalanceArgs = {
663
- assetId: Scalars['AssetId'];
664
- owner: Scalars['Address'];
665
- };
666
- export type GqlQueryBalancesArgs = {
667
- after?: InputMaybe<Scalars['String']>;
668
- before?: InputMaybe<Scalars['String']>;
669
- filter: GqlBalanceFilterInput;
670
- first?: InputMaybe<Scalars['Int']>;
671
- last?: InputMaybe<Scalars['Int']>;
672
- };
673
- export type GqlQueryBlockArgs = {
674
- height?: InputMaybe<Scalars['U32']>;
675
- id?: InputMaybe<Scalars['BlockId']>;
676
- };
677
- export type GqlQueryBlocksArgs = {
678
- after?: InputMaybe<Scalars['String']>;
679
- before?: InputMaybe<Scalars['String']>;
680
- first?: InputMaybe<Scalars['Int']>;
681
- last?: InputMaybe<Scalars['Int']>;
682
- };
683
- export type GqlQueryCoinArgs = {
684
- utxoId: Scalars['UtxoId'];
685
- };
686
- export type GqlQueryCoinsArgs = {
687
- after?: InputMaybe<Scalars['String']>;
688
- before?: InputMaybe<Scalars['String']>;
689
- filter: GqlCoinFilterInput;
690
- first?: InputMaybe<Scalars['Int']>;
691
- last?: InputMaybe<Scalars['Int']>;
692
- };
693
- export type GqlQueryCoinsToSpendArgs = {
694
- excludedIds?: InputMaybe<GqlExcludeInput>;
695
- owner: Scalars['Address'];
696
- queryPerAsset: Array<GqlSpendQueryElementInput>;
697
- };
698
- export type GqlQueryContractArgs = {
699
- id: Scalars['ContractId'];
700
- };
701
- export type GqlQueryContractBalanceArgs = {
702
- asset: Scalars['AssetId'];
703
- contract: Scalars['ContractId'];
704
- };
705
- export type GqlQueryContractBalancesArgs = {
706
- after?: InputMaybe<Scalars['String']>;
707
- before?: InputMaybe<Scalars['String']>;
708
- filter: GqlContractBalanceFilterInput;
709
- first?: InputMaybe<Scalars['Int']>;
710
- last?: InputMaybe<Scalars['Int']>;
711
- };
712
- export type GqlQueryEstimatePredicatesArgs = {
713
- tx: Scalars['HexString'];
714
- };
715
- export type GqlQueryMemoryArgs = {
716
- id: Scalars['ID'];
717
- size: Scalars['U32'];
718
- start: Scalars['U32'];
719
- };
720
- export type GqlQueryMessageProofArgs = {
721
- commitBlockHeight?: InputMaybe<Scalars['U32']>;
722
- commitBlockId?: InputMaybe<Scalars['BlockId']>;
723
- nonce: Scalars['Nonce'];
724
- transactionId: Scalars['TransactionId'];
725
- };
726
- export type GqlQueryMessageStatusArgs = {
727
- nonce: Scalars['Nonce'];
728
- };
729
- export type GqlQueryMessagesArgs = {
730
- after?: InputMaybe<Scalars['String']>;
731
- before?: InputMaybe<Scalars['String']>;
732
- first?: InputMaybe<Scalars['Int']>;
733
- last?: InputMaybe<Scalars['Int']>;
734
- owner?: InputMaybe<Scalars['Address']>;
735
- };
736
- export type GqlQueryRegisterArgs = {
737
- id: Scalars['ID'];
738
- register: Scalars['U32'];
739
- };
740
- export type GqlQueryTransactionArgs = {
741
- id: Scalars['TransactionId'];
742
- };
743
- export type GqlQueryTransactionsArgs = {
744
- after?: InputMaybe<Scalars['String']>;
745
- before?: InputMaybe<Scalars['String']>;
746
- first?: InputMaybe<Scalars['Int']>;
747
- last?: InputMaybe<Scalars['Int']>;
748
- };
749
- export type GqlQueryTransactionsByOwnerArgs = {
750
- after?: InputMaybe<Scalars['String']>;
751
- before?: InputMaybe<Scalars['String']>;
752
- first?: InputMaybe<Scalars['Int']>;
753
- last?: InputMaybe<Scalars['Int']>;
754
- owner: Scalars['Address'];
755
- };
756
- export type GqlReceipt = {
757
- __typename: 'Receipt';
758
- amount?: Maybe<Scalars['U64']>;
759
- assetId?: Maybe<Scalars['AssetId']>;
760
- contract?: Maybe<GqlContract>;
761
- contractId?: Maybe<Scalars['ContractId']>;
762
- data?: Maybe<Scalars['HexString']>;
763
- digest?: Maybe<Scalars['Bytes32']>;
764
- gas?: Maybe<Scalars['U64']>;
765
- gasUsed?: Maybe<Scalars['U64']>;
766
- is?: Maybe<Scalars['U64']>;
767
- len?: Maybe<Scalars['U64']>;
768
- nonce?: Maybe<Scalars['Nonce']>;
769
- param1?: Maybe<Scalars['U64']>;
770
- param2?: Maybe<Scalars['U64']>;
771
- pc?: Maybe<Scalars['U64']>;
772
- ptr?: Maybe<Scalars['U64']>;
773
- ra?: Maybe<Scalars['U64']>;
774
- rb?: Maybe<Scalars['U64']>;
775
- rc?: Maybe<Scalars['U64']>;
776
- rd?: Maybe<Scalars['U64']>;
777
- reason?: Maybe<Scalars['U64']>;
778
- receiptType: GqlReceiptType;
779
- recipient?: Maybe<Scalars['Address']>;
780
- result?: Maybe<Scalars['U64']>;
781
- sender?: Maybe<Scalars['Address']>;
782
- subId?: Maybe<Scalars['Bytes32']>;
783
- to?: Maybe<GqlContract>;
784
- toAddress?: Maybe<Scalars['Address']>;
785
- val?: Maybe<Scalars['U64']>;
786
- };
787
- export declare enum GqlReceiptType {
788
- Burn = "BURN",
789
- Call = "CALL",
790
- Log = "LOG",
791
- LogData = "LOG_DATA",
792
- MessageOut = "MESSAGE_OUT",
793
- Mint = "MINT",
794
- Panic = "PANIC",
795
- Return = "RETURN",
796
- ReturnData = "RETURN_DATA",
797
- Revert = "REVERT",
798
- ScriptResult = "SCRIPT_RESULT",
799
- Transfer = "TRANSFER",
800
- TransferOut = "TRANSFER_OUT"
801
- }
802
- export declare enum GqlReturnType {
803
- Return = "RETURN",
804
- ReturnData = "RETURN_DATA",
805
- Revert = "REVERT"
806
- }
807
- export type GqlRunResult = {
808
- __typename: 'RunResult';
809
- breakpoint?: Maybe<GqlOutputBreakpoint>;
810
- jsonReceipts: Array<Scalars['String']>;
811
- state: GqlRunState;
812
- };
813
- export declare enum GqlRunState {
814
- /** Stopped on a breakpoint */
815
- Breakpoint = "BREAKPOINT",
816
- /** All breakpoints have been processed, and the program has terminated */
817
- Completed = "COMPLETED"
818
- }
819
- export type GqlScriptParameters = {
820
- __typename: 'ScriptParameters';
821
- maxScriptDataLength: Scalars['U64'];
822
- maxScriptLength: Scalars['U64'];
823
- };
824
- export type GqlSpendQueryElementInput = {
825
- /** Target amount for the query. */
826
- amount: Scalars['U64'];
827
- /** Identifier of the asset to spend. */
828
- assetId: Scalars['AssetId'];
829
- /** The maximum number of currencies for selection. */
830
- max?: InputMaybe<Scalars['U32']>;
831
- };
832
- export type GqlSqueezedOutStatus = {
833
- __typename: 'SqueezedOutStatus';
834
- reason: Scalars['String'];
835
- };
836
- export type GqlSubmittedStatus = {
837
- __typename: 'SubmittedStatus';
838
- time: Scalars['Tai64Timestamp'];
839
- };
840
- export type GqlSubscription = {
841
- __typename: 'Subscription';
842
- /**
843
- * Returns a stream of status updates for the given transaction id.
844
- * If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`]
845
- * or [`TransactionStatus::Failed`] the stream will return that and end immediately.
846
- * If the current status is [`TransactionStatus::Submitted`] this will be returned
847
- * and the stream will wait for a future update.
848
- *
849
- * This stream will wait forever so it's advised to use within a timeout.
850
- *
851
- * It is possible for the stream to miss an update if it is polled slower
852
- * then the updates arrive. In such a case the stream will close without
853
- * a status. If this occurs the stream can simply be restarted to return
854
- * the latest status.
855
- */
856
- statusChange: GqlTransactionStatus;
857
- /** Submits transaction to the `TxPool` and await either confirmation or failure. */
858
- submitAndAwait: GqlTransactionStatus;
859
- };
860
- export type GqlSubscriptionStatusChangeArgs = {
861
- id: Scalars['TransactionId'];
862
- };
863
- export type GqlSubscriptionSubmitAndAwaitArgs = {
864
- tx: Scalars['HexString'];
865
- };
866
- export type GqlSuccessStatus = {
867
- __typename: 'SuccessStatus';
868
- block: GqlBlock;
869
- programState?: Maybe<GqlProgramState>;
870
- receipts: Array<GqlReceipt>;
871
- time: Scalars['Tai64Timestamp'];
872
- transactionId: Scalars['TransactionId'];
873
- };
874
- export type GqlTransaction = {
875
- __typename: 'Transaction';
876
- bytecodeLength?: Maybe<Scalars['U64']>;
877
- bytecodeWitnessIndex?: Maybe<Scalars['Int']>;
878
- gasPrice?: Maybe<Scalars['U64']>;
879
- id: Scalars['TransactionId'];
880
- inputAssetIds?: Maybe<Array<Scalars['AssetId']>>;
881
- inputContract?: Maybe<GqlInputContract>;
882
- inputContracts?: Maybe<Array<GqlContract>>;
883
- inputs?: Maybe<Array<GqlInput>>;
884
- isCreate: Scalars['Boolean'];
885
- isMint: Scalars['Boolean'];
886
- isScript: Scalars['Boolean'];
887
- maturity?: Maybe<Scalars['U32']>;
888
- mintAmount?: Maybe<Scalars['U64']>;
889
- mintAssetId?: Maybe<Scalars['AssetId']>;
890
- outputContract?: Maybe<GqlContractOutput>;
891
- outputs: Array<GqlOutput>;
892
- policies?: Maybe<GqlPolicies>;
893
- /** Return the transaction bytes using canonical encoding */
894
- rawPayload: Scalars['HexString'];
895
- receipts?: Maybe<Array<GqlReceipt>>;
896
- receiptsRoot?: Maybe<Scalars['Bytes32']>;
897
- salt?: Maybe<Scalars['Salt']>;
898
- script?: Maybe<Scalars['HexString']>;
899
- scriptData?: Maybe<Scalars['HexString']>;
900
- scriptGasLimit?: Maybe<Scalars['U64']>;
901
- status?: Maybe<GqlTransactionStatus>;
902
- storageSlots?: Maybe<Array<Scalars['HexString']>>;
903
- txPointer?: Maybe<Scalars['TxPointer']>;
904
- witnesses?: Maybe<Array<Scalars['HexString']>>;
905
- };
906
- export type GqlTransactionConnection = {
907
- __typename: 'TransactionConnection';
908
- /** A list of edges. */
909
- edges: Array<GqlTransactionEdge>;
910
- /** A list of nodes. */
911
- nodes: Array<GqlTransaction>;
912
- /** Information to aid in pagination. */
913
- pageInfo: GqlPageInfo;
914
- };
915
- /** An edge in a connection. */
916
- export type GqlTransactionEdge = {
917
- __typename: 'TransactionEdge';
918
- /** A cursor for use in pagination */
919
- cursor: Scalars['String'];
920
- /** The item at the end of the edge */
921
- node: GqlTransaction;
922
- };
923
- export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
924
- export type GqlTxParameters = {
925
- __typename: 'TxParameters';
926
- maxGasPerTx: Scalars['U64'];
927
- maxInputs: Scalars['U8'];
928
- maxOutputs: Scalars['U8'];
929
- maxSize: Scalars['U64'];
930
- maxWitnesses: Scalars['U32'];
931
- };
932
- export type GqlVariableOutput = {
933
- __typename: 'VariableOutput';
934
- amount: Scalars['U64'];
935
- assetId: Scalars['AssetId'];
936
- to: Scalars['Address'];
937
- };
938
- type GqlTransactionStatusFragment_FailureStatus_Fragment = {
939
- __typename: 'FailureStatus';
940
- time: string;
941
- reason: string;
942
- type: 'FailureStatus';
943
- block: {
944
- __typename: 'Block';
945
- id: string;
946
- };
947
- };
948
- type GqlTransactionStatusFragment_SqueezedOutStatus_Fragment = {
949
- __typename: 'SqueezedOutStatus';
950
- reason: string;
951
- type: 'SqueezedOutStatus';
952
- };
953
- type GqlTransactionStatusFragment_SubmittedStatus_Fragment = {
954
- __typename: 'SubmittedStatus';
955
- time: string;
956
- type: 'SubmittedStatus';
957
- };
958
- type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
959
- __typename: 'SuccessStatus';
960
- time: string;
961
- type: 'SuccessStatus';
962
- block: {
963
- __typename: 'Block';
964
- id: string;
965
- };
966
- programState?: {
967
- __typename: 'ProgramState';
968
- returnType: GqlReturnType;
969
- data: string;
970
- } | null;
971
- };
972
- export type GqlTransactionStatusFragmentFragment = GqlTransactionStatusFragment_FailureStatus_Fragment | GqlTransactionStatusFragment_SqueezedOutStatus_Fragment | GqlTransactionStatusFragment_SubmittedStatus_Fragment | GqlTransactionStatusFragment_SuccessStatus_Fragment;
973
- export type GqlTransactionFragmentFragment = {
974
- __typename: 'Transaction';
975
- id: string;
976
- rawPayload: string;
977
- gasPrice?: string | null;
978
- receipts?: Array<{
979
- __typename: 'Receipt';
980
- pc?: string | null;
981
- is?: string | null;
982
- toAddress?: string | null;
983
- amount?: string | null;
984
- assetId?: string | null;
985
- gas?: string | null;
986
- param1?: string | null;
987
- param2?: string | null;
988
- val?: string | null;
989
- ptr?: string | null;
990
- digest?: string | null;
991
- reason?: string | null;
992
- ra?: string | null;
993
- rb?: string | null;
994
- rc?: string | null;
995
- rd?: string | null;
996
- len?: string | null;
997
- receiptType: GqlReceiptType;
998
- result?: string | null;
999
- gasUsed?: string | null;
1000
- data?: string | null;
1001
- sender?: string | null;
1002
- recipient?: string | null;
1003
- nonce?: string | null;
1004
- contractId?: string | null;
1005
- subId?: string | null;
1006
- contract?: {
1007
- __typename: 'Contract';
1008
- id: string;
1009
- } | null;
1010
- to?: {
1011
- __typename: 'Contract';
1012
- id: string;
1013
- } | null;
1014
- }> | null;
1015
- status?: {
1016
- __typename: 'FailureStatus';
1017
- time: string;
1018
- reason: string;
1019
- type: 'FailureStatus';
1020
- block: {
1021
- __typename: 'Block';
1022
- id: string;
1023
- };
1024
- } | {
1025
- __typename: 'SqueezedOutStatus';
1026
- reason: string;
1027
- type: 'SqueezedOutStatus';
1028
- } | {
1029
- __typename: 'SubmittedStatus';
1030
- time: string;
1031
- type: 'SubmittedStatus';
1032
- } | {
1033
- __typename: 'SuccessStatus';
1034
- time: string;
1035
- type: 'SuccessStatus';
1036
- block: {
1037
- __typename: 'Block';
1038
- id: string;
1039
- };
1040
- programState?: {
1041
- __typename: 'ProgramState';
1042
- returnType: GqlReturnType;
1043
- data: string;
1044
- } | null;
1045
- } | null;
1046
- };
1047
- type GqlInputEstimatePredicatesFragment_InputCoin_Fragment = {
1048
- __typename: 'InputCoin';
1049
- predicateGasUsed: string;
1050
- };
1051
- type GqlInputEstimatePredicatesFragment_InputContract_Fragment = {
1052
- __typename: 'InputContract';
1053
- };
1054
- type GqlInputEstimatePredicatesFragment_InputMessage_Fragment = {
1055
- __typename: 'InputMessage';
1056
- predicateGasUsed: string;
1057
- };
1058
- export type GqlInputEstimatePredicatesFragmentFragment = GqlInputEstimatePredicatesFragment_InputCoin_Fragment | GqlInputEstimatePredicatesFragment_InputContract_Fragment | GqlInputEstimatePredicatesFragment_InputMessage_Fragment;
1059
- export type GqlTransactionEstimatePredicatesFragmentFragment = {
1060
- __typename: 'Transaction';
1061
- inputs?: Array<{
1062
- __typename: 'InputCoin';
1063
- predicateGasUsed: string;
1064
- } | {
1065
- __typename: 'InputContract';
1066
- } | {
1067
- __typename: 'InputMessage';
1068
- predicateGasUsed: string;
1069
- }> | null;
1070
- };
1071
- export type GqlReceiptFragmentFragment = {
1072
- __typename: 'Receipt';
1073
- pc?: string | null;
1074
- is?: string | null;
1075
- toAddress?: string | null;
1076
- amount?: string | null;
1077
- assetId?: string | null;
1078
- gas?: string | null;
1079
- param1?: string | null;
1080
- param2?: string | null;
1081
- val?: string | null;
1082
- ptr?: string | null;
1083
- digest?: string | null;
1084
- reason?: string | null;
1085
- ra?: string | null;
1086
- rb?: string | null;
1087
- rc?: string | null;
1088
- rd?: string | null;
1089
- len?: string | null;
1090
- receiptType: GqlReceiptType;
1091
- result?: string | null;
1092
- gasUsed?: string | null;
1093
- data?: string | null;
1094
- sender?: string | null;
1095
- recipient?: string | null;
1096
- nonce?: string | null;
1097
- contractId?: string | null;
1098
- subId?: string | null;
1099
- contract?: {
1100
- __typename: 'Contract';
1101
- id: string;
1102
- } | null;
1103
- to?: {
1104
- __typename: 'Contract';
1105
- id: string;
1106
- } | null;
1107
- };
1108
- export type GqlBlockFragmentFragment = {
1109
- __typename: 'Block';
1110
- id: string;
1111
- header: {
1112
- __typename: 'Header';
1113
- height: any;
1114
- time: string;
1115
- };
1116
- transactions: Array<{
1117
- __typename: 'Transaction';
1118
- id: string;
1119
- }>;
1120
- };
1121
- export type GqlCoinFragmentFragment = {
1122
- __typename: 'Coin';
1123
- utxoId: string;
1124
- owner: string;
1125
- amount: string;
1126
- assetId: string;
1127
- maturity: any;
1128
- blockCreated: any;
1129
- txCreatedIdx: string;
1130
- };
1131
- export type GqlMessageCoinFragmentFragment = {
1132
- __typename: 'MessageCoin';
1133
- sender: string;
1134
- recipient: string;
1135
- nonce: string;
1136
- amount: string;
1137
- assetId: string;
1138
- daHeight: string;
1139
- };
1140
- export type GqlMessageFragmentFragment = {
1141
- __typename: 'Message';
1142
- amount: string;
1143
- sender: string;
1144
- recipient: string;
1145
- data: string;
1146
- nonce: string;
1147
- daHeight: string;
1148
- };
1149
- export type GqlMessageProofFragmentFragment = {
1150
- __typename: 'MessageProof';
1151
- sender: string;
1152
- recipient: string;
1153
- nonce: string;
1154
- amount: string;
1155
- data: string;
1156
- messageProof: {
1157
- __typename: 'MerkleProof';
1158
- proofSet: Array<string>;
1159
- proofIndex: string;
1160
- };
1161
- blockProof: {
1162
- __typename: 'MerkleProof';
1163
- proofSet: Array<string>;
1164
- proofIndex: string;
1165
- };
1166
- messageBlockHeader: {
1167
- __typename: 'Header';
1168
- id: string;
1169
- daHeight: string;
1170
- transactionsCount: string;
1171
- transactionsRoot: string;
1172
- height: any;
1173
- prevRoot: string;
1174
- time: string;
1175
- applicationHash: string;
1176
- messageReceiptRoot: string;
1177
- messageReceiptCount: string;
1178
- };
1179
- commitBlockHeader: {
1180
- __typename: 'Header';
1181
- id: string;
1182
- daHeight: string;
1183
- transactionsCount: string;
1184
- transactionsRoot: string;
1185
- height: any;
1186
- prevRoot: string;
1187
- time: string;
1188
- applicationHash: string;
1189
- messageReceiptRoot: string;
1190
- messageReceiptCount: string;
1191
- };
1192
- };
1193
- export type GqlBalanceFragmentFragment = {
1194
- __typename: 'Balance';
1195
- owner: string;
1196
- amount: string;
1197
- assetId: string;
1198
- };
1199
- export type GqlTxParametersFragmentFragment = {
1200
- __typename: 'TxParameters';
1201
- maxInputs: any;
1202
- maxOutputs: any;
1203
- maxWitnesses: any;
1204
- maxGasPerTx: string;
1205
- maxSize: string;
1206
- };
1207
- export type GqlPredicateParametersFragmentFragment = {
1208
- __typename: 'PredicateParameters';
1209
- maxPredicateLength: string;
1210
- maxPredicateDataLength: string;
1211
- maxGasPerPredicate: string;
1212
- maxMessageDataLength: string;
1213
- };
1214
- export type GqlScriptParametersFragmentFragment = {
1215
- __typename: 'ScriptParameters';
1216
- maxScriptLength: string;
1217
- maxScriptDataLength: string;
1218
- };
1219
- export type GqlContractParametersFragmentFragment = {
1220
- __typename: 'ContractParameters';
1221
- contractMaxSize: string;
1222
- maxStorageSlots: string;
1223
- };
1224
- export type GqlFeeParametersFragmentFragment = {
1225
- __typename: 'FeeParameters';
1226
- gasPriceFactor: string;
1227
- gasPerByte: string;
1228
- };
1229
- type GqlDependentCostFragment_HeavyOperation_Fragment = {
1230
- __typename: 'HeavyOperation';
1231
- base: string;
1232
- gasPerUnit: string;
1233
- };
1234
- type GqlDependentCostFragment_LightOperation_Fragment = {
1235
- __typename: 'LightOperation';
1236
- base: string;
1237
- unitsPerGas: string;
1238
- };
1239
- export type GqlDependentCostFragmentFragment = GqlDependentCostFragment_HeavyOperation_Fragment | GqlDependentCostFragment_LightOperation_Fragment;
1240
- export type GqlGasCostsFragmentFragment = {
1241
- __typename: 'GasCosts';
1242
- add: string;
1243
- addi: string;
1244
- aloc: string;
1245
- and: string;
1246
- andi: string;
1247
- bal: string;
1248
- bhei: string;
1249
- bhsh: string;
1250
- burn: string;
1251
- cb: string;
1252
- cfei: string;
1253
- cfsi: string;
1254
- croo: string;
1255
- div: string;
1256
- divi: string;
1257
- ecr1: string;
1258
- eck1: string;
1259
- ed19: string;
1260
- eq: string;
1261
- exp: string;
1262
- expi: string;
1263
- flag: string;
1264
- gm: string;
1265
- gt: string;
1266
- gtf: string;
1267
- ji: string;
1268
- jmp: string;
1269
- jne: string;
1270
- jnei: string;
1271
- jnzi: string;
1272
- jmpf: string;
1273
- jmpb: string;
1274
- jnzf: string;
1275
- jnzb: string;
1276
- jnef: string;
1277
- jneb: string;
1278
- lb: string;
1279
- log: string;
1280
- lt: string;
1281
- lw: string;
1282
- mint: string;
1283
- mlog: string;
1284
- modOp: string;
1285
- modi: string;
1286
- moveOp: string;
1287
- movi: string;
1288
- mroo: string;
1289
- mul: string;
1290
- muli: string;
1291
- mldv: string;
1292
- noop: string;
1293
- not: string;
1294
- or: string;
1295
- ori: string;
1296
- poph: string;
1297
- popl: string;
1298
- pshh: string;
1299
- pshl: string;
1300
- ret: string;
1301
- rvrt: string;
1302
- sb: string;
1303
- sll: string;
1304
- slli: string;
1305
- srl: string;
1306
- srli: string;
1307
- srw: string;
1308
- sub: string;
1309
- subi: string;
1310
- sw: string;
1311
- sww: string;
1312
- time: string;
1313
- tr: string;
1314
- tro: string;
1315
- wdcm: string;
1316
- wqcm: string;
1317
- wdop: string;
1318
- wqop: string;
1319
- wdml: string;
1320
- wqml: string;
1321
- wddv: string;
1322
- wqdv: string;
1323
- wdmd: string;
1324
- wqmd: string;
1325
- wdam: string;
1326
- wqam: string;
1327
- wdmm: string;
1328
- wqmm: string;
1329
- xor: string;
1330
- xori: string;
1331
- newStoragePerByte: string;
1332
- call: {
1333
- __typename: 'HeavyOperation';
1334
- base: string;
1335
- gasPerUnit: string;
1336
- } | {
1337
- __typename: 'LightOperation';
1338
- base: string;
1339
- unitsPerGas: string;
1340
- };
1341
- ccp: {
1342
- __typename: 'HeavyOperation';
1343
- base: string;
1344
- gasPerUnit: string;
1345
- } | {
1346
- __typename: 'LightOperation';
1347
- base: string;
1348
- unitsPerGas: string;
1349
- };
1350
- csiz: {
1351
- __typename: 'HeavyOperation';
1352
- base: string;
1353
- gasPerUnit: string;
1354
- } | {
1355
- __typename: 'LightOperation';
1356
- base: string;
1357
- unitsPerGas: string;
1358
- };
1359
- k256: {
1360
- __typename: 'HeavyOperation';
1361
- base: string;
1362
- gasPerUnit: string;
1363
- } | {
1364
- __typename: 'LightOperation';
1365
- base: string;
1366
- unitsPerGas: string;
1367
- };
1368
- ldc: {
1369
- __typename: 'HeavyOperation';
1370
- base: string;
1371
- gasPerUnit: string;
1372
- } | {
1373
- __typename: 'LightOperation';
1374
- base: string;
1375
- unitsPerGas: string;
1376
- };
1377
- logd: {
1378
- __typename: 'HeavyOperation';
1379
- base: string;
1380
- gasPerUnit: string;
1381
- } | {
1382
- __typename: 'LightOperation';
1383
- base: string;
1384
- unitsPerGas: string;
1385
- };
1386
- mcl: {
1387
- __typename: 'HeavyOperation';
1388
- base: string;
1389
- gasPerUnit: string;
1390
- } | {
1391
- __typename: 'LightOperation';
1392
- base: string;
1393
- unitsPerGas: string;
1394
- };
1395
- mcli: {
1396
- __typename: 'HeavyOperation';
1397
- base: string;
1398
- gasPerUnit: string;
1399
- } | {
1400
- __typename: 'LightOperation';
1401
- base: string;
1402
- unitsPerGas: string;
1403
- };
1404
- mcp: {
1405
- __typename: 'HeavyOperation';
1406
- base: string;
1407
- gasPerUnit: string;
1408
- } | {
1409
- __typename: 'LightOperation';
1410
- base: string;
1411
- unitsPerGas: string;
1412
- };
1413
- mcpi: {
1414
- __typename: 'HeavyOperation';
1415
- base: string;
1416
- gasPerUnit: string;
1417
- } | {
1418
- __typename: 'LightOperation';
1419
- base: string;
1420
- unitsPerGas: string;
1421
- };
1422
- meq: {
1423
- __typename: 'HeavyOperation';
1424
- base: string;
1425
- gasPerUnit: string;
1426
- } | {
1427
- __typename: 'LightOperation';
1428
- base: string;
1429
- unitsPerGas: string;
1430
- };
1431
- retd: {
1432
- __typename: 'HeavyOperation';
1433
- base: string;
1434
- gasPerUnit: string;
1435
- } | {
1436
- __typename: 'LightOperation';
1437
- base: string;
1438
- unitsPerGas: string;
1439
- };
1440
- s256: {
1441
- __typename: 'HeavyOperation';
1442
- base: string;
1443
- gasPerUnit: string;
1444
- } | {
1445
- __typename: 'LightOperation';
1446
- base: string;
1447
- unitsPerGas: string;
1448
- };
1449
- scwq: {
1450
- __typename: 'HeavyOperation';
1451
- base: string;
1452
- gasPerUnit: string;
1453
- } | {
1454
- __typename: 'LightOperation';
1455
- base: string;
1456
- unitsPerGas: string;
1457
- };
1458
- smo: {
1459
- __typename: 'HeavyOperation';
1460
- base: string;
1461
- gasPerUnit: string;
1462
- } | {
1463
- __typename: 'LightOperation';
1464
- base: string;
1465
- unitsPerGas: string;
1466
- };
1467
- srwq: {
1468
- __typename: 'HeavyOperation';
1469
- base: string;
1470
- gasPerUnit: string;
1471
- } | {
1472
- __typename: 'LightOperation';
1473
- base: string;
1474
- unitsPerGas: string;
1475
- };
1476
- swwq: {
1477
- __typename: 'HeavyOperation';
1478
- base: string;
1479
- gasPerUnit: string;
1480
- } | {
1481
- __typename: 'LightOperation';
1482
- base: string;
1483
- unitsPerGas: string;
1484
- };
1485
- contractRoot: {
1486
- __typename: 'HeavyOperation';
1487
- base: string;
1488
- gasPerUnit: string;
1489
- } | {
1490
- __typename: 'LightOperation';
1491
- base: string;
1492
- unitsPerGas: string;
1493
- };
1494
- stateRoot: {
1495
- __typename: 'HeavyOperation';
1496
- base: string;
1497
- gasPerUnit: string;
1498
- } | {
1499
- __typename: 'LightOperation';
1500
- base: string;
1501
- unitsPerGas: string;
1502
- };
1503
- vmInitialization: {
1504
- __typename: 'HeavyOperation';
1505
- base: string;
1506
- gasPerUnit: string;
1507
- } | {
1508
- __typename: 'LightOperation';
1509
- base: string;
1510
- unitsPerGas: string;
1511
- };
1512
- };
1513
- export type GqlConsensusParametersFragmentFragment = {
1514
- __typename: 'ConsensusParameters';
1515
- baseAssetId: string;
1516
- chainId: string;
1517
- txParams: {
1518
- __typename: 'TxParameters';
1519
- maxInputs: any;
1520
- maxOutputs: any;
1521
- maxWitnesses: any;
1522
- maxGasPerTx: string;
1523
- maxSize: string;
1524
- };
1525
- predicateParams: {
1526
- __typename: 'PredicateParameters';
1527
- maxPredicateLength: string;
1528
- maxPredicateDataLength: string;
1529
- maxGasPerPredicate: string;
1530
- maxMessageDataLength: string;
1531
- };
1532
- scriptParams: {
1533
- __typename: 'ScriptParameters';
1534
- maxScriptLength: string;
1535
- maxScriptDataLength: string;
1536
- };
1537
- contractParams: {
1538
- __typename: 'ContractParameters';
1539
- contractMaxSize: string;
1540
- maxStorageSlots: string;
1541
- };
1542
- feeParams: {
1543
- __typename: 'FeeParameters';
1544
- gasPriceFactor: string;
1545
- gasPerByte: string;
1546
- };
1547
- gasCosts: {
1548
- __typename: 'GasCosts';
1549
- add: string;
1550
- addi: string;
1551
- aloc: string;
1552
- and: string;
1553
- andi: string;
1554
- bal: string;
1555
- bhei: string;
1556
- bhsh: string;
1557
- burn: string;
1558
- cb: string;
1559
- cfei: string;
1560
- cfsi: string;
1561
- croo: string;
1562
- div: string;
1563
- divi: string;
1564
- ecr1: string;
1565
- eck1: string;
1566
- ed19: string;
1567
- eq: string;
1568
- exp: string;
1569
- expi: string;
1570
- flag: string;
1571
- gm: string;
1572
- gt: string;
1573
- gtf: string;
1574
- ji: string;
1575
- jmp: string;
1576
- jne: string;
1577
- jnei: string;
1578
- jnzi: string;
1579
- jmpf: string;
1580
- jmpb: string;
1581
- jnzf: string;
1582
- jnzb: string;
1583
- jnef: string;
1584
- jneb: string;
1585
- lb: string;
1586
- log: string;
1587
- lt: string;
1588
- lw: string;
1589
- mint: string;
1590
- mlog: string;
1591
- modOp: string;
1592
- modi: string;
1593
- moveOp: string;
1594
- movi: string;
1595
- mroo: string;
1596
- mul: string;
1597
- muli: string;
1598
- mldv: string;
1599
- noop: string;
1600
- not: string;
1601
- or: string;
1602
- ori: string;
1603
- poph: string;
1604
- popl: string;
1605
- pshh: string;
1606
- pshl: string;
1607
- ret: string;
1608
- rvrt: string;
1609
- sb: string;
1610
- sll: string;
1611
- slli: string;
1612
- srl: string;
1613
- srli: string;
1614
- srw: string;
1615
- sub: string;
1616
- subi: string;
1617
- sw: string;
1618
- sww: string;
1619
- time: string;
1620
- tr: string;
1621
- tro: string;
1622
- wdcm: string;
1623
- wqcm: string;
1624
- wdop: string;
1625
- wqop: string;
1626
- wdml: string;
1627
- wqml: string;
1628
- wddv: string;
1629
- wqdv: string;
1630
- wdmd: string;
1631
- wqmd: string;
1632
- wdam: string;
1633
- wqam: string;
1634
- wdmm: string;
1635
- wqmm: string;
1636
- xor: string;
1637
- xori: string;
1638
- newStoragePerByte: string;
1639
- call: {
1640
- __typename: 'HeavyOperation';
1641
- base: string;
1642
- gasPerUnit: string;
1643
- } | {
1644
- __typename: 'LightOperation';
1645
- base: string;
1646
- unitsPerGas: string;
1647
- };
1648
- ccp: {
1649
- __typename: 'HeavyOperation';
1650
- base: string;
1651
- gasPerUnit: string;
1652
- } | {
1653
- __typename: 'LightOperation';
1654
- base: string;
1655
- unitsPerGas: string;
1656
- };
1657
- csiz: {
1658
- __typename: 'HeavyOperation';
1659
- base: string;
1660
- gasPerUnit: string;
1661
- } | {
1662
- __typename: 'LightOperation';
1663
- base: string;
1664
- unitsPerGas: string;
1665
- };
1666
- k256: {
1667
- __typename: 'HeavyOperation';
1668
- base: string;
1669
- gasPerUnit: string;
1670
- } | {
1671
- __typename: 'LightOperation';
1672
- base: string;
1673
- unitsPerGas: string;
1674
- };
1675
- ldc: {
1676
- __typename: 'HeavyOperation';
1677
- base: string;
1678
- gasPerUnit: string;
1679
- } | {
1680
- __typename: 'LightOperation';
1681
- base: string;
1682
- unitsPerGas: string;
1683
- };
1684
- logd: {
1685
- __typename: 'HeavyOperation';
1686
- base: string;
1687
- gasPerUnit: string;
1688
- } | {
1689
- __typename: 'LightOperation';
1690
- base: string;
1691
- unitsPerGas: string;
1692
- };
1693
- mcl: {
1694
- __typename: 'HeavyOperation';
1695
- base: string;
1696
- gasPerUnit: string;
1697
- } | {
1698
- __typename: 'LightOperation';
1699
- base: string;
1700
- unitsPerGas: string;
1701
- };
1702
- mcli: {
1703
- __typename: 'HeavyOperation';
1704
- base: string;
1705
- gasPerUnit: string;
1706
- } | {
1707
- __typename: 'LightOperation';
1708
- base: string;
1709
- unitsPerGas: string;
1710
- };
1711
- mcp: {
1712
- __typename: 'HeavyOperation';
1713
- base: string;
1714
- gasPerUnit: string;
1715
- } | {
1716
- __typename: 'LightOperation';
1717
- base: string;
1718
- unitsPerGas: string;
1719
- };
1720
- mcpi: {
1721
- __typename: 'HeavyOperation';
1722
- base: string;
1723
- gasPerUnit: string;
1724
- } | {
1725
- __typename: 'LightOperation';
1726
- base: string;
1727
- unitsPerGas: string;
1728
- };
1729
- meq: {
1730
- __typename: 'HeavyOperation';
1731
- base: string;
1732
- gasPerUnit: string;
1733
- } | {
1734
- __typename: 'LightOperation';
1735
- base: string;
1736
- unitsPerGas: string;
1737
- };
1738
- retd: {
1739
- __typename: 'HeavyOperation';
1740
- base: string;
1741
- gasPerUnit: string;
1742
- } | {
1743
- __typename: 'LightOperation';
1744
- base: string;
1745
- unitsPerGas: string;
1746
- };
1747
- s256: {
1748
- __typename: 'HeavyOperation';
1749
- base: string;
1750
- gasPerUnit: string;
1751
- } | {
1752
- __typename: 'LightOperation';
1753
- base: string;
1754
- unitsPerGas: string;
1755
- };
1756
- scwq: {
1757
- __typename: 'HeavyOperation';
1758
- base: string;
1759
- gasPerUnit: string;
1760
- } | {
1761
- __typename: 'LightOperation';
1762
- base: string;
1763
- unitsPerGas: string;
1764
- };
1765
- smo: {
1766
- __typename: 'HeavyOperation';
1767
- base: string;
1768
- gasPerUnit: string;
1769
- } | {
1770
- __typename: 'LightOperation';
1771
- base: string;
1772
- unitsPerGas: string;
1773
- };
1774
- srwq: {
1775
- __typename: 'HeavyOperation';
1776
- base: string;
1777
- gasPerUnit: string;
1778
- } | {
1779
- __typename: 'LightOperation';
1780
- base: string;
1781
- unitsPerGas: string;
1782
- };
1783
- swwq: {
1784
- __typename: 'HeavyOperation';
1785
- base: string;
1786
- gasPerUnit: string;
1787
- } | {
1788
- __typename: 'LightOperation';
1789
- base: string;
1790
- unitsPerGas: string;
1791
- };
1792
- contractRoot: {
1793
- __typename: 'HeavyOperation';
1794
- base: string;
1795
- gasPerUnit: string;
1796
- } | {
1797
- __typename: 'LightOperation';
1798
- base: string;
1799
- unitsPerGas: string;
1800
- };
1801
- stateRoot: {
1802
- __typename: 'HeavyOperation';
1803
- base: string;
1804
- gasPerUnit: string;
1805
- } | {
1806
- __typename: 'LightOperation';
1807
- base: string;
1808
- unitsPerGas: string;
1809
- };
1810
- vmInitialization: {
1811
- __typename: 'HeavyOperation';
1812
- base: string;
1813
- gasPerUnit: string;
1814
- } | {
1815
- __typename: 'LightOperation';
1816
- base: string;
1817
- unitsPerGas: string;
1818
- };
1819
- };
1820
- };
1821
- export type GqlChainInfoFragmentFragment = {
1822
- __typename: 'ChainInfo';
1823
- name: string;
1824
- daHeight: string;
1825
- latestBlock: {
1826
- __typename: 'Block';
1827
- id: string;
1828
- header: {
1829
- __typename: 'Header';
1830
- height: any;
1831
- time: string;
1832
- };
1833
- transactions: Array<{
1834
- __typename: 'Transaction';
1835
- id: string;
1836
- }>;
1837
- };
1838
- consensusParameters: {
1839
- __typename: 'ConsensusParameters';
1840
- baseAssetId: string;
1841
- chainId: string;
1842
- txParams: {
1843
- __typename: 'TxParameters';
1844
- maxInputs: any;
1845
- maxOutputs: any;
1846
- maxWitnesses: any;
1847
- maxGasPerTx: string;
1848
- maxSize: string;
1849
- };
1850
- predicateParams: {
1851
- __typename: 'PredicateParameters';
1852
- maxPredicateLength: string;
1853
- maxPredicateDataLength: string;
1854
- maxGasPerPredicate: string;
1855
- maxMessageDataLength: string;
1856
- };
1857
- scriptParams: {
1858
- __typename: 'ScriptParameters';
1859
- maxScriptLength: string;
1860
- maxScriptDataLength: string;
1861
- };
1862
- contractParams: {
1863
- __typename: 'ContractParameters';
1864
- contractMaxSize: string;
1865
- maxStorageSlots: string;
1866
- };
1867
- feeParams: {
1868
- __typename: 'FeeParameters';
1869
- gasPriceFactor: string;
1870
- gasPerByte: string;
1871
- };
1872
- gasCosts: {
1873
- __typename: 'GasCosts';
1874
- add: string;
1875
- addi: string;
1876
- aloc: string;
1877
- and: string;
1878
- andi: string;
1879
- bal: string;
1880
- bhei: string;
1881
- bhsh: string;
1882
- burn: string;
1883
- cb: string;
1884
- cfei: string;
1885
- cfsi: string;
1886
- croo: string;
1887
- div: string;
1888
- divi: string;
1889
- ecr1: string;
1890
- eck1: string;
1891
- ed19: string;
1892
- eq: string;
1893
- exp: string;
1894
- expi: string;
1895
- flag: string;
1896
- gm: string;
1897
- gt: string;
1898
- gtf: string;
1899
- ji: string;
1900
- jmp: string;
1901
- jne: string;
1902
- jnei: string;
1903
- jnzi: string;
1904
- jmpf: string;
1905
- jmpb: string;
1906
- jnzf: string;
1907
- jnzb: string;
1908
- jnef: string;
1909
- jneb: string;
1910
- lb: string;
1911
- log: string;
1912
- lt: string;
1913
- lw: string;
1914
- mint: string;
1915
- mlog: string;
1916
- modOp: string;
1917
- modi: string;
1918
- moveOp: string;
1919
- movi: string;
1920
- mroo: string;
1921
- mul: string;
1922
- muli: string;
1923
- mldv: string;
1924
- noop: string;
1925
- not: string;
1926
- or: string;
1927
- ori: string;
1928
- poph: string;
1929
- popl: string;
1930
- pshh: string;
1931
- pshl: string;
1932
- ret: string;
1933
- rvrt: string;
1934
- sb: string;
1935
- sll: string;
1936
- slli: string;
1937
- srl: string;
1938
- srli: string;
1939
- srw: string;
1940
- sub: string;
1941
- subi: string;
1942
- sw: string;
1943
- sww: string;
1944
- time: string;
1945
- tr: string;
1946
- tro: string;
1947
- wdcm: string;
1948
- wqcm: string;
1949
- wdop: string;
1950
- wqop: string;
1951
- wdml: string;
1952
- wqml: string;
1953
- wddv: string;
1954
- wqdv: string;
1955
- wdmd: string;
1956
- wqmd: string;
1957
- wdam: string;
1958
- wqam: string;
1959
- wdmm: string;
1960
- wqmm: string;
1961
- xor: string;
1962
- xori: string;
1963
- newStoragePerByte: string;
1964
- call: {
1965
- __typename: 'HeavyOperation';
1966
- base: string;
1967
- gasPerUnit: string;
1968
- } | {
1969
- __typename: 'LightOperation';
1970
- base: string;
1971
- unitsPerGas: string;
1972
- };
1973
- ccp: {
1974
- __typename: 'HeavyOperation';
1975
- base: string;
1976
- gasPerUnit: string;
1977
- } | {
1978
- __typename: 'LightOperation';
1979
- base: string;
1980
- unitsPerGas: string;
1981
- };
1982
- csiz: {
1983
- __typename: 'HeavyOperation';
1984
- base: string;
1985
- gasPerUnit: string;
1986
- } | {
1987
- __typename: 'LightOperation';
1988
- base: string;
1989
- unitsPerGas: string;
1990
- };
1991
- k256: {
1992
- __typename: 'HeavyOperation';
1993
- base: string;
1994
- gasPerUnit: string;
1995
- } | {
1996
- __typename: 'LightOperation';
1997
- base: string;
1998
- unitsPerGas: string;
1999
- };
2000
- ldc: {
2001
- __typename: 'HeavyOperation';
2002
- base: string;
2003
- gasPerUnit: string;
2004
- } | {
2005
- __typename: 'LightOperation';
2006
- base: string;
2007
- unitsPerGas: string;
2008
- };
2009
- logd: {
2010
- __typename: 'HeavyOperation';
2011
- base: string;
2012
- gasPerUnit: string;
2013
- } | {
2014
- __typename: 'LightOperation';
2015
- base: string;
2016
- unitsPerGas: string;
2017
- };
2018
- mcl: {
2019
- __typename: 'HeavyOperation';
2020
- base: string;
2021
- gasPerUnit: string;
2022
- } | {
2023
- __typename: 'LightOperation';
2024
- base: string;
2025
- unitsPerGas: string;
2026
- };
2027
- mcli: {
2028
- __typename: 'HeavyOperation';
2029
- base: string;
2030
- gasPerUnit: string;
2031
- } | {
2032
- __typename: 'LightOperation';
2033
- base: string;
2034
- unitsPerGas: string;
2035
- };
2036
- mcp: {
2037
- __typename: 'HeavyOperation';
2038
- base: string;
2039
- gasPerUnit: string;
2040
- } | {
2041
- __typename: 'LightOperation';
2042
- base: string;
2043
- unitsPerGas: string;
2044
- };
2045
- mcpi: {
2046
- __typename: 'HeavyOperation';
2047
- base: string;
2048
- gasPerUnit: string;
2049
- } | {
2050
- __typename: 'LightOperation';
2051
- base: string;
2052
- unitsPerGas: string;
2053
- };
2054
- meq: {
2055
- __typename: 'HeavyOperation';
2056
- base: string;
2057
- gasPerUnit: string;
2058
- } | {
2059
- __typename: 'LightOperation';
2060
- base: string;
2061
- unitsPerGas: string;
2062
- };
2063
- retd: {
2064
- __typename: 'HeavyOperation';
2065
- base: string;
2066
- gasPerUnit: string;
2067
- } | {
2068
- __typename: 'LightOperation';
2069
- base: string;
2070
- unitsPerGas: string;
2071
- };
2072
- s256: {
2073
- __typename: 'HeavyOperation';
2074
- base: string;
2075
- gasPerUnit: string;
2076
- } | {
2077
- __typename: 'LightOperation';
2078
- base: string;
2079
- unitsPerGas: string;
2080
- };
2081
- scwq: {
2082
- __typename: 'HeavyOperation';
2083
- base: string;
2084
- gasPerUnit: string;
2085
- } | {
2086
- __typename: 'LightOperation';
2087
- base: string;
2088
- unitsPerGas: string;
2089
- };
2090
- smo: {
2091
- __typename: 'HeavyOperation';
2092
- base: string;
2093
- gasPerUnit: string;
2094
- } | {
2095
- __typename: 'LightOperation';
2096
- base: string;
2097
- unitsPerGas: string;
2098
- };
2099
- srwq: {
2100
- __typename: 'HeavyOperation';
2101
- base: string;
2102
- gasPerUnit: string;
2103
- } | {
2104
- __typename: 'LightOperation';
2105
- base: string;
2106
- unitsPerGas: string;
2107
- };
2108
- swwq: {
2109
- __typename: 'HeavyOperation';
2110
- base: string;
2111
- gasPerUnit: string;
2112
- } | {
2113
- __typename: 'LightOperation';
2114
- base: string;
2115
- unitsPerGas: string;
2116
- };
2117
- contractRoot: {
2118
- __typename: 'HeavyOperation';
2119
- base: string;
2120
- gasPerUnit: string;
2121
- } | {
2122
- __typename: 'LightOperation';
2123
- base: string;
2124
- unitsPerGas: string;
2125
- };
2126
- stateRoot: {
2127
- __typename: 'HeavyOperation';
2128
- base: string;
2129
- gasPerUnit: string;
2130
- } | {
2131
- __typename: 'LightOperation';
2132
- base: string;
2133
- unitsPerGas: string;
2134
- };
2135
- vmInitialization: {
2136
- __typename: 'HeavyOperation';
2137
- base: string;
2138
- gasPerUnit: string;
2139
- } | {
2140
- __typename: 'LightOperation';
2141
- base: string;
2142
- unitsPerGas: string;
2143
- };
2144
- };
2145
- };
2146
- };
2147
- export type GqlContractBalanceFragmentFragment = {
2148
- __typename: 'ContractBalance';
2149
- contract: string;
2150
- amount: string;
2151
- assetId: string;
2152
- };
2153
- export type GqlPageInfoFragmentFragment = {
2154
- __typename: 'PageInfo';
2155
- hasPreviousPage: boolean;
2156
- hasNextPage: boolean;
2157
- startCursor?: string | null;
2158
- endCursor?: string | null;
2159
- };
2160
- export type GqlGetVersionQueryVariables = Exact<{
2161
- [key: string]: never;
2162
- }>;
2163
- export type GqlGetVersionQuery = {
2164
- __typename: 'Query';
2165
- nodeInfo: {
2166
- __typename: 'NodeInfo';
2167
- nodeVersion: string;
2168
- };
2169
- };
2170
- export type GqlNodeInfoFragmentFragment = {
2171
- __typename: 'NodeInfo';
2172
- utxoValidation: boolean;
2173
- vmBacktrace: boolean;
2174
- minGasPrice: string;
2175
- maxTx: string;
2176
- maxDepth: string;
2177
- nodeVersion: string;
2178
- peers: Array<{
2179
- __typename: 'PeerInfo';
2180
- id: string;
2181
- addresses: Array<string>;
2182
- clientVersion?: string | null;
2183
- blockHeight?: any | null;
2184
- lastHeartbeatMs: string;
2185
- appScore: number;
2186
- }>;
2187
- };
2188
- export type GqlGetNodeInfoQueryVariables = Exact<{
2189
- [key: string]: never;
2190
- }>;
2191
- export type GqlGetNodeInfoQuery = {
2192
- __typename: 'Query';
2193
- nodeInfo: {
2194
- __typename: 'NodeInfo';
2195
- utxoValidation: boolean;
2196
- vmBacktrace: boolean;
2197
- minGasPrice: string;
2198
- maxTx: string;
2199
- maxDepth: string;
2200
- nodeVersion: string;
2201
- peers: Array<{
2202
- __typename: 'PeerInfo';
2203
- id: string;
2204
- addresses: Array<string>;
2205
- clientVersion?: string | null;
2206
- blockHeight?: any | null;
2207
- lastHeartbeatMs: string;
2208
- appScore: number;
2209
- }>;
2210
- };
2211
- };
2212
- export type GqlGetChainQueryVariables = Exact<{
2213
- [key: string]: never;
2214
- }>;
2215
- export type GqlGetChainQuery = {
2216
- __typename: 'Query';
2217
- chain: {
2218
- __typename: 'ChainInfo';
2219
- name: string;
2220
- daHeight: string;
2221
- latestBlock: {
2222
- __typename: 'Block';
2223
- id: string;
2224
- header: {
2225
- __typename: 'Header';
2226
- height: any;
2227
- time: string;
2228
- };
2229
- transactions: Array<{
2230
- __typename: 'Transaction';
2231
- id: string;
2232
- }>;
2233
- };
2234
- consensusParameters: {
2235
- __typename: 'ConsensusParameters';
2236
- baseAssetId: string;
2237
- chainId: string;
2238
- txParams: {
2239
- __typename: 'TxParameters';
2240
- maxInputs: any;
2241
- maxOutputs: any;
2242
- maxWitnesses: any;
2243
- maxGasPerTx: string;
2244
- maxSize: string;
2245
- };
2246
- predicateParams: {
2247
- __typename: 'PredicateParameters';
2248
- maxPredicateLength: string;
2249
- maxPredicateDataLength: string;
2250
- maxGasPerPredicate: string;
2251
- maxMessageDataLength: string;
2252
- };
2253
- scriptParams: {
2254
- __typename: 'ScriptParameters';
2255
- maxScriptLength: string;
2256
- maxScriptDataLength: string;
2257
- };
2258
- contractParams: {
2259
- __typename: 'ContractParameters';
2260
- contractMaxSize: string;
2261
- maxStorageSlots: string;
2262
- };
2263
- feeParams: {
2264
- __typename: 'FeeParameters';
2265
- gasPriceFactor: string;
2266
- gasPerByte: string;
2267
- };
2268
- gasCosts: {
2269
- __typename: 'GasCosts';
2270
- add: string;
2271
- addi: string;
2272
- aloc: string;
2273
- and: string;
2274
- andi: string;
2275
- bal: string;
2276
- bhei: string;
2277
- bhsh: string;
2278
- burn: string;
2279
- cb: string;
2280
- cfei: string;
2281
- cfsi: string;
2282
- croo: string;
2283
- div: string;
2284
- divi: string;
2285
- ecr1: string;
2286
- eck1: string;
2287
- ed19: string;
2288
- eq: string;
2289
- exp: string;
2290
- expi: string;
2291
- flag: string;
2292
- gm: string;
2293
- gt: string;
2294
- gtf: string;
2295
- ji: string;
2296
- jmp: string;
2297
- jne: string;
2298
- jnei: string;
2299
- jnzi: string;
2300
- jmpf: string;
2301
- jmpb: string;
2302
- jnzf: string;
2303
- jnzb: string;
2304
- jnef: string;
2305
- jneb: string;
2306
- lb: string;
2307
- log: string;
2308
- lt: string;
2309
- lw: string;
2310
- mint: string;
2311
- mlog: string;
2312
- modOp: string;
2313
- modi: string;
2314
- moveOp: string;
2315
- movi: string;
2316
- mroo: string;
2317
- mul: string;
2318
- muli: string;
2319
- mldv: string;
2320
- noop: string;
2321
- not: string;
2322
- or: string;
2323
- ori: string;
2324
- poph: string;
2325
- popl: string;
2326
- pshh: string;
2327
- pshl: string;
2328
- ret: string;
2329
- rvrt: string;
2330
- sb: string;
2331
- sll: string;
2332
- slli: string;
2333
- srl: string;
2334
- srli: string;
2335
- srw: string;
2336
- sub: string;
2337
- subi: string;
2338
- sw: string;
2339
- sww: string;
2340
- time: string;
2341
- tr: string;
2342
- tro: string;
2343
- wdcm: string;
2344
- wqcm: string;
2345
- wdop: string;
2346
- wqop: string;
2347
- wdml: string;
2348
- wqml: string;
2349
- wddv: string;
2350
- wqdv: string;
2351
- wdmd: string;
2352
- wqmd: string;
2353
- wdam: string;
2354
- wqam: string;
2355
- wdmm: string;
2356
- wqmm: string;
2357
- xor: string;
2358
- xori: string;
2359
- newStoragePerByte: string;
2360
- call: {
2361
- __typename: 'HeavyOperation';
2362
- base: string;
2363
- gasPerUnit: string;
2364
- } | {
2365
- __typename: 'LightOperation';
2366
- base: string;
2367
- unitsPerGas: string;
2368
- };
2369
- ccp: {
2370
- __typename: 'HeavyOperation';
2371
- base: string;
2372
- gasPerUnit: string;
2373
- } | {
2374
- __typename: 'LightOperation';
2375
- base: string;
2376
- unitsPerGas: string;
2377
- };
2378
- csiz: {
2379
- __typename: 'HeavyOperation';
2380
- base: string;
2381
- gasPerUnit: string;
2382
- } | {
2383
- __typename: 'LightOperation';
2384
- base: string;
2385
- unitsPerGas: string;
2386
- };
2387
- k256: {
2388
- __typename: 'HeavyOperation';
2389
- base: string;
2390
- gasPerUnit: string;
2391
- } | {
2392
- __typename: 'LightOperation';
2393
- base: string;
2394
- unitsPerGas: string;
2395
- };
2396
- ldc: {
2397
- __typename: 'HeavyOperation';
2398
- base: string;
2399
- gasPerUnit: string;
2400
- } | {
2401
- __typename: 'LightOperation';
2402
- base: string;
2403
- unitsPerGas: string;
2404
- };
2405
- logd: {
2406
- __typename: 'HeavyOperation';
2407
- base: string;
2408
- gasPerUnit: string;
2409
- } | {
2410
- __typename: 'LightOperation';
2411
- base: string;
2412
- unitsPerGas: string;
2413
- };
2414
- mcl: {
2415
- __typename: 'HeavyOperation';
2416
- base: string;
2417
- gasPerUnit: string;
2418
- } | {
2419
- __typename: 'LightOperation';
2420
- base: string;
2421
- unitsPerGas: string;
2422
- };
2423
- mcli: {
2424
- __typename: 'HeavyOperation';
2425
- base: string;
2426
- gasPerUnit: string;
2427
- } | {
2428
- __typename: 'LightOperation';
2429
- base: string;
2430
- unitsPerGas: string;
2431
- };
2432
- mcp: {
2433
- __typename: 'HeavyOperation';
2434
- base: string;
2435
- gasPerUnit: string;
2436
- } | {
2437
- __typename: 'LightOperation';
2438
- base: string;
2439
- unitsPerGas: string;
2440
- };
2441
- mcpi: {
2442
- __typename: 'HeavyOperation';
2443
- base: string;
2444
- gasPerUnit: string;
2445
- } | {
2446
- __typename: 'LightOperation';
2447
- base: string;
2448
- unitsPerGas: string;
2449
- };
2450
- meq: {
2451
- __typename: 'HeavyOperation';
2452
- base: string;
2453
- gasPerUnit: string;
2454
- } | {
2455
- __typename: 'LightOperation';
2456
- base: string;
2457
- unitsPerGas: string;
2458
- };
2459
- retd: {
2460
- __typename: 'HeavyOperation';
2461
- base: string;
2462
- gasPerUnit: string;
2463
- } | {
2464
- __typename: 'LightOperation';
2465
- base: string;
2466
- unitsPerGas: string;
2467
- };
2468
- s256: {
2469
- __typename: 'HeavyOperation';
2470
- base: string;
2471
- gasPerUnit: string;
2472
- } | {
2473
- __typename: 'LightOperation';
2474
- base: string;
2475
- unitsPerGas: string;
2476
- };
2477
- scwq: {
2478
- __typename: 'HeavyOperation';
2479
- base: string;
2480
- gasPerUnit: string;
2481
- } | {
2482
- __typename: 'LightOperation';
2483
- base: string;
2484
- unitsPerGas: string;
2485
- };
2486
- smo: {
2487
- __typename: 'HeavyOperation';
2488
- base: string;
2489
- gasPerUnit: string;
2490
- } | {
2491
- __typename: 'LightOperation';
2492
- base: string;
2493
- unitsPerGas: string;
2494
- };
2495
- srwq: {
2496
- __typename: 'HeavyOperation';
2497
- base: string;
2498
- gasPerUnit: string;
2499
- } | {
2500
- __typename: 'LightOperation';
2501
- base: string;
2502
- unitsPerGas: string;
2503
- };
2504
- swwq: {
2505
- __typename: 'HeavyOperation';
2506
- base: string;
2507
- gasPerUnit: string;
2508
- } | {
2509
- __typename: 'LightOperation';
2510
- base: string;
2511
- unitsPerGas: string;
2512
- };
2513
- contractRoot: {
2514
- __typename: 'HeavyOperation';
2515
- base: string;
2516
- gasPerUnit: string;
2517
- } | {
2518
- __typename: 'LightOperation';
2519
- base: string;
2520
- unitsPerGas: string;
2521
- };
2522
- stateRoot: {
2523
- __typename: 'HeavyOperation';
2524
- base: string;
2525
- gasPerUnit: string;
2526
- } | {
2527
- __typename: 'LightOperation';
2528
- base: string;
2529
- unitsPerGas: string;
2530
- };
2531
- vmInitialization: {
2532
- __typename: 'HeavyOperation';
2533
- base: string;
2534
- gasPerUnit: string;
2535
- } | {
2536
- __typename: 'LightOperation';
2537
- base: string;
2538
- unitsPerGas: string;
2539
- };
2540
- };
2541
- };
2542
- };
2543
- };
2544
- export type GqlGetTransactionQueryVariables = Exact<{
2545
- transactionId: Scalars['TransactionId'];
2546
- }>;
2547
- export type GqlGetTransactionQuery = {
2548
- __typename: 'Query';
2549
- transaction?: {
2550
- __typename: 'Transaction';
2551
- id: string;
2552
- rawPayload: string;
2553
- gasPrice?: string | null;
2554
- receipts?: Array<{
2555
- __typename: 'Receipt';
2556
- pc?: string | null;
2557
- is?: string | null;
2558
- toAddress?: string | null;
2559
- amount?: string | null;
2560
- assetId?: string | null;
2561
- gas?: string | null;
2562
- param1?: string | null;
2563
- param2?: string | null;
2564
- val?: string | null;
2565
- ptr?: string | null;
2566
- digest?: string | null;
2567
- reason?: string | null;
2568
- ra?: string | null;
2569
- rb?: string | null;
2570
- rc?: string | null;
2571
- rd?: string | null;
2572
- len?: string | null;
2573
- receiptType: GqlReceiptType;
2574
- result?: string | null;
2575
- gasUsed?: string | null;
2576
- data?: string | null;
2577
- sender?: string | null;
2578
- recipient?: string | null;
2579
- nonce?: string | null;
2580
- contractId?: string | null;
2581
- subId?: string | null;
2582
- contract?: {
2583
- __typename: 'Contract';
2584
- id: string;
2585
- } | null;
2586
- to?: {
2587
- __typename: 'Contract';
2588
- id: string;
2589
- } | null;
2590
- }> | null;
2591
- status?: {
2592
- __typename: 'FailureStatus';
2593
- time: string;
2594
- reason: string;
2595
- type: 'FailureStatus';
2596
- block: {
2597
- __typename: 'Block';
2598
- id: string;
2599
- };
2600
- } | {
2601
- __typename: 'SqueezedOutStatus';
2602
- reason: string;
2603
- type: 'SqueezedOutStatus';
2604
- } | {
2605
- __typename: 'SubmittedStatus';
2606
- time: string;
2607
- type: 'SubmittedStatus';
2608
- } | {
2609
- __typename: 'SuccessStatus';
2610
- time: string;
2611
- type: 'SuccessStatus';
2612
- block: {
2613
- __typename: 'Block';
2614
- id: string;
2615
- };
2616
- programState?: {
2617
- __typename: 'ProgramState';
2618
- returnType: GqlReturnType;
2619
- data: string;
2620
- } | null;
2621
- } | null;
2622
- } | null;
2623
- };
2624
- export type GqlGetTransactionWithReceiptsQueryVariables = Exact<{
2625
- transactionId: Scalars['TransactionId'];
2626
- }>;
2627
- export type GqlGetTransactionWithReceiptsQuery = {
2628
- __typename: 'Query';
2629
- transaction?: {
2630
- __typename: 'Transaction';
2631
- id: string;
2632
- rawPayload: string;
2633
- gasPrice?: string | null;
2634
- receipts?: Array<{
2635
- __typename: 'Receipt';
2636
- pc?: string | null;
2637
- is?: string | null;
2638
- toAddress?: string | null;
2639
- amount?: string | null;
2640
- assetId?: string | null;
2641
- gas?: string | null;
2642
- param1?: string | null;
2643
- param2?: string | null;
2644
- val?: string | null;
2645
- ptr?: string | null;
2646
- digest?: string | null;
2647
- reason?: string | null;
2648
- ra?: string | null;
2649
- rb?: string | null;
2650
- rc?: string | null;
2651
- rd?: string | null;
2652
- len?: string | null;
2653
- receiptType: GqlReceiptType;
2654
- result?: string | null;
2655
- gasUsed?: string | null;
2656
- data?: string | null;
2657
- sender?: string | null;
2658
- recipient?: string | null;
2659
- nonce?: string | null;
2660
- contractId?: string | null;
2661
- subId?: string | null;
2662
- contract?: {
2663
- __typename: 'Contract';
2664
- id: string;
2665
- } | null;
2666
- to?: {
2667
- __typename: 'Contract';
2668
- id: string;
2669
- } | null;
2670
- }> | null;
2671
- status?: {
2672
- __typename: 'FailureStatus';
2673
- time: string;
2674
- reason: string;
2675
- type: 'FailureStatus';
2676
- block: {
2677
- __typename: 'Block';
2678
- id: string;
2679
- };
2680
- } | {
2681
- __typename: 'SqueezedOutStatus';
2682
- reason: string;
2683
- type: 'SqueezedOutStatus';
2684
- } | {
2685
- __typename: 'SubmittedStatus';
2686
- time: string;
2687
- type: 'SubmittedStatus';
2688
- } | {
2689
- __typename: 'SuccessStatus';
2690
- time: string;
2691
- type: 'SuccessStatus';
2692
- block: {
2693
- __typename: 'Block';
2694
- id: string;
2695
- };
2696
- programState?: {
2697
- __typename: 'ProgramState';
2698
- returnType: GqlReturnType;
2699
- data: string;
2700
- } | null;
2701
- } | null;
2702
- } | null;
2703
- };
2704
- export type GqlGetTransactionsQueryVariables = Exact<{
2705
- after?: InputMaybe<Scalars['String']>;
2706
- before?: InputMaybe<Scalars['String']>;
2707
- first?: InputMaybe<Scalars['Int']>;
2708
- last?: InputMaybe<Scalars['Int']>;
2709
- }>;
2710
- export type GqlGetTransactionsQuery = {
2711
- __typename: 'Query';
2712
- transactions: {
2713
- __typename: 'TransactionConnection';
2714
- edges: Array<{
2715
- __typename: 'TransactionEdge';
2716
- node: {
2717
- __typename: 'Transaction';
2718
- id: string;
2719
- rawPayload: string;
2720
- gasPrice?: string | null;
2721
- receipts?: Array<{
2722
- __typename: 'Receipt';
2723
- pc?: string | null;
2724
- is?: string | null;
2725
- toAddress?: string | null;
2726
- amount?: string | null;
2727
- assetId?: string | null;
2728
- gas?: string | null;
2729
- param1?: string | null;
2730
- param2?: string | null;
2731
- val?: string | null;
2732
- ptr?: string | null;
2733
- digest?: string | null;
2734
- reason?: string | null;
2735
- ra?: string | null;
2736
- rb?: string | null;
2737
- rc?: string | null;
2738
- rd?: string | null;
2739
- len?: string | null;
2740
- receiptType: GqlReceiptType;
2741
- result?: string | null;
2742
- gasUsed?: string | null;
2743
- data?: string | null;
2744
- sender?: string | null;
2745
- recipient?: string | null;
2746
- nonce?: string | null;
2747
- contractId?: string | null;
2748
- subId?: string | null;
2749
- contract?: {
2750
- __typename: 'Contract';
2751
- id: string;
2752
- } | null;
2753
- to?: {
2754
- __typename: 'Contract';
2755
- id: string;
2756
- } | null;
2757
- }> | null;
2758
- status?: {
2759
- __typename: 'FailureStatus';
2760
- time: string;
2761
- reason: string;
2762
- type: 'FailureStatus';
2763
- block: {
2764
- __typename: 'Block';
2765
- id: string;
2766
- };
2767
- } | {
2768
- __typename: 'SqueezedOutStatus';
2769
- reason: string;
2770
- type: 'SqueezedOutStatus';
2771
- } | {
2772
- __typename: 'SubmittedStatus';
2773
- time: string;
2774
- type: 'SubmittedStatus';
2775
- } | {
2776
- __typename: 'SuccessStatus';
2777
- time: string;
2778
- type: 'SuccessStatus';
2779
- block: {
2780
- __typename: 'Block';
2781
- id: string;
2782
- };
2783
- programState?: {
2784
- __typename: 'ProgramState';
2785
- returnType: GqlReturnType;
2786
- data: string;
2787
- } | null;
2788
- } | null;
2789
- };
2790
- }>;
2791
- };
2792
- };
2793
- export type GqlGetTransactionsByOwnerQueryVariables = Exact<{
2794
- owner: Scalars['Address'];
2795
- after?: InputMaybe<Scalars['String']>;
2796
- before?: InputMaybe<Scalars['String']>;
2797
- first?: InputMaybe<Scalars['Int']>;
2798
- last?: InputMaybe<Scalars['Int']>;
2799
- }>;
2800
- export type GqlGetTransactionsByOwnerQuery = {
2801
- __typename: 'Query';
2802
- transactionsByOwner: {
2803
- __typename: 'TransactionConnection';
2804
- pageInfo: {
2805
- __typename: 'PageInfo';
2806
- hasPreviousPage: boolean;
2807
- hasNextPage: boolean;
2808
- startCursor?: string | null;
2809
- endCursor?: string | null;
2810
- };
2811
- edges: Array<{
2812
- __typename: 'TransactionEdge';
2813
- node: {
2814
- __typename: 'Transaction';
2815
- id: string;
2816
- rawPayload: string;
2817
- gasPrice?: string | null;
2818
- receipts?: Array<{
2819
- __typename: 'Receipt';
2820
- pc?: string | null;
2821
- is?: string | null;
2822
- toAddress?: string | null;
2823
- amount?: string | null;
2824
- assetId?: string | null;
2825
- gas?: string | null;
2826
- param1?: string | null;
2827
- param2?: string | null;
2828
- val?: string | null;
2829
- ptr?: string | null;
2830
- digest?: string | null;
2831
- reason?: string | null;
2832
- ra?: string | null;
2833
- rb?: string | null;
2834
- rc?: string | null;
2835
- rd?: string | null;
2836
- len?: string | null;
2837
- receiptType: GqlReceiptType;
2838
- result?: string | null;
2839
- gasUsed?: string | null;
2840
- data?: string | null;
2841
- sender?: string | null;
2842
- recipient?: string | null;
2843
- nonce?: string | null;
2844
- contractId?: string | null;
2845
- subId?: string | null;
2846
- contract?: {
2847
- __typename: 'Contract';
2848
- id: string;
2849
- } | null;
2850
- to?: {
2851
- __typename: 'Contract';
2852
- id: string;
2853
- } | null;
2854
- }> | null;
2855
- status?: {
2856
- __typename: 'FailureStatus';
2857
- time: string;
2858
- reason: string;
2859
- type: 'FailureStatus';
2860
- block: {
2861
- __typename: 'Block';
2862
- id: string;
2863
- };
2864
- } | {
2865
- __typename: 'SqueezedOutStatus';
2866
- reason: string;
2867
- type: 'SqueezedOutStatus';
2868
- } | {
2869
- __typename: 'SubmittedStatus';
2870
- time: string;
2871
- type: 'SubmittedStatus';
2872
- } | {
2873
- __typename: 'SuccessStatus';
2874
- time: string;
2875
- type: 'SuccessStatus';
2876
- block: {
2877
- __typename: 'Block';
2878
- id: string;
2879
- };
2880
- programState?: {
2881
- __typename: 'ProgramState';
2882
- returnType: GqlReturnType;
2883
- data: string;
2884
- } | null;
2885
- } | null;
2886
- };
2887
- }>;
2888
- };
2889
- };
2890
- export type GqlEstimatePredicatesQueryVariables = Exact<{
2891
- encodedTransaction: Scalars['HexString'];
2892
- }>;
2893
- export type GqlEstimatePredicatesQuery = {
2894
- __typename: 'Query';
2895
- estimatePredicates: {
2896
- __typename: 'Transaction';
2897
- inputs?: Array<{
2898
- __typename: 'InputCoin';
2899
- predicateGasUsed: string;
2900
- } | {
2901
- __typename: 'InputContract';
2902
- } | {
2903
- __typename: 'InputMessage';
2904
- predicateGasUsed: string;
2905
- }> | null;
2906
- };
2907
- };
2908
- export type GqlGetBlockQueryVariables = Exact<{
2909
- blockId?: InputMaybe<Scalars['BlockId']>;
2910
- height?: InputMaybe<Scalars['U32']>;
2911
- }>;
2912
- export type GqlGetBlockQuery = {
2913
- __typename: 'Query';
2914
- block?: {
2915
- __typename: 'Block';
2916
- id: string;
2917
- header: {
2918
- __typename: 'Header';
2919
- height: any;
2920
- time: string;
2921
- };
2922
- transactions: Array<{
2923
- __typename: 'Transaction';
2924
- id: string;
2925
- }>;
2926
- } | null;
2927
- };
2928
- export type GqlGetBlockWithTransactionsQueryVariables = Exact<{
2929
- blockId?: InputMaybe<Scalars['BlockId']>;
2930
- blockHeight?: InputMaybe<Scalars['U32']>;
2931
- }>;
2932
- export type GqlGetBlockWithTransactionsQuery = {
2933
- __typename: 'Query';
2934
- block?: {
2935
- __typename: 'Block';
2936
- id: string;
2937
- transactions: Array<{
2938
- __typename: 'Transaction';
2939
- id: string;
2940
- rawPayload: string;
2941
- gasPrice?: string | null;
2942
- receipts?: Array<{
2943
- __typename: 'Receipt';
2944
- pc?: string | null;
2945
- is?: string | null;
2946
- toAddress?: string | null;
2947
- amount?: string | null;
2948
- assetId?: string | null;
2949
- gas?: string | null;
2950
- param1?: string | null;
2951
- param2?: string | null;
2952
- val?: string | null;
2953
- ptr?: string | null;
2954
- digest?: string | null;
2955
- reason?: string | null;
2956
- ra?: string | null;
2957
- rb?: string | null;
2958
- rc?: string | null;
2959
- rd?: string | null;
2960
- len?: string | null;
2961
- receiptType: GqlReceiptType;
2962
- result?: string | null;
2963
- gasUsed?: string | null;
2964
- data?: string | null;
2965
- sender?: string | null;
2966
- recipient?: string | null;
2967
- nonce?: string | null;
2968
- contractId?: string | null;
2969
- subId?: string | null;
2970
- contract?: {
2971
- __typename: 'Contract';
2972
- id: string;
2973
- } | null;
2974
- to?: {
2975
- __typename: 'Contract';
2976
- id: string;
2977
- } | null;
2978
- }> | null;
2979
- status?: {
2980
- __typename: 'FailureStatus';
2981
- time: string;
2982
- reason: string;
2983
- type: 'FailureStatus';
2984
- block: {
2985
- __typename: 'Block';
2986
- id: string;
2987
- };
2988
- } | {
2989
- __typename: 'SqueezedOutStatus';
2990
- reason: string;
2991
- type: 'SqueezedOutStatus';
2992
- } | {
2993
- __typename: 'SubmittedStatus';
2994
- time: string;
2995
- type: 'SubmittedStatus';
2996
- } | {
2997
- __typename: 'SuccessStatus';
2998
- time: string;
2999
- type: 'SuccessStatus';
3000
- block: {
3001
- __typename: 'Block';
3002
- id: string;
3003
- };
3004
- programState?: {
3005
- __typename: 'ProgramState';
3006
- returnType: GqlReturnType;
3007
- data: string;
3008
- } | null;
3009
- } | null;
3010
- }>;
3011
- header: {
3012
- __typename: 'Header';
3013
- height: any;
3014
- time: string;
3015
- };
3016
- } | null;
3017
- };
3018
- export type GqlGetBlocksQueryVariables = Exact<{
3019
- after?: InputMaybe<Scalars['String']>;
3020
- before?: InputMaybe<Scalars['String']>;
3021
- first?: InputMaybe<Scalars['Int']>;
3022
- last?: InputMaybe<Scalars['Int']>;
3023
- }>;
3024
- export type GqlGetBlocksQuery = {
3025
- __typename: 'Query';
3026
- blocks: {
3027
- __typename: 'BlockConnection';
3028
- edges: Array<{
3029
- __typename: 'BlockEdge';
3030
- node: {
3031
- __typename: 'Block';
3032
- id: string;
3033
- header: {
3034
- __typename: 'Header';
3035
- height: any;
3036
- time: string;
3037
- };
3038
- transactions: Array<{
3039
- __typename: 'Transaction';
3040
- id: string;
3041
- }>;
3042
- };
3043
- }>;
3044
- };
3045
- };
3046
- export type GqlGetCoinQueryVariables = Exact<{
3047
- coinId: Scalars['UtxoId'];
3048
- }>;
3049
- export type GqlGetCoinQuery = {
3050
- __typename: 'Query';
3051
- coin?: {
3052
- __typename: 'Coin';
3053
- utxoId: string;
3054
- owner: string;
3055
- amount: string;
3056
- assetId: string;
3057
- maturity: any;
3058
- blockCreated: any;
3059
- txCreatedIdx: string;
3060
- } | null;
3061
- };
3062
- export type GqlGetCoinsQueryVariables = Exact<{
3063
- filter: GqlCoinFilterInput;
3064
- after?: InputMaybe<Scalars['String']>;
3065
- before?: InputMaybe<Scalars['String']>;
3066
- first?: InputMaybe<Scalars['Int']>;
3067
- last?: InputMaybe<Scalars['Int']>;
3068
- }>;
3069
- export type GqlGetCoinsQuery = {
3070
- __typename: 'Query';
3071
- coins: {
3072
- __typename: 'CoinConnection';
3073
- edges: Array<{
3074
- __typename: 'CoinEdge';
3075
- node: {
3076
- __typename: 'Coin';
3077
- utxoId: string;
3078
- owner: string;
3079
- amount: string;
3080
- assetId: string;
3081
- maturity: any;
3082
- blockCreated: any;
3083
- txCreatedIdx: string;
3084
- };
3085
- }>;
3086
- };
3087
- };
3088
- export type GqlGetCoinsToSpendQueryVariables = Exact<{
3089
- owner: Scalars['Address'];
3090
- queryPerAsset: Array<GqlSpendQueryElementInput> | GqlSpendQueryElementInput;
3091
- excludedIds?: InputMaybe<GqlExcludeInput>;
3092
- }>;
3093
- export type GqlGetCoinsToSpendQuery = {
3094
- __typename: 'Query';
3095
- coinsToSpend: Array<Array<{
3096
- __typename: 'Coin';
3097
- utxoId: string;
3098
- owner: string;
3099
- amount: string;
3100
- assetId: string;
3101
- maturity: any;
3102
- blockCreated: any;
3103
- txCreatedIdx: string;
3104
- } | {
3105
- __typename: 'MessageCoin';
3106
- sender: string;
3107
- recipient: string;
3108
- nonce: string;
3109
- amount: string;
3110
- assetId: string;
3111
- daHeight: string;
3112
- }>>;
3113
- };
3114
- export type GqlGetContractQueryVariables = Exact<{
3115
- contractId: Scalars['ContractId'];
3116
- }>;
3117
- export type GqlGetContractQuery = {
3118
- __typename: 'Query';
3119
- contract?: {
3120
- __typename: 'Contract';
3121
- bytecode: string;
3122
- id: string;
3123
- } | null;
3124
- };
3125
- export type GqlGetContractBalanceQueryVariables = Exact<{
3126
- contract: Scalars['ContractId'];
3127
- asset: Scalars['AssetId'];
3128
- }>;
3129
- export type GqlGetContractBalanceQuery = {
3130
- __typename: 'Query';
3131
- contractBalance: {
3132
- __typename: 'ContractBalance';
3133
- contract: string;
3134
- amount: string;
3135
- assetId: string;
3136
- };
3137
- };
3138
- export type GqlGetBalanceQueryVariables = Exact<{
3139
- owner: Scalars['Address'];
3140
- assetId: Scalars['AssetId'];
3141
- }>;
3142
- export type GqlGetBalanceQuery = {
3143
- __typename: 'Query';
3144
- balance: {
3145
- __typename: 'Balance';
3146
- owner: string;
3147
- amount: string;
3148
- assetId: string;
3149
- };
3150
- };
3151
- export type GqlGetBalancesQueryVariables = Exact<{
3152
- filter: GqlBalanceFilterInput;
3153
- after?: InputMaybe<Scalars['String']>;
3154
- before?: InputMaybe<Scalars['String']>;
3155
- first?: InputMaybe<Scalars['Int']>;
3156
- last?: InputMaybe<Scalars['Int']>;
3157
- }>;
3158
- export type GqlGetBalancesQuery = {
3159
- __typename: 'Query';
3160
- balances: {
3161
- __typename: 'BalanceConnection';
3162
- edges: Array<{
3163
- __typename: 'BalanceEdge';
3164
- node: {
3165
- __typename: 'Balance';
3166
- owner: string;
3167
- amount: string;
3168
- assetId: string;
3169
- };
3170
- }>;
3171
- };
3172
- };
3173
- export type GqlGetMessagesQueryVariables = Exact<{
3174
- owner: Scalars['Address'];
3175
- after?: InputMaybe<Scalars['String']>;
3176
- before?: InputMaybe<Scalars['String']>;
3177
- first?: InputMaybe<Scalars['Int']>;
3178
- last?: InputMaybe<Scalars['Int']>;
3179
- }>;
3180
- export type GqlGetMessagesQuery = {
3181
- __typename: 'Query';
3182
- messages: {
3183
- __typename: 'MessageConnection';
3184
- edges: Array<{
3185
- __typename: 'MessageEdge';
3186
- node: {
3187
- __typename: 'Message';
3188
- amount: string;
3189
- sender: string;
3190
- recipient: string;
3191
- data: string;
3192
- nonce: string;
3193
- daHeight: string;
3194
- };
3195
- }>;
3196
- };
3197
- };
3198
- export type GqlGetMessageProofQueryVariables = Exact<{
3199
- transactionId: Scalars['TransactionId'];
3200
- nonce: Scalars['Nonce'];
3201
- commitBlockId?: InputMaybe<Scalars['BlockId']>;
3202
- commitBlockHeight?: InputMaybe<Scalars['U32']>;
3203
- }>;
3204
- export type GqlGetMessageProofQuery = {
3205
- __typename: 'Query';
3206
- messageProof?: {
3207
- __typename: 'MessageProof';
3208
- sender: string;
3209
- recipient: string;
3210
- nonce: string;
3211
- amount: string;
3212
- data: string;
3213
- messageProof: {
3214
- __typename: 'MerkleProof';
3215
- proofSet: Array<string>;
3216
- proofIndex: string;
3217
- };
3218
- blockProof: {
3219
- __typename: 'MerkleProof';
3220
- proofSet: Array<string>;
3221
- proofIndex: string;
3222
- };
3223
- messageBlockHeader: {
3224
- __typename: 'Header';
3225
- id: string;
3226
- daHeight: string;
3227
- transactionsCount: string;
3228
- transactionsRoot: string;
3229
- height: any;
3230
- prevRoot: string;
3231
- time: string;
3232
- applicationHash: string;
3233
- messageReceiptRoot: string;
3234
- messageReceiptCount: string;
3235
- };
3236
- commitBlockHeader: {
3237
- __typename: 'Header';
3238
- id: string;
3239
- daHeight: string;
3240
- transactionsCount: string;
3241
- transactionsRoot: string;
3242
- height: any;
3243
- prevRoot: string;
3244
- time: string;
3245
- applicationHash: string;
3246
- messageReceiptRoot: string;
3247
- messageReceiptCount: string;
3248
- };
3249
- } | null;
3250
- };
3251
- export type GqlGetMessageStatusQueryVariables = Exact<{
3252
- nonce: Scalars['Nonce'];
3253
- }>;
3254
- export type GqlGetMessageStatusQuery = {
3255
- __typename: 'Query';
3256
- messageStatus: {
3257
- __typename: 'MessageStatus';
3258
- state: GqlMessageState;
3259
- };
3260
- };
3261
- export type GqlDryRunMutationVariables = Exact<{
3262
- encodedTransaction: Scalars['HexString'];
3263
- utxoValidation?: InputMaybe<Scalars['Boolean']>;
3264
- }>;
3265
- export type GqlDryRunMutation = {
3266
- __typename: 'Mutation';
3267
- dryRun: Array<{
3268
- __typename: 'Receipt';
3269
- pc?: string | null;
3270
- is?: string | null;
3271
- toAddress?: string | null;
3272
- amount?: string | null;
3273
- assetId?: string | null;
3274
- gas?: string | null;
3275
- param1?: string | null;
3276
- param2?: string | null;
3277
- val?: string | null;
3278
- ptr?: string | null;
3279
- digest?: string | null;
3280
- reason?: string | null;
3281
- ra?: string | null;
3282
- rb?: string | null;
3283
- rc?: string | null;
3284
- rd?: string | null;
3285
- len?: string | null;
3286
- receiptType: GqlReceiptType;
3287
- result?: string | null;
3288
- gasUsed?: string | null;
3289
- data?: string | null;
3290
- sender?: string | null;
3291
- recipient?: string | null;
3292
- nonce?: string | null;
3293
- contractId?: string | null;
3294
- subId?: string | null;
3295
- contract?: {
3296
- __typename: 'Contract';
3297
- id: string;
3298
- } | null;
3299
- to?: {
3300
- __typename: 'Contract';
3301
- id: string;
3302
- } | null;
3303
- }>;
3304
- };
3305
- export type GqlSubmitMutationVariables = Exact<{
3306
- encodedTransaction: Scalars['HexString'];
3307
- }>;
3308
- export type GqlSubmitMutation = {
3309
- __typename: 'Mutation';
3310
- submit: {
3311
- __typename: 'Transaction';
3312
- id: string;
3313
- };
3314
- };
3315
- export type GqlProduceBlocksMutationVariables = Exact<{
3316
- startTimestamp?: InputMaybe<Scalars['Tai64Timestamp']>;
3317
- blocksToProduce: Scalars['U32'];
3318
- }>;
3319
- export type GqlProduceBlocksMutation = {
3320
- __typename: 'Mutation';
3321
- produceBlocks: any;
3322
- };
3323
- export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
3324
- encodedTransaction: Scalars['HexString'];
3325
- }>;
3326
- export type GqlSubmitAndAwaitSubscription = {
3327
- __typename: 'Subscription';
3328
- submitAndAwait: {
3329
- __typename: 'FailureStatus';
3330
- time: string;
3331
- reason: string;
3332
- type: 'FailureStatus';
3333
- block: {
3334
- __typename: 'Block';
3335
- id: string;
3336
- };
3337
- } | {
3338
- __typename: 'SqueezedOutStatus';
3339
- reason: string;
3340
- type: 'SqueezedOutStatus';
3341
- } | {
3342
- __typename: 'SubmittedStatus';
3343
- time: string;
3344
- type: 'SubmittedStatus';
3345
- } | {
3346
- __typename: 'SuccessStatus';
3347
- time: string;
3348
- type: 'SuccessStatus';
3349
- block: {
3350
- __typename: 'Block';
3351
- id: string;
3352
- };
3353
- programState?: {
3354
- __typename: 'ProgramState';
3355
- returnType: GqlReturnType;
3356
- data: string;
3357
- } | null;
3358
- };
3359
- };
3360
- export type GqlStatusChangeSubscriptionVariables = Exact<{
3361
- transactionId: Scalars['TransactionId'];
3362
- }>;
3363
- export type GqlStatusChangeSubscription = {
3364
- __typename: 'Subscription';
3365
- statusChange: {
3366
- __typename: 'FailureStatus';
3367
- time: string;
3368
- reason: string;
3369
- type: 'FailureStatus';
3370
- block: {
3371
- __typename: 'Block';
3372
- id: string;
3373
- };
3374
- } | {
3375
- __typename: 'SqueezedOutStatus';
3376
- reason: string;
3377
- type: 'SqueezedOutStatus';
3378
- } | {
3379
- __typename: 'SubmittedStatus';
3380
- time: string;
3381
- type: 'SubmittedStatus';
3382
- } | {
3383
- __typename: 'SuccessStatus';
3384
- time: string;
3385
- type: 'SuccessStatus';
3386
- block: {
3387
- __typename: 'Block';
3388
- id: string;
3389
- };
3390
- programState?: {
3391
- __typename: 'ProgramState';
3392
- returnType: GqlReturnType;
3393
- data: string;
3394
- } | null;
3395
- };
3396
- };
3397
- export declare const ReceiptFragmentFragmentDoc: DocumentNode;
3398
- export declare const TransactionStatusFragmentFragmentDoc: DocumentNode;
3399
- export declare const TransactionFragmentFragmentDoc: DocumentNode;
3400
- export declare const InputEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3401
- export declare const TransactionEstimatePredicatesFragmentFragmentDoc: DocumentNode;
3402
- export declare const CoinFragmentFragmentDoc: DocumentNode;
3403
- export declare const MessageCoinFragmentFragmentDoc: DocumentNode;
3404
- export declare const MessageFragmentFragmentDoc: DocumentNode;
3405
- export declare const MessageProofFragmentFragmentDoc: DocumentNode;
3406
- export declare const BalanceFragmentFragmentDoc: DocumentNode;
3407
- export declare const BlockFragmentFragmentDoc: DocumentNode;
3408
- export declare const TxParametersFragmentFragmentDoc: DocumentNode;
3409
- export declare const PredicateParametersFragmentFragmentDoc: DocumentNode;
3410
- export declare const ScriptParametersFragmentFragmentDoc: DocumentNode;
3411
- export declare const ContractParametersFragmentFragmentDoc: DocumentNode;
3412
- export declare const FeeParametersFragmentFragmentDoc: DocumentNode;
3413
- export declare const DependentCostFragmentFragmentDoc: DocumentNode;
3414
- export declare const GasCostsFragmentFragmentDoc: DocumentNode;
3415
- export declare const ConsensusParametersFragmentFragmentDoc: DocumentNode;
3416
- export declare const ChainInfoFragmentFragmentDoc: DocumentNode;
3417
- export declare const ContractBalanceFragmentFragmentDoc: DocumentNode;
3418
- export declare const PageInfoFragmentFragmentDoc: DocumentNode;
3419
- export declare const NodeInfoFragmentFragmentDoc: DocumentNode;
3420
- export declare const GetVersionDocument: DocumentNode;
3421
- export declare const GetNodeInfoDocument: DocumentNode;
3422
- export declare const GetChainDocument: DocumentNode;
3423
- export declare const GetTransactionDocument: DocumentNode;
3424
- export declare const GetTransactionWithReceiptsDocument: DocumentNode;
3425
- export declare const GetTransactionsDocument: DocumentNode;
3426
- export declare const GetTransactionsByOwnerDocument: DocumentNode;
3427
- export declare const EstimatePredicatesDocument: DocumentNode;
3428
- export declare const GetBlockDocument: DocumentNode;
3429
- export declare const GetBlockWithTransactionsDocument: DocumentNode;
3430
- export declare const GetBlocksDocument: DocumentNode;
3431
- export declare const GetCoinDocument: DocumentNode;
3432
- export declare const GetCoinsDocument: DocumentNode;
3433
- export declare const GetCoinsToSpendDocument: DocumentNode;
3434
- export declare const GetContractDocument: DocumentNode;
3435
- export declare const GetContractBalanceDocument: DocumentNode;
3436
- export declare const GetBalanceDocument: DocumentNode;
3437
- export declare const GetBalancesDocument: DocumentNode;
3438
- export declare const GetMessagesDocument: DocumentNode;
3439
- export declare const GetMessageProofDocument: DocumentNode;
3440
- export declare const GetMessageStatusDocument: DocumentNode;
3441
- export declare const DryRunDocument: DocumentNode;
3442
- export declare const SubmitDocument: DocumentNode;
3443
- export declare const ProduceBlocksDocument: DocumentNode;
3444
- export declare const SubmitAndAwaitDocument: DocumentNode;
3445
- export declare const StatusChangeDocument: DocumentNode;
3446
- export type Requester<C = {}, E = unknown> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
3447
- export declare function getSdk<C, E>(requester: Requester<C, E>): {
3448
- getVersion(variables?: GqlGetVersionQueryVariables, options?: C): Promise<GqlGetVersionQuery>;
3449
- getNodeInfo(variables?: GqlGetNodeInfoQueryVariables, options?: C): Promise<GqlGetNodeInfoQuery>;
3450
- getChain(variables?: GqlGetChainQueryVariables, options?: C): Promise<GqlGetChainQuery>;
3451
- getTransaction(variables: GqlGetTransactionQueryVariables, options?: C): Promise<GqlGetTransactionQuery>;
3452
- getTransactionWithReceipts(variables: GqlGetTransactionWithReceiptsQueryVariables, options?: C): Promise<GqlGetTransactionWithReceiptsQuery>;
3453
- getTransactions(variables?: GqlGetTransactionsQueryVariables, options?: C): Promise<GqlGetTransactionsQuery>;
3454
- getTransactionsByOwner(variables: GqlGetTransactionsByOwnerQueryVariables, options?: C): Promise<GqlGetTransactionsByOwnerQuery>;
3455
- estimatePredicates(variables: GqlEstimatePredicatesQueryVariables, options?: C): Promise<GqlEstimatePredicatesQuery>;
3456
- getBlock(variables?: GqlGetBlockQueryVariables, options?: C): Promise<GqlGetBlockQuery>;
3457
- getBlockWithTransactions(variables?: GqlGetBlockWithTransactionsQueryVariables, options?: C): Promise<GqlGetBlockWithTransactionsQuery>;
3458
- getBlocks(variables?: GqlGetBlocksQueryVariables, options?: C): Promise<GqlGetBlocksQuery>;
3459
- getCoin(variables: GqlGetCoinQueryVariables, options?: C): Promise<GqlGetCoinQuery>;
3460
- getCoins(variables: GqlGetCoinsQueryVariables, options?: C): Promise<GqlGetCoinsQuery>;
3461
- getCoinsToSpend(variables: GqlGetCoinsToSpendQueryVariables, options?: C): Promise<GqlGetCoinsToSpendQuery>;
3462
- getContract(variables: GqlGetContractQueryVariables, options?: C): Promise<GqlGetContractQuery>;
3463
- getContractBalance(variables: GqlGetContractBalanceQueryVariables, options?: C): Promise<GqlGetContractBalanceQuery>;
3464
- getBalance(variables: GqlGetBalanceQueryVariables, options?: C): Promise<GqlGetBalanceQuery>;
3465
- getBalances(variables: GqlGetBalancesQueryVariables, options?: C): Promise<GqlGetBalancesQuery>;
3466
- getMessages(variables: GqlGetMessagesQueryVariables, options?: C): Promise<GqlGetMessagesQuery>;
3467
- getMessageProof(variables: GqlGetMessageProofQueryVariables, options?: C): Promise<GqlGetMessageProofQuery>;
3468
- getMessageStatus(variables: GqlGetMessageStatusQueryVariables, options?: C): Promise<GqlGetMessageStatusQuery>;
3469
- dryRun(variables: GqlDryRunMutationVariables, options?: C): Promise<GqlDryRunMutation>;
3470
- submit(variables: GqlSubmitMutationVariables, options?: C): Promise<GqlSubmitMutation>;
3471
- produceBlocks(variables: GqlProduceBlocksMutationVariables, options?: C): Promise<GqlProduceBlocksMutation>;
3472
- submitAndAwait(variables: GqlSubmitAndAwaitSubscriptionVariables, options?: C): AsyncIterable<GqlSubmitAndAwaitSubscription>;
3473
- statusChange(variables: GqlStatusChangeSubscriptionVariables, options?: C): AsyncIterable<GqlStatusChangeSubscription>;
3474
- };
3475
- export type Sdk = ReturnType<typeof getSdk>;
3476
- export {};
3477
- //# sourceMappingURL=operations.d.ts.map