@ocap/client 1.28.6 → 1.28.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/base.js +1 -3
- package/dist/base.js.map +1 -1
- package/dist/browser.d.ts +270 -175
- package/dist/bundle.js +1 -1
- package/dist/extension.js +0 -8
- package/dist/extension.js.map +1 -1
- package/dist/lite.js +0 -1
- package/dist/lite.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/report.html +2 -2
- package/docs/QUERIES.md +2 -2
- package/docs/README.md +2 -2
- package/docs/api-reference-client-methods.ja.md +6 -1
- package/docs/api-reference-client-methods.md +5 -0
- package/docs/api-reference-client-methods.zh-TW.md +6 -1
- package/docs/api-reference-client-methods.zh.md +6 -1
- package/docs/api-reference-data-types.ja.md +6 -1
- package/docs/api-reference-data-types.md +6 -1
- package/docs/api-reference-data-types.zh-TW.md +6 -1
- package/docs/api-reference-data-types.zh.md +6 -1
- package/docs/api-reference-low-level-api.ja.md +9 -5
- package/docs/api-reference-low-level-api.md +9 -5
- package/docs/api-reference-low-level-api.zh-TW.md +9 -5
- package/docs/api-reference-low-level-api.zh.md +9 -5
- package/docs/api-reference-query-mutation-methods.ja.md +5 -3
- package/docs/api-reference-query-mutation-methods.md +4 -2
- package/docs/api-reference-query-mutation-methods.zh-TW.md +5 -3
- package/docs/api-reference-query-mutation-methods.zh.md +5 -3
- package/docs/api-reference-transaction-helpers.ja.md +6 -1
- package/docs/api-reference-transaction-helpers.md +5 -0
- package/docs/api-reference-transaction-helpers.zh-TW.md +6 -1
- package/docs/api-reference-transaction-helpers.zh.md +6 -1
- package/docs/api-reference.ja.md +1 -1
- package/docs/api-reference.md +1 -1
- package/docs/api-reference.zh-TW.md +1 -1
- package/docs/api-reference.zh.md +1 -1
- package/docs/core-concepts-client-architecture.ja.md +16 -11
- package/docs/core-concepts-client-architecture.md +16 -11
- package/docs/core-concepts-client-architecture.zh-TW.md +16 -11
- package/docs/core-concepts-client-architecture.zh.md +16 -11
- package/docs/core-concepts-event-subscriptions.ja.md +12 -7
- package/docs/core-concepts-event-subscriptions.md +12 -7
- package/docs/core-concepts-event-subscriptions.zh-TW.md +12 -7
- package/docs/core-concepts-event-subscriptions.zh.md +12 -7
- package/docs/core-concepts-gas-payment.ja.md +7 -3
- package/docs/core-concepts-gas-payment.md +7 -3
- package/docs/core-concepts-gas-payment.zh-TW.md +7 -3
- package/docs/core-concepts-gas-payment.zh.md +7 -3
- package/docs/core-concepts-transaction-lifecycle.ja.md +15 -7
- package/docs/core-concepts-transaction-lifecycle.md +15 -7
- package/docs/core-concepts-transaction-lifecycle.zh-TW.md +15 -7
- package/docs/core-concepts-transaction-lifecycle.zh.md +15 -7
- package/docs/core-concepts.ja.md +1 -1
- package/docs/core-concepts.md +1 -1
- package/docs/core-concepts.zh-TW.md +1 -1
- package/docs/core-concepts.zh.md +1 -1
- package/docs/getting-started-basic-usage.ja.md +6 -1
- package/docs/getting-started-basic-usage.md +6 -1
- package/docs/getting-started-basic-usage.zh-TW.md +6 -1
- package/docs/getting-started-basic-usage.zh.md +6 -1
- package/docs/getting-started-installation.ja.md +7 -3
- package/docs/getting-started-installation.md +7 -3
- package/docs/getting-started-installation.zh-TW.md +7 -3
- package/docs/getting-started-installation.zh.md +7 -3
- package/docs/getting-started.ja.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/getting-started.zh-TW.md +1 -1
- package/docs/getting-started.zh.md +1 -1
- package/docs/how-to-guides-delegate-permissions.ja.md +4 -1
- package/docs/how-to-guides-delegate-permissions.md +3 -0
- package/docs/how-to-guides-delegate-permissions.zh-TW.md +4 -1
- package/docs/how-to-guides-delegate-permissions.zh.md +4 -1
- package/docs/how-to-guides-manage-accounts.ja.md +4 -3
- package/docs/how-to-guides-manage-accounts.md +4 -3
- package/docs/how-to-guides-manage-accounts.zh-TW.md +4 -3
- package/docs/how-to-guides-manage-accounts.zh.md +4 -3
- package/docs/how-to-guides-manage-assets.ja.md +6 -2
- package/docs/how-to-guides-manage-assets.md +6 -2
- package/docs/how-to-guides-manage-assets.zh-TW.md +6 -2
- package/docs/how-to-guides-manage-assets.zh.md +6 -2
- package/docs/how-to-guides-manage-tokens.ja.md +8 -1
- package/docs/how-to-guides-manage-tokens.md +8 -1
- package/docs/how-to-guides-manage-tokens.zh-TW.md +8 -1
- package/docs/how-to-guides-manage-tokens.zh.md +8 -1
- package/docs/how-to-guides-stake-tokens-and-assets.ja.md +11 -5
- package/docs/how-to-guides-stake-tokens-and-assets.md +11 -5
- package/docs/how-to-guides-stake-tokens-and-assets.zh-TW.md +11 -5
- package/docs/how-to-guides-stake-tokens-and-assets.zh.md +11 -5
- package/docs/how-to-guides-transfer-tokens-and-nfts.ja.md +8 -6
- package/docs/how-to-guides-transfer-tokens-and-nfts.md +8 -6
- package/docs/how-to-guides-transfer-tokens-and-nfts.zh-TW.md +8 -6
- package/docs/how-to-guides-transfer-tokens-and-nfts.zh.md +8 -6
- package/docs/how-to-guides.ja.md +1 -1
- package/docs/how-to-guides.md +1 -1
- package/docs/how-to-guides.zh-TW.md +1 -1
- package/docs/how-to-guides.zh.md +1 -1
- package/docs/overview.ja.md +5 -3
- package/docs/overview.md +5 -3
- package/docs/overview.zh-TW.md +5 -3
- package/docs/overview.zh.md +5 -3
- package/examples/asset.js +0 -2
- package/examples/create-secondary-token.js +0 -2
- package/examples/declare.js +0 -1
- package/examples/delegate-exchange-both.js +1 -3
- package/examples/delegate-exchange.js +1 -3
- package/examples/delegate-transfer.js +0 -1
- package/examples/exchange-secondary-token.js +0 -2
- package/examples/exchange.js +0 -2
- package/examples/migrate-account.js +0 -1
- package/examples/run-no-debug.sh +0 -0
- package/examples/run.sh +0 -0
- package/examples/subscribe.js +0 -2
- package/examples/transfer-asset.js +0 -2
- package/examples/transfer-primary-token.js +0 -1
- package/examples/transfer-secondary-token.js +0 -2
- package/lib/base.js +1 -3
- package/lib/base.js.map +1 -1
- package/lib/extension.js +0 -8
- package/lib/extension.js.map +1 -1
- package/lib/lite.js +0 -1
- package/lib/lite.js.map +1 -1
- package/lib/module.js +1 -1
- package/lib/module.js.map +1 -1
- package/lib/node.d.ts +270 -175
- package/lib/node.js +1 -1
- package/lib/node.js.map +1 -1
- package/package.json +30 -32
package/lib/node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WalletObject } from
|
|
1
|
+
import { WalletObject } from "@ocap/wallet";
|
|
2
2
|
|
|
3
3
|
type PartialDeep<T> = {
|
|
4
4
|
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
@@ -65,485 +65,580 @@ declare class GraphQLClient {
|
|
|
65
65
|
|
|
66
66
|
sendAccountMigrateTx(
|
|
67
67
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
68
|
-
extra?: any
|
|
68
|
+
extra?: any,
|
|
69
69
|
): Promise<string>;
|
|
70
70
|
sendAcquireAssetV2Tx(
|
|
71
71
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
72
|
-
extra?: any
|
|
72
|
+
extra?: any,
|
|
73
73
|
): Promise<string>;
|
|
74
74
|
sendAcquireAssetV3Tx(
|
|
75
75
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
76
|
-
extra?: any
|
|
76
|
+
extra?: any,
|
|
77
|
+
): Promise<string>;
|
|
78
|
+
sendBurnTokenTx(
|
|
79
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
|
|
80
|
+
extra?: any,
|
|
77
81
|
): Promise<string>;
|
|
78
|
-
sendBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>, extra?: any): Promise<string>;
|
|
79
82
|
sendClaimBlockRewardTx(
|
|
80
83
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
81
|
-
extra?: any
|
|
84
|
+
extra?: any,
|
|
85
|
+
): Promise<string>;
|
|
86
|
+
sendClaimStakeTx(
|
|
87
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
88
|
+
extra?: any,
|
|
82
89
|
): Promise<string>;
|
|
83
|
-
sendClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>, extra?: any): Promise<string>;
|
|
84
90
|
sendCloseRollupTx(
|
|
85
91
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
86
|
-
extra?: any
|
|
92
|
+
extra?: any,
|
|
87
93
|
): Promise<string>;
|
|
88
94
|
sendConsumeAssetTx(
|
|
89
95
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
90
|
-
extra?: any
|
|
96
|
+
extra?: any,
|
|
91
97
|
): Promise<string>;
|
|
92
98
|
sendCreateAssetTx(
|
|
93
99
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
94
|
-
extra?: any
|
|
100
|
+
extra?: any,
|
|
95
101
|
): Promise<string>;
|
|
96
102
|
sendCreateFactoryTx(
|
|
97
103
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
98
|
-
extra?: any
|
|
104
|
+
extra?: any,
|
|
99
105
|
): Promise<string>;
|
|
100
106
|
sendCreateRollupBlockTx(
|
|
101
|
-
param: GraphQLClient.TxParam<
|
|
102
|
-
|
|
107
|
+
param: GraphQLClient.TxParam<
|
|
108
|
+
PartialDeep<GraphQLClient.CreateRollupBlockTx>
|
|
109
|
+
>,
|
|
110
|
+
extra?: any,
|
|
103
111
|
): Promise<string>;
|
|
104
112
|
sendCreateRollupTx(
|
|
105
113
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
106
|
-
extra?: any
|
|
114
|
+
extra?: any,
|
|
107
115
|
): Promise<string>;
|
|
108
116
|
sendCreateTokenFactoryTx(
|
|
109
|
-
param: GraphQLClient.TxParam<
|
|
110
|
-
|
|
117
|
+
param: GraphQLClient.TxParam<
|
|
118
|
+
PartialDeep<GraphQLClient.CreateTokenFactoryTx>
|
|
119
|
+
>,
|
|
120
|
+
extra?: any,
|
|
111
121
|
): Promise<string>;
|
|
112
122
|
sendCreateTokenTx(
|
|
113
123
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
114
|
-
extra?: any
|
|
124
|
+
extra?: any,
|
|
125
|
+
): Promise<string>;
|
|
126
|
+
sendDelegateTx(
|
|
127
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
128
|
+
extra?: any,
|
|
115
129
|
): Promise<string>;
|
|
116
|
-
sendDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>, extra?: any): Promise<string>;
|
|
117
130
|
sendDepositTokenV2Tx(
|
|
118
131
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
119
|
-
extra?: any
|
|
132
|
+
extra?: any,
|
|
133
|
+
): Promise<string>;
|
|
134
|
+
sendExchangeTx(
|
|
135
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
|
|
136
|
+
extra?: any,
|
|
137
|
+
): Promise<string>;
|
|
138
|
+
sendExchangeV2Tx(
|
|
139
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
140
|
+
extra?: any,
|
|
141
|
+
): Promise<string>;
|
|
142
|
+
sendJoinRollupTx(
|
|
143
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
144
|
+
extra?: any,
|
|
120
145
|
): Promise<string>;
|
|
121
|
-
sendExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>, extra?: any): Promise<string>;
|
|
122
|
-
sendExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>, extra?: any): Promise<string>;
|
|
123
|
-
sendJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>, extra?: any): Promise<string>;
|
|
124
146
|
sendLeaveRollupTx(
|
|
125
147
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
126
|
-
extra?: any
|
|
148
|
+
extra?: any,
|
|
127
149
|
): Promise<string>;
|
|
128
150
|
sendMigrateRollupTx(
|
|
129
151
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
130
|
-
extra?: any
|
|
152
|
+
extra?: any,
|
|
153
|
+
): Promise<string>;
|
|
154
|
+
sendMintAssetTx(
|
|
155
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
156
|
+
extra?: any,
|
|
157
|
+
): Promise<string>;
|
|
158
|
+
sendMintTokenTx(
|
|
159
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
|
|
160
|
+
extra?: any,
|
|
131
161
|
): Promise<string>;
|
|
132
|
-
sendMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>, extra?: any): Promise<string>;
|
|
133
|
-
sendMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>, extra?: any): Promise<string>;
|
|
134
162
|
sendPauseRollupTx(
|
|
135
163
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
136
|
-
extra?: any
|
|
164
|
+
extra?: any,
|
|
137
165
|
): Promise<string>;
|
|
138
166
|
sendResumeRollupTx(
|
|
139
167
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
140
|
-
extra?: any
|
|
168
|
+
extra?: any,
|
|
141
169
|
): Promise<string>;
|
|
142
170
|
sendReturnStakeTx(
|
|
143
171
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
|
|
144
|
-
extra?: any
|
|
172
|
+
extra?: any,
|
|
145
173
|
): Promise<string>;
|
|
146
174
|
sendRevokeDelegateTx(
|
|
147
175
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
148
|
-
extra?: any
|
|
176
|
+
extra?: any,
|
|
149
177
|
): Promise<string>;
|
|
150
178
|
sendRevokeStakeTx(
|
|
151
179
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
152
|
-
extra?: any
|
|
180
|
+
extra?: any,
|
|
181
|
+
): Promise<string>;
|
|
182
|
+
sendSlashStakeTx(
|
|
183
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
|
|
184
|
+
extra?: any,
|
|
185
|
+
): Promise<string>;
|
|
186
|
+
sendStakeTx(
|
|
187
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
188
|
+
extra?: any,
|
|
189
|
+
): Promise<string>;
|
|
190
|
+
sendTransferTx(
|
|
191
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
192
|
+
extra?: any,
|
|
193
|
+
): Promise<string>;
|
|
194
|
+
sendTransferV2Tx(
|
|
195
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
196
|
+
extra?: any,
|
|
197
|
+
): Promise<string>;
|
|
198
|
+
sendTransferV3Tx(
|
|
199
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
200
|
+
extra?: any,
|
|
153
201
|
): Promise<string>;
|
|
154
|
-
sendSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>, extra?: any): Promise<string>;
|
|
155
|
-
sendStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>, extra?: any): Promise<string>;
|
|
156
|
-
sendTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>, extra?: any): Promise<string>;
|
|
157
|
-
sendTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>, extra?: any): Promise<string>;
|
|
158
|
-
sendTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>, extra?: any): Promise<string>;
|
|
159
202
|
sendUpdateAssetTx(
|
|
160
203
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
161
|
-
extra?: any
|
|
204
|
+
extra?: any,
|
|
162
205
|
): Promise<string>;
|
|
163
206
|
sendUpdateRollupTx(
|
|
164
207
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
165
|
-
extra?: any
|
|
208
|
+
extra?: any,
|
|
166
209
|
): Promise<string>;
|
|
167
210
|
sendUpdateTokenFactoryTx(
|
|
168
|
-
param: GraphQLClient.TxParam<
|
|
169
|
-
|
|
211
|
+
param: GraphQLClient.TxParam<
|
|
212
|
+
PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
|
|
213
|
+
>,
|
|
214
|
+
extra?: any,
|
|
170
215
|
): Promise<string>;
|
|
171
216
|
sendUpgradeNodeTx(
|
|
172
217
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
173
|
-
extra?: any
|
|
218
|
+
extra?: any,
|
|
174
219
|
): Promise<string>;
|
|
175
220
|
sendWithdrawTokenV2Tx(
|
|
176
221
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
177
|
-
extra?: any
|
|
222
|
+
extra?: any,
|
|
178
223
|
): Promise<string>;
|
|
179
224
|
encodeAccountMigrateTx(
|
|
180
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx
|
|
225
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
181
226
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
182
227
|
encodeAcquireAssetV2Tx(
|
|
183
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx
|
|
228
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
184
229
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
185
230
|
encodeAcquireAssetV3Tx(
|
|
186
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx
|
|
231
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
187
232
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
188
233
|
encodeBurnTokenTx(
|
|
189
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx
|
|
234
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
|
|
190
235
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
191
236
|
encodeClaimBlockRewardTx(
|
|
192
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx
|
|
237
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
193
238
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
194
239
|
encodeClaimStakeTx(
|
|
195
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx
|
|
240
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
196
241
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
197
242
|
encodeCloseRollupTx(
|
|
198
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx
|
|
243
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
199
244
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
200
245
|
encodeConsumeAssetTx(
|
|
201
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx
|
|
246
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
202
247
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
203
248
|
encodeCreateAssetTx(
|
|
204
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx
|
|
249
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
205
250
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
206
251
|
encodeCreateFactoryTx(
|
|
207
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx
|
|
252
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
208
253
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
209
254
|
encodeCreateRollupBlockTx(
|
|
210
|
-
param: GraphQLClient.TxParam<
|
|
255
|
+
param: GraphQLClient.TxParam<
|
|
256
|
+
PartialDeep<GraphQLClient.CreateRollupBlockTx>
|
|
257
|
+
>,
|
|
211
258
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
212
259
|
encodeCreateRollupTx(
|
|
213
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx
|
|
260
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
214
261
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
215
262
|
encodeCreateTokenFactoryTx(
|
|
216
|
-
param: GraphQLClient.TxParam<
|
|
263
|
+
param: GraphQLClient.TxParam<
|
|
264
|
+
PartialDeep<GraphQLClient.CreateTokenFactoryTx>
|
|
265
|
+
>,
|
|
217
266
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
218
267
|
encodeCreateTokenTx(
|
|
219
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx
|
|
268
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
220
269
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
221
270
|
encodeDelegateTx(
|
|
222
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx
|
|
271
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
223
272
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
224
273
|
encodeDepositTokenV2Tx(
|
|
225
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx
|
|
274
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
226
275
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
227
276
|
encodeExchangeTx(
|
|
228
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx
|
|
277
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
|
|
229
278
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
230
279
|
encodeExchangeV2Tx(
|
|
231
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx
|
|
280
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
232
281
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
233
282
|
encodeJoinRollupTx(
|
|
234
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx
|
|
283
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
235
284
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
236
285
|
encodeLeaveRollupTx(
|
|
237
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx
|
|
286
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
238
287
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
239
288
|
encodeMigrateRollupTx(
|
|
240
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx
|
|
289
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
241
290
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
242
291
|
encodeMintAssetTx(
|
|
243
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx
|
|
292
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
244
293
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
245
294
|
encodeMintTokenTx(
|
|
246
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx
|
|
295
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
|
|
247
296
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
248
297
|
encodePauseRollupTx(
|
|
249
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx
|
|
298
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
250
299
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
251
300
|
encodeResumeRollupTx(
|
|
252
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx
|
|
301
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
253
302
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
254
303
|
encodeReturnStakeTx(
|
|
255
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx
|
|
304
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
|
|
256
305
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
257
306
|
encodeRevokeDelegateTx(
|
|
258
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx
|
|
307
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
259
308
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
260
309
|
encodeRevokeStakeTx(
|
|
261
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx
|
|
310
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
262
311
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
263
312
|
encodeSlashStakeTx(
|
|
264
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx
|
|
313
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
|
|
265
314
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
266
315
|
encodeStakeTx(
|
|
267
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx
|
|
316
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
268
317
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
269
318
|
encodeTransferTx(
|
|
270
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx
|
|
319
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
271
320
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
272
321
|
encodeTransferV2Tx(
|
|
273
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx
|
|
322
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
274
323
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
275
324
|
encodeTransferV3Tx(
|
|
276
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx
|
|
325
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
277
326
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
278
327
|
encodeUpdateAssetTx(
|
|
279
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx
|
|
328
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
280
329
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
281
330
|
encodeUpdateRollupTx(
|
|
282
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx
|
|
331
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
283
332
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
284
333
|
encodeUpdateTokenFactoryTx(
|
|
285
|
-
param: GraphQLClient.TxParam<
|
|
334
|
+
param: GraphQLClient.TxParam<
|
|
335
|
+
PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
|
|
336
|
+
>,
|
|
286
337
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
287
338
|
encodeUpgradeNodeTx(
|
|
288
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx
|
|
339
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
289
340
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
290
341
|
encodeWithdrawTokenV2Tx(
|
|
291
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx
|
|
342
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
292
343
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
293
344
|
signAccountMigrateTx(
|
|
294
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx
|
|
345
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
295
346
|
): Promise<GraphQLClient.Transaction>;
|
|
296
347
|
signAcquireAssetV2Tx(
|
|
297
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx
|
|
348
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
298
349
|
): Promise<GraphQLClient.Transaction>;
|
|
299
350
|
signAcquireAssetV3Tx(
|
|
300
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx
|
|
351
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
301
352
|
): Promise<GraphQLClient.Transaction>;
|
|
302
353
|
signBurnTokenTx(
|
|
303
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx
|
|
354
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
|
|
304
355
|
): Promise<GraphQLClient.Transaction>;
|
|
305
356
|
signClaimBlockRewardTx(
|
|
306
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx
|
|
357
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
307
358
|
): Promise<GraphQLClient.Transaction>;
|
|
308
359
|
signClaimStakeTx(
|
|
309
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx
|
|
360
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
310
361
|
): Promise<GraphQLClient.Transaction>;
|
|
311
362
|
signCloseRollupTx(
|
|
312
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx
|
|
363
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
313
364
|
): Promise<GraphQLClient.Transaction>;
|
|
314
365
|
signConsumeAssetTx(
|
|
315
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx
|
|
366
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
316
367
|
): Promise<GraphQLClient.Transaction>;
|
|
317
368
|
signCreateAssetTx(
|
|
318
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx
|
|
369
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
319
370
|
): Promise<GraphQLClient.Transaction>;
|
|
320
371
|
signCreateFactoryTx(
|
|
321
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx
|
|
372
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
322
373
|
): Promise<GraphQLClient.Transaction>;
|
|
323
374
|
signCreateRollupBlockTx(
|
|
324
|
-
param: GraphQLClient.TxParam<
|
|
375
|
+
param: GraphQLClient.TxParam<
|
|
376
|
+
PartialDeep<GraphQLClient.CreateRollupBlockTx>
|
|
377
|
+
>,
|
|
325
378
|
): Promise<GraphQLClient.Transaction>;
|
|
326
379
|
signCreateRollupTx(
|
|
327
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx
|
|
380
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
328
381
|
): Promise<GraphQLClient.Transaction>;
|
|
329
382
|
signCreateTokenFactoryTx(
|
|
330
|
-
param: GraphQLClient.TxParam<
|
|
383
|
+
param: GraphQLClient.TxParam<
|
|
384
|
+
PartialDeep<GraphQLClient.CreateTokenFactoryTx>
|
|
385
|
+
>,
|
|
331
386
|
): Promise<GraphQLClient.Transaction>;
|
|
332
387
|
signCreateTokenTx(
|
|
333
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx
|
|
388
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
334
389
|
): Promise<GraphQLClient.Transaction>;
|
|
335
390
|
signDelegateTx(
|
|
336
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx
|
|
391
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
337
392
|
): Promise<GraphQLClient.Transaction>;
|
|
338
393
|
signDepositTokenV2Tx(
|
|
339
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx
|
|
394
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
340
395
|
): Promise<GraphQLClient.Transaction>;
|
|
341
396
|
signExchangeTx(
|
|
342
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx
|
|
397
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
|
|
343
398
|
): Promise<GraphQLClient.Transaction>;
|
|
344
399
|
signExchangeV2Tx(
|
|
345
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx
|
|
400
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
346
401
|
): Promise<GraphQLClient.Transaction>;
|
|
347
402
|
signJoinRollupTx(
|
|
348
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx
|
|
403
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
349
404
|
): Promise<GraphQLClient.Transaction>;
|
|
350
405
|
signLeaveRollupTx(
|
|
351
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx
|
|
406
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
352
407
|
): Promise<GraphQLClient.Transaction>;
|
|
353
408
|
signMigrateRollupTx(
|
|
354
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx
|
|
409
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
355
410
|
): Promise<GraphQLClient.Transaction>;
|
|
356
411
|
signMintAssetTx(
|
|
357
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx
|
|
412
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
358
413
|
): Promise<GraphQLClient.Transaction>;
|
|
359
414
|
signMintTokenTx(
|
|
360
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx
|
|
415
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
|
|
361
416
|
): Promise<GraphQLClient.Transaction>;
|
|
362
417
|
signPauseRollupTx(
|
|
363
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx
|
|
418
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
364
419
|
): Promise<GraphQLClient.Transaction>;
|
|
365
420
|
signResumeRollupTx(
|
|
366
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx
|
|
421
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
367
422
|
): Promise<GraphQLClient.Transaction>;
|
|
368
423
|
signReturnStakeTx(
|
|
369
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx
|
|
424
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReturnStakeTx>>,
|
|
370
425
|
): Promise<GraphQLClient.Transaction>;
|
|
371
426
|
signRevokeDelegateTx(
|
|
372
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx
|
|
427
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
373
428
|
): Promise<GraphQLClient.Transaction>;
|
|
374
429
|
signRevokeStakeTx(
|
|
375
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx
|
|
430
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
376
431
|
): Promise<GraphQLClient.Transaction>;
|
|
377
432
|
signSlashStakeTx(
|
|
378
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx
|
|
433
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>,
|
|
434
|
+
): Promise<GraphQLClient.Transaction>;
|
|
435
|
+
signStakeTx(
|
|
436
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
379
437
|
): Promise<GraphQLClient.Transaction>;
|
|
380
|
-
signStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
381
438
|
signTransferTx(
|
|
382
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx
|
|
439
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
383
440
|
): Promise<GraphQLClient.Transaction>;
|
|
384
441
|
signTransferV2Tx(
|
|
385
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx
|
|
442
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
386
443
|
): Promise<GraphQLClient.Transaction>;
|
|
387
444
|
signTransferV3Tx(
|
|
388
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx
|
|
445
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
389
446
|
): Promise<GraphQLClient.Transaction>;
|
|
390
447
|
signUpdateAssetTx(
|
|
391
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx
|
|
448
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
392
449
|
): Promise<GraphQLClient.Transaction>;
|
|
393
450
|
signUpdateRollupTx(
|
|
394
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx
|
|
451
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
395
452
|
): Promise<GraphQLClient.Transaction>;
|
|
396
453
|
signUpdateTokenFactoryTx(
|
|
397
|
-
param: GraphQLClient.TxParam<
|
|
454
|
+
param: GraphQLClient.TxParam<
|
|
455
|
+
PartialDeep<GraphQLClient.UpdateTokenFactoryTx>
|
|
456
|
+
>,
|
|
398
457
|
): Promise<GraphQLClient.Transaction>;
|
|
399
458
|
signUpgradeNodeTx(
|
|
400
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx
|
|
459
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
401
460
|
): Promise<GraphQLClient.Transaction>;
|
|
402
461
|
signWithdrawTokenV2Tx(
|
|
403
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx
|
|
462
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
404
463
|
): Promise<GraphQLClient.Transaction>;
|
|
405
464
|
multiSignExchangeV2Tx(
|
|
406
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx
|
|
465
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
407
466
|
): Promise<GraphQLClient.Transaction>;
|
|
408
467
|
multiSignTransferV3Tx(
|
|
409
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx
|
|
468
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
410
469
|
): Promise<GraphQLClient.Transaction>;
|
|
411
470
|
multiSignAcquireAssetV3Tx(
|
|
412
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx
|
|
471
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
413
472
|
): Promise<GraphQLClient.Transaction>;
|
|
414
473
|
multiSignStakeTx(
|
|
415
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx
|
|
474
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
416
475
|
): Promise<GraphQLClient.Transaction>;
|
|
417
476
|
multiSignUpdateRollupTx(
|
|
418
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx
|
|
477
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
419
478
|
): Promise<GraphQLClient.Transaction>;
|
|
420
479
|
multiSignJoinRollupTx(
|
|
421
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx
|
|
480
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
422
481
|
): Promise<GraphQLClient.Transaction>;
|
|
423
482
|
multiSignLeaveRollupTx(
|
|
424
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx
|
|
483
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
425
484
|
): Promise<GraphQLClient.Transaction>;
|
|
426
485
|
multiSignPauseRollupTx(
|
|
427
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx
|
|
486
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
428
487
|
): Promise<GraphQLClient.Transaction>;
|
|
429
488
|
multiSignCloseRollupTx(
|
|
430
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx
|
|
489
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
431
490
|
): Promise<GraphQLClient.Transaction>;
|
|
432
491
|
multiSignMigrateRollupTx(
|
|
433
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx
|
|
492
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
434
493
|
): Promise<GraphQLClient.Transaction>;
|
|
435
494
|
multiSignResumeRollupTx(
|
|
436
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx
|
|
495
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
437
496
|
): Promise<GraphQLClient.Transaction>;
|
|
438
497
|
multiSignDepositTokenV2Tx(
|
|
439
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx
|
|
498
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
440
499
|
): Promise<GraphQLClient.Transaction>;
|
|
441
500
|
multiSignWithdrawTokenV2Tx(
|
|
442
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx
|
|
501
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
443
502
|
): Promise<GraphQLClient.Transaction>;
|
|
444
503
|
multiSignCreateRollupBlockTx(
|
|
445
|
-
param: GraphQLClient.TxParam<
|
|
504
|
+
param: GraphQLClient.TxParam<
|
|
505
|
+
PartialDeep<GraphQLClient.CreateRollupBlockTx>
|
|
506
|
+
>,
|
|
446
507
|
): Promise<GraphQLClient.Transaction>;
|
|
447
508
|
multiSignClaimBlockRewardTx(
|
|
448
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx
|
|
509
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
449
510
|
): Promise<GraphQLClient.Transaction>;
|
|
450
511
|
multiSignCreateAssetTx(
|
|
451
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx
|
|
512
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
452
513
|
): Promise<GraphQLClient.Transaction>;
|
|
453
514
|
multiSignConsumeAssetTx(
|
|
454
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx
|
|
515
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
455
516
|
): Promise<GraphQLClient.Transaction>;
|
|
456
517
|
multiSignMintTokenTx(
|
|
457
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx
|
|
518
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>,
|
|
458
519
|
): Promise<GraphQLClient.Transaction>;
|
|
459
520
|
multiSignBurnTokenTx(
|
|
460
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx
|
|
521
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>,
|
|
461
522
|
): Promise<GraphQLClient.Transaction>;
|
|
462
523
|
getAccountState(
|
|
463
|
-
params: PartialDeep<GraphQLClient.GetAccountStateParams
|
|
524
|
+
params: PartialDeep<GraphQLClient.GetAccountStateParams>,
|
|
464
525
|
): Promise<GraphQLClient.ResponseGetAccountState>;
|
|
465
|
-
getAssetState(
|
|
526
|
+
getAssetState(
|
|
527
|
+
params: PartialDeep<GraphQLClient.GetAssetStateParams>,
|
|
528
|
+
): Promise<GraphQLClient.ResponseGetAssetState>;
|
|
466
529
|
getFactoryState(
|
|
467
|
-
params: PartialDeep<GraphQLClient.GetFactoryStateParams
|
|
530
|
+
params: PartialDeep<GraphQLClient.GetFactoryStateParams>,
|
|
468
531
|
): Promise<GraphQLClient.ResponseGetFactoryState>;
|
|
469
532
|
getDelegateState(
|
|
470
|
-
params: PartialDeep<GraphQLClient.GetDelegateStateParams
|
|
533
|
+
params: PartialDeep<GraphQLClient.GetDelegateStateParams>,
|
|
471
534
|
): Promise<GraphQLClient.ResponseGetDelegateState>;
|
|
472
|
-
getTokenState(
|
|
535
|
+
getTokenState(
|
|
536
|
+
params: PartialDeep<GraphQLClient.GetTokenStateParams>,
|
|
537
|
+
): Promise<GraphQLClient.ResponseGetTokenState>;
|
|
473
538
|
getEvidenceState(
|
|
474
|
-
params: PartialDeep<GraphQLClient.GetEvidenceStateParams
|
|
539
|
+
params: PartialDeep<GraphQLClient.GetEvidenceStateParams>,
|
|
475
540
|
): Promise<GraphQLClient.ResponseGetEvidenceState>;
|
|
476
|
-
getForgeState(
|
|
541
|
+
getForgeState(
|
|
542
|
+
params: PartialDeep<GraphQLClient.GetForgeStateParams>,
|
|
543
|
+
): Promise<GraphQLClient.ResponseGetForgeState>;
|
|
477
544
|
getTokenFactoryState(
|
|
478
|
-
params: PartialDeep<GraphQLClient.GetTokenFactoryStateParams
|
|
545
|
+
params: PartialDeep<GraphQLClient.GetTokenFactoryStateParams>,
|
|
479
546
|
): Promise<GraphQLClient.ResponseGetTokenFactoryState>;
|
|
480
|
-
getTx(
|
|
481
|
-
|
|
482
|
-
|
|
547
|
+
getTx(
|
|
548
|
+
params: PartialDeep<GraphQLClient.GetTxParams>,
|
|
549
|
+
): Promise<GraphQLClient.ResponseGetTx>;
|
|
550
|
+
getBlock(
|
|
551
|
+
params: PartialDeep<GraphQLClient.GetBlockParams>,
|
|
552
|
+
): Promise<GraphQLClient.ResponseGetBlock>;
|
|
553
|
+
getBlocks(
|
|
554
|
+
params: PartialDeep<GraphQLClient.GetBlocksParams>,
|
|
555
|
+
): Promise<GraphQLClient.ResponseGetBlocks>;
|
|
483
556
|
getUnconfirmedTxs(
|
|
484
|
-
params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams
|
|
557
|
+
params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>,
|
|
485
558
|
): Promise<GraphQLClient.ResponseGetUnconfirmedTxs>;
|
|
486
559
|
getChainInfo(): Promise<GraphQLClient.ResponseGetChainInfo>;
|
|
487
|
-
getConfig(
|
|
560
|
+
getConfig(
|
|
561
|
+
params: PartialDeep<GraphQLClient.GetConfigParams>,
|
|
562
|
+
): Promise<GraphQLClient.ResponseGetConfig>;
|
|
488
563
|
getNetInfo(): Promise<GraphQLClient.ResponseGetNetInfo>;
|
|
489
564
|
getNodeInfo(): Promise<GraphQLClient.ResponseGetNodeInfo>;
|
|
490
565
|
getValidatorsInfo(): Promise<GraphQLClient.ResponseGetValidatorsInfo>;
|
|
491
566
|
getForgeStats(): Promise<GraphQLClient.ResponseGetForgeStats>;
|
|
492
567
|
listAssetTransactions(
|
|
493
|
-
params: PartialDeep<GraphQLClient.ListAssetTransactionsParams
|
|
568
|
+
params: PartialDeep<GraphQLClient.ListAssetTransactionsParams>,
|
|
494
569
|
): Promise<GraphQLClient.ResponseListAssetTransactions>;
|
|
495
|
-
listAssets(
|
|
496
|
-
|
|
570
|
+
listAssets(
|
|
571
|
+
params: PartialDeep<GraphQLClient.ListAssetsParams>,
|
|
572
|
+
): Promise<GraphQLClient.ResponseListAssets>;
|
|
573
|
+
listBlocks(
|
|
574
|
+
params: PartialDeep<GraphQLClient.ListBlocksParams>,
|
|
575
|
+
): Promise<GraphQLClient.ResponseListBlocks>;
|
|
497
576
|
listTopAccounts(
|
|
498
|
-
params: PartialDeep<GraphQLClient.ListTopAccountsParams
|
|
577
|
+
params: PartialDeep<GraphQLClient.ListTopAccountsParams>,
|
|
499
578
|
): Promise<GraphQLClient.ResponseListTopAccounts>;
|
|
500
579
|
listTransactions(
|
|
501
|
-
params: PartialDeep<GraphQLClient.ListTransactionsParams
|
|
580
|
+
params: PartialDeep<GraphQLClient.ListTransactionsParams>,
|
|
502
581
|
): Promise<GraphQLClient.ResponseListTransactions>;
|
|
503
|
-
listTokens(
|
|
504
|
-
|
|
582
|
+
listTokens(
|
|
583
|
+
params: PartialDeep<GraphQLClient.ListTokensParams>,
|
|
584
|
+
): Promise<GraphQLClient.ResponseListTokens>;
|
|
585
|
+
listFactories(
|
|
586
|
+
params: PartialDeep<GraphQLClient.ListFactoriesParams>,
|
|
587
|
+
): Promise<GraphQLClient.ResponseListFactories>;
|
|
505
588
|
getAccountTokens(
|
|
506
|
-
params: PartialDeep<GraphQLClient.GetAccountTokensParams
|
|
589
|
+
params: PartialDeep<GraphQLClient.GetAccountTokensParams>,
|
|
507
590
|
): Promise<GraphQLClient.ResponseGetAccountTokens>;
|
|
508
|
-
getStakeState(
|
|
509
|
-
|
|
591
|
+
getStakeState(
|
|
592
|
+
params: PartialDeep<GraphQLClient.GetStakeStateParams>,
|
|
593
|
+
): Promise<GraphQLClient.ResponseGetStakeState>;
|
|
594
|
+
listStakes(
|
|
595
|
+
params: PartialDeep<GraphQLClient.ListStakesParams>,
|
|
596
|
+
): Promise<GraphQLClient.ResponseListStakes>;
|
|
510
597
|
getRollupState(
|
|
511
|
-
params: PartialDeep<GraphQLClient.GetRollupStateParams
|
|
598
|
+
params: PartialDeep<GraphQLClient.GetRollupStateParams>,
|
|
512
599
|
): Promise<GraphQLClient.ResponseGetRollupState>;
|
|
513
|
-
listRollups(
|
|
600
|
+
listRollups(
|
|
601
|
+
params: PartialDeep<GraphQLClient.ListRollupsParams>,
|
|
602
|
+
): Promise<GraphQLClient.ResponseListRollups>;
|
|
514
603
|
getRollupBlock(
|
|
515
|
-
params: PartialDeep<GraphQLClient.GetRollupBlockParams
|
|
604
|
+
params: PartialDeep<GraphQLClient.GetRollupBlockParams>,
|
|
516
605
|
): Promise<GraphQLClient.ResponseGetRollupBlock>;
|
|
517
606
|
listRollupBlocks(
|
|
518
|
-
params: PartialDeep<GraphQLClient.ListRollupBlocksParams
|
|
607
|
+
params: PartialDeep<GraphQLClient.ListRollupBlocksParams>,
|
|
519
608
|
): Promise<GraphQLClient.ResponseListRollupBlocks>;
|
|
520
609
|
listRollupValidators(
|
|
521
|
-
params: PartialDeep<GraphQLClient.ListRollupValidatorsParams
|
|
610
|
+
params: PartialDeep<GraphQLClient.ListRollupValidatorsParams>,
|
|
522
611
|
): Promise<GraphQLClient.ResponseListRollupValidators>;
|
|
523
612
|
listDelegations(
|
|
524
|
-
params: PartialDeep<GraphQLClient.ListDelegationsParams
|
|
613
|
+
params: PartialDeep<GraphQLClient.ListDelegationsParams>,
|
|
525
614
|
): Promise<GraphQLClient.ResponseListDelegations>;
|
|
526
|
-
search(
|
|
527
|
-
|
|
615
|
+
search(
|
|
616
|
+
params: PartialDeep<GraphQLClient.SearchParams>,
|
|
617
|
+
): Promise<GraphQLClient.ResponseSearch>;
|
|
618
|
+
estimateGas(
|
|
619
|
+
params: PartialDeep<GraphQLClient.EstimateGasParams>,
|
|
620
|
+
): Promise<GraphQLClient.ResponseEstimateGas>;
|
|
528
621
|
listTokenFlows(
|
|
529
|
-
params: PartialDeep<GraphQLClient.ListTokenFlowsParams
|
|
622
|
+
params: PartialDeep<GraphQLClient.ListTokenFlowsParams>,
|
|
530
623
|
): Promise<GraphQLClient.ResponseListTokenFlows>;
|
|
531
624
|
verifyAccountRisk(
|
|
532
|
-
params: PartialDeep<GraphQLClient.VerifyAccountRiskParams
|
|
625
|
+
params: PartialDeep<GraphQLClient.VerifyAccountRiskParams>,
|
|
533
626
|
): Promise<GraphQLClient.ResponseVerifyAccountRisk>;
|
|
534
627
|
getTokenDistribution(
|
|
535
|
-
params: PartialDeep<GraphQLClient.GetTokenDistributionParams
|
|
628
|
+
params: PartialDeep<GraphQLClient.GetTokenDistributionParams>,
|
|
536
629
|
): Promise<GraphQLClient.ResponseGetTokenDistribution>;
|
|
537
630
|
listTokenFactories(
|
|
538
|
-
params: PartialDeep<GraphQLClient.ListTokenFactoriesParams
|
|
631
|
+
params: PartialDeep<GraphQLClient.ListTokenFactoriesParams>,
|
|
539
632
|
): Promise<GraphQLClient.ResponseListTokenFactories>;
|
|
540
|
-
sendTx(
|
|
633
|
+
sendTx(
|
|
634
|
+
params: PartialDeep<GraphQLClient.SendTxParams>,
|
|
635
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
541
636
|
}
|
|
542
637
|
|
|
543
638
|
declare namespace GraphQLClient {
|
|
544
639
|
interface Subscription<T> {
|
|
545
|
-
on(event:
|
|
546
|
-
on(event:
|
|
640
|
+
on(event: "data", fn: (data: T) => any): this;
|
|
641
|
+
on(event: "error", fn: (err: Error) => void): this;
|
|
547
642
|
}
|
|
548
643
|
|
|
549
644
|
interface TxParam<T> {
|