@ocap/client 1.13.65 → 1.13.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.js +1 -1
- package/dist/browser.d.ts +6 -61
- package/dist/bundle.js +3 -3
- package/dist/extension.js +8 -1
- package/dist/extension.js.map +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +16 -409
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +11 -121
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +6 -107
- package/docs/README.md +25 -171
- package/lib/base.js +1 -1
- package/lib/extension.js +8 -1
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +6 -61
- package/lib/schema/graphql.json +16 -409
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +11 -121
- package/lib/types.js.map +1 -1
- package/package.json +11 -11
package/docs/QUERIES.md
CHANGED
|
@@ -1101,12 +1101,9 @@
|
|
|
1101
1101
|
address
|
|
1102
1102
|
version
|
|
1103
1103
|
accountConfig {
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
balance
|
|
1108
|
-
pk
|
|
1109
|
-
}
|
|
1104
|
+
address
|
|
1105
|
+
balance
|
|
1106
|
+
pk
|
|
1110
1107
|
}
|
|
1111
1108
|
consensus {
|
|
1112
1109
|
maxBytes
|
|
@@ -1125,91 +1122,6 @@
|
|
|
1125
1122
|
typeUrl
|
|
1126
1123
|
value
|
|
1127
1124
|
}
|
|
1128
|
-
gas {
|
|
1129
|
-
key
|
|
1130
|
-
value
|
|
1131
|
-
}
|
|
1132
|
-
protocols {
|
|
1133
|
-
address
|
|
1134
|
-
name
|
|
1135
|
-
}
|
|
1136
|
-
stakeSummary {
|
|
1137
|
-
key
|
|
1138
|
-
value {
|
|
1139
|
-
totalStakes
|
|
1140
|
-
totalUnstakes
|
|
1141
|
-
context {
|
|
1142
|
-
genesisTime
|
|
1143
|
-
renaissanceTime
|
|
1144
|
-
genesisTx {
|
|
1145
|
-
code
|
|
1146
|
-
hash
|
|
1147
|
-
height
|
|
1148
|
-
index
|
|
1149
|
-
receiver
|
|
1150
|
-
sender
|
|
1151
|
-
time
|
|
1152
|
-
receipts {
|
|
1153
|
-
address
|
|
1154
|
-
}
|
|
1155
|
-
tags {
|
|
1156
|
-
key
|
|
1157
|
-
value
|
|
1158
|
-
}
|
|
1159
|
-
tokenSymbols {
|
|
1160
|
-
address
|
|
1161
|
-
decimal
|
|
1162
|
-
symbol
|
|
1163
|
-
unit
|
|
1164
|
-
}
|
|
1165
|
-
tx {
|
|
1166
|
-
chainId
|
|
1167
|
-
delegator
|
|
1168
|
-
from
|
|
1169
|
-
itxJson
|
|
1170
|
-
nonce
|
|
1171
|
-
pk
|
|
1172
|
-
receiver
|
|
1173
|
-
sender
|
|
1174
|
-
signature
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
renaissanceTx {
|
|
1178
|
-
code
|
|
1179
|
-
hash
|
|
1180
|
-
height
|
|
1181
|
-
index
|
|
1182
|
-
receiver
|
|
1183
|
-
sender
|
|
1184
|
-
time
|
|
1185
|
-
receipts {
|
|
1186
|
-
address
|
|
1187
|
-
}
|
|
1188
|
-
tags {
|
|
1189
|
-
key
|
|
1190
|
-
value
|
|
1191
|
-
}
|
|
1192
|
-
tokenSymbols {
|
|
1193
|
-
address
|
|
1194
|
-
decimal
|
|
1195
|
-
symbol
|
|
1196
|
-
unit
|
|
1197
|
-
}
|
|
1198
|
-
tx {
|
|
1199
|
-
chainId
|
|
1200
|
-
delegator
|
|
1201
|
-
from
|
|
1202
|
-
itxJson
|
|
1203
|
-
nonce
|
|
1204
|
-
pk
|
|
1205
|
-
receiver
|
|
1206
|
-
sender
|
|
1207
|
-
signature
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
1125
|
tasks {
|
|
1214
1126
|
key
|
|
1215
1127
|
value {
|
|
@@ -1231,30 +1143,17 @@
|
|
|
1231
1143
|
totalSupply
|
|
1232
1144
|
unit
|
|
1233
1145
|
}
|
|
1234
|
-
tokenSwapConfig {
|
|
1235
|
-
commissionHolderAddress
|
|
1236
|
-
commissionRate
|
|
1237
|
-
maxCommission
|
|
1238
|
-
minCommission
|
|
1239
|
-
revokeCommissionRate
|
|
1240
|
-
}
|
|
1241
1146
|
txConfig {
|
|
1242
1147
|
maxAssetSize
|
|
1243
1148
|
maxListSize
|
|
1244
1149
|
maxMultisig
|
|
1245
|
-
minimumStake
|
|
1246
|
-
declare {
|
|
1247
|
-
cost
|
|
1248
|
-
hierarchy
|
|
1249
|
-
restricted
|
|
1250
|
-
}
|
|
1251
1150
|
delegate {
|
|
1252
1151
|
deltaInterval
|
|
1253
1152
|
typeUrls
|
|
1254
1153
|
}
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1154
|
+
txFee {
|
|
1155
|
+
fee
|
|
1156
|
+
typeUrl
|
|
1258
1157
|
}
|
|
1259
1158
|
}
|
|
1260
1159
|
upgradeInfo {
|
package/docs/README.md
CHANGED
|
@@ -68,7 +68,6 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
68
68
|
* [sendTransferV2Tx(params)](#GraphQLClient+sendTransferV2Tx) ⇒ `Promise.<string>`
|
|
69
69
|
* [sendTransferV3Tx(params)](#GraphQLClient+sendTransferV3Tx) ⇒ `Promise.<string>`
|
|
70
70
|
* [sendUpdateAssetTx(params)](#GraphQLClient+sendUpdateAssetTx) ⇒ `Promise.<string>`
|
|
71
|
-
* [sendUpdateConsensusParamsTx(params)](#GraphQLClient+sendUpdateConsensusParamsTx) ⇒ `Promise.<string>`
|
|
72
71
|
* [sendUpdateRollupTx(params)](#GraphQLClient+sendUpdateRollupTx) ⇒ `Promise.<string>`
|
|
73
72
|
* [sendUpgradeNodeTx(params)](#GraphQLClient+sendUpgradeNodeTx) ⇒ `Promise.<string>`
|
|
74
73
|
* [sendWithdrawTokenV2Tx(params)](#GraphQLClient+sendWithdrawTokenV2Tx) ⇒ `Promise.<string>`
|
|
@@ -97,7 +96,6 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
97
96
|
* [encodeTransferV2Tx(params)](#GraphQLClient+encodeTransferV2Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
98
97
|
* [encodeTransferV3Tx(params)](#GraphQLClient+encodeTransferV3Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
99
98
|
* [encodeUpdateAssetTx(params)](#GraphQLClient+encodeUpdateAssetTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
100
|
-
* [encodeUpdateConsensusParamsTx(params)](#GraphQLClient+encodeUpdateConsensusParamsTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
101
99
|
* [encodeUpdateRollupTx(params)](#GraphQLClient+encodeUpdateRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
102
100
|
* [encodeUpgradeNodeTx(params)](#GraphQLClient+encodeUpgradeNodeTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
103
101
|
* [encodeWithdrawTokenV2Tx(params)](#GraphQLClient+encodeWithdrawTokenV2Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
@@ -210,13 +208,11 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
210
208
|
* [ClaimStakeTx](#GraphQLClient.ClaimStakeTx) : `object`
|
|
211
209
|
* [ConsensusParams](#GraphQLClient.ConsensusParams) : `object`
|
|
212
210
|
* [ConsensusStatus](#GraphQLClient.ConsensusStatus) : `object`
|
|
213
|
-
* [CoreProtocol](#GraphQLClient.CoreProtocol) : `object`
|
|
214
211
|
* [CreateAssetTx](#GraphQLClient.CreateAssetTx) : `object`
|
|
215
212
|
* [CreateFactoryTx](#GraphQLClient.CreateFactoryTx) : `object`
|
|
216
213
|
* [CreateRollupBlockTx](#GraphQLClient.CreateRollupBlockTx) : `object`
|
|
217
214
|
* [CreateRollupTx](#GraphQLClient.CreateRollupTx) : `object`
|
|
218
215
|
* [CreateTokenTx](#GraphQLClient.CreateTokenTx) : `object`
|
|
219
|
-
* [DeclareConfig](#GraphQLClient.DeclareConfig) : `object`
|
|
220
216
|
* [DeclareTx](#GraphQLClient.DeclareTx) : `object`
|
|
221
217
|
* [DelegateConfig](#GraphQLClient.DelegateConfig) : `object`
|
|
222
218
|
* [DelegateOp](#GraphQLClient.DelegateOp) : `object`
|
|
@@ -234,9 +230,6 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
234
230
|
* [ExchangeV2Tx](#GraphQLClient.ExchangeV2Tx) : `object`
|
|
235
231
|
* [ForeignToken](#GraphQLClient.ForeignToken) : `object`
|
|
236
232
|
* [ForgeState](#GraphQLClient.ForgeState) : `object`
|
|
237
|
-
* [ForgeState_AccountConfigEntry](#GraphQLClient.ForgeState_AccountConfigEntry) : `object`
|
|
238
|
-
* [ForgeState_GasEntry](#GraphQLClient.ForgeState_GasEntry) : `object`
|
|
239
|
-
* [ForgeState_StakeSummaryEntry](#GraphQLClient.ForgeState_StakeSummaryEntry) : `object`
|
|
240
233
|
* [ForgeState_TasksEntry](#GraphQLClient.ForgeState_TasksEntry) : `object`
|
|
241
234
|
* [ForgeStats](#GraphQLClient.ForgeStats) : `object`
|
|
242
235
|
* [ForgeStatus](#GraphQLClient.ForgeStatus) : `object`
|
|
@@ -313,10 +306,8 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
313
306
|
* [RollupState](#GraphQLClient.RollupState) : `object`
|
|
314
307
|
* [RollupValidator](#GraphQLClient.RollupValidator) : `object`
|
|
315
308
|
* [SearchResult](#GraphQLClient.SearchResult) : `object`
|
|
316
|
-
* [StakeConfig](#GraphQLClient.StakeConfig) : `object`
|
|
317
309
|
* [StakeContext](#GraphQLClient.StakeContext) : `object`
|
|
318
310
|
* [StakeState](#GraphQLClient.StakeState) : `object`
|
|
319
|
-
* [StakeSummary](#GraphQLClient.StakeSummary) : `object`
|
|
320
311
|
* [StakeTx](#GraphQLClient.StakeTx) : `object`
|
|
321
312
|
* [StateContext](#GraphQLClient.StateContext) : `object`
|
|
322
313
|
* [StorageStatus](#GraphQLClient.StorageStatus) : `object`
|
|
@@ -325,7 +316,6 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
325
316
|
* [TokenInfo](#GraphQLClient.TokenInfo) : `object`
|
|
326
317
|
* [TokenInput](#GraphQLClient.TokenInput) : `object`
|
|
327
318
|
* [TokenState](#GraphQLClient.TokenState) : `object`
|
|
328
|
-
* [TokenSwapConfig](#GraphQLClient.TokenSwapConfig) : `object`
|
|
329
319
|
* [TokenSymbol](#GraphQLClient.TokenSymbol) : `object`
|
|
330
320
|
* [Transaction](#GraphQLClient.Transaction) : `object`
|
|
331
321
|
* [TransactionConfig](#GraphQLClient.TransactionConfig) : `object`
|
|
@@ -335,6 +325,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
335
325
|
* [TransferTx](#GraphQLClient.TransferTx) : `object`
|
|
336
326
|
* [TransferV2Tx](#GraphQLClient.TransferV2Tx) : `object`
|
|
337
327
|
* [TransferV3Tx](#GraphQLClient.TransferV3Tx) : `object`
|
|
328
|
+
* [TxFeeConfig](#GraphQLClient.TxFeeConfig) : `object`
|
|
338
329
|
* [UnconfirmedTxs](#GraphQLClient.UnconfirmedTxs) : `object`
|
|
339
330
|
* [UpdateAssetTx](#GraphQLClient.UpdateAssetTx) : `object`
|
|
340
331
|
* [UpdateRollupTx](#GraphQLClient.UpdateRollupTx) : `object`
|
|
@@ -408,7 +399,6 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
408
399
|
* [TransferV2TxInput](#GraphQLClient.TransferV2TxInput) : `Object`
|
|
409
400
|
* [TransferV3TxInput](#GraphQLClient.TransferV3TxInput) : `Object`
|
|
410
401
|
* [UpdateAssetTxInput](#GraphQLClient.UpdateAssetTxInput) : `Object`
|
|
411
|
-
* [UpdateConsensusParamsTxInput](#GraphQLClient.UpdateConsensusParamsTxInput) : `Object`
|
|
412
402
|
* [UpdateRollupTxInput](#GraphQLClient.UpdateRollupTxInput) : `Object`
|
|
413
403
|
* [UpgradeNodeTxInput](#GraphQLClient.UpgradeNodeTxInput) : `Object`
|
|
414
404
|
* [WithdrawTokenV2TxInput](#GraphQLClient.WithdrawTokenV2TxInput) : `Object`
|
|
@@ -1112,17 +1102,6 @@ Send UpdateAssetTx transaction and get the hash, use [getTx](#GraphQLClient+getT
|
|
|
1112
1102
|
| ------ | --------------------------------------------------------- |
|
|
1113
1103
|
| params | [`UpdateAssetTxInput`](#GraphQLClient.UpdateAssetTxInput) |
|
|
1114
1104
|
|
|
1115
|
-
### graphQLClient.sendUpdateConsensusParamsTx(params) ⇒ `Promise.<string>`
|
|
1116
|
-
|
|
1117
|
-
Send UpdateConsensusParamsTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1118
|
-
|
|
1119
|
-
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1120
|
-
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1121
|
-
|
|
1122
|
-
| Param | Type |
|
|
1123
|
-
| ------ | ----------------------------------------------------------------------------- |
|
|
1124
|
-
| params | [`UpdateConsensusParamsTxInput`](#GraphQLClient.UpdateConsensusParamsTxInput) |
|
|
1125
|
-
|
|
1126
1105
|
### graphQLClient.sendUpdateRollupTx(params) ⇒ `Promise.<string>`
|
|
1127
1106
|
|
|
1128
1107
|
Send UpdateRollupTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -1431,17 +1410,6 @@ Encode a UpdateAssetTx transaction for later use
|
|
|
1431
1410
|
| ------ | --------------------------------------------------------- |
|
|
1432
1411
|
| params | [`UpdateAssetTxInput`](#GraphQLClient.UpdateAssetTxInput) |
|
|
1433
1412
|
|
|
1434
|
-
### graphQLClient.encodeUpdateConsensusParamsTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1435
|
-
|
|
1436
|
-
Encode a UpdateConsensusParamsTx transaction for later use
|
|
1437
|
-
|
|
1438
|
-
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1439
|
-
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1440
|
-
|
|
1441
|
-
| Param | Type |
|
|
1442
|
-
| ------ | ----------------------------------------------------------------------------- |
|
|
1443
|
-
| params | [`UpdateConsensusParamsTxInput`](#GraphQLClient.UpdateConsensusParamsTxInput) |
|
|
1444
|
-
|
|
1445
1413
|
### graphQLClient.encodeUpdateRollupTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1446
1414
|
|
|
1447
1415
|
Encode a UpdateRollupTx transaction for later use
|
|
@@ -2905,18 +2873,6 @@ Structure of GraphQLClient.ConsensusStatus
|
|
|
2905
2873
|
| synced | `boolean` |
|
|
2906
2874
|
| blockHeight | `string` |
|
|
2907
2875
|
|
|
2908
|
-
### GraphQLClient.CoreProtocol : `object`
|
|
2909
|
-
|
|
2910
|
-
Structure of GraphQLClient.CoreProtocol
|
|
2911
|
-
|
|
2912
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
2913
|
-
**Properties**
|
|
2914
|
-
|
|
2915
|
-
| Name | Type |
|
|
2916
|
-
| ------- | -------- |
|
|
2917
|
-
| name | `string` |
|
|
2918
|
-
| address | `string` |
|
|
2919
|
-
|
|
2920
2876
|
### GraphQLClient.CreateAssetTx : `object`
|
|
2921
2877
|
|
|
2922
2878
|
Structure of GraphQLClient.CreateAssetTx
|
|
@@ -3084,19 +3040,6 @@ Checkout the following snippet for the format of CreateTokenTx:
|
|
|
3084
3040
|
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
3085
3041
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3086
3042
|
|
|
3087
|
-
### GraphQLClient.DeclareConfig : `object`
|
|
3088
|
-
|
|
3089
|
-
Structure of GraphQLClient.DeclareConfig
|
|
3090
|
-
|
|
3091
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3092
|
-
**Properties**
|
|
3093
|
-
|
|
3094
|
-
| Name | Type |
|
|
3095
|
-
| ---------- | --------- |
|
|
3096
|
-
| restricted | `boolean` |
|
|
3097
|
-
| hierarchy | `number` |
|
|
3098
|
-
| cost | `string` |
|
|
3099
|
-
|
|
3100
3043
|
### GraphQLClient.DeclareTx : `object`
|
|
3101
3044
|
|
|
3102
3045
|
Structure of GraphQLClient.DeclareTx
|
|
@@ -3354,57 +3297,17 @@ Structure of GraphQLClient.ForgeState
|
|
|
3354
3297
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3355
3298
|
**Properties**
|
|
3356
3299
|
|
|
3357
|
-
| Name
|
|
3358
|
-
|
|
|
3359
|
-
| address
|
|
3360
|
-
| ...consensus
|
|
3361
|
-
| tasks
|
|
3362
|
-
|
|
|
3363
|
-
|
|
|
3364
|
-
| ...
|
|
3365
|
-
| ...
|
|
3366
|
-
|
|
|
3367
|
-
|
|
|
3368
|
-
| ...upgradeInfo | [`UpgradeInfo`](#GraphQLClient.UpgradeInfo) |
|
|
3369
|
-
| accountConfig | `Array.<...GraphQLClient.ForgeState\_AccountConfigEntry>` |
|
|
3370
|
-
| ...tokenSwapConfig | [`TokenSwapConfig`](#GraphQLClient.TokenSwapConfig) |
|
|
3371
|
-
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3372
|
-
|
|
3373
|
-
### GraphQLClient.ForgeState_AccountConfigEntry : `object`
|
|
3374
|
-
|
|
3375
|
-
Structure of GraphQLClient.ForgeState_AccountConfigEntry
|
|
3376
|
-
|
|
3377
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3378
|
-
**Properties**
|
|
3379
|
-
|
|
3380
|
-
| Name | Type |
|
|
3381
|
-
| -------- | ----------------------------------------------- |
|
|
3382
|
-
| key | `string` |
|
|
3383
|
-
| ...value | [`AccountConfig`](#GraphQLClient.AccountConfig) |
|
|
3384
|
-
|
|
3385
|
-
### GraphQLClient.ForgeState_GasEntry : `object`
|
|
3386
|
-
|
|
3387
|
-
Structure of GraphQLClient.ForgeState_GasEntry
|
|
3388
|
-
|
|
3389
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3390
|
-
**Properties**
|
|
3391
|
-
|
|
3392
|
-
| Name | Type |
|
|
3393
|
-
| ----- | -------- |
|
|
3394
|
-
| key | `string` |
|
|
3395
|
-
| value | `number` |
|
|
3396
|
-
|
|
3397
|
-
### GraphQLClient.ForgeState_StakeSummaryEntry : `object`
|
|
3398
|
-
|
|
3399
|
-
Structure of GraphQLClient.ForgeState_StakeSummaryEntry
|
|
3400
|
-
|
|
3401
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3402
|
-
**Properties**
|
|
3403
|
-
|
|
3404
|
-
| Name | Type |
|
|
3405
|
-
| -------- | --------------------------------------------- |
|
|
3406
|
-
| key | `number` |
|
|
3407
|
-
| ...value | [`StakeSummary`](#GraphQLClient.StakeSummary) |
|
|
3300
|
+
| Name | Type |
|
|
3301
|
+
| -------------- | ------------------------------------------------------- |
|
|
3302
|
+
| address | `string` |
|
|
3303
|
+
| ...consensus | [`ConsensusParams`](#GraphQLClient.ConsensusParams) |
|
|
3304
|
+
| tasks | `Array.<...GraphQLClient.ForgeState\_TasksEntry>` |
|
|
3305
|
+
| version | `string` |
|
|
3306
|
+
| ...token | [`ForgeToken`](#GraphQLClient.ForgeToken) |
|
|
3307
|
+
| ...txConfig | [`TransactionConfig`](#GraphQLClient.TransactionConfig) |
|
|
3308
|
+
| ...upgradeInfo | [`UpgradeInfo`](#GraphQLClient.UpgradeInfo) |
|
|
3309
|
+
| accountConfig | `Array.<...GraphQLClient.AccountConfig>` |
|
|
3310
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3408
3311
|
|
|
3409
3312
|
### GraphQLClient.ForgeState_TasksEntry : `object`
|
|
3410
3313
|
|
|
@@ -4665,18 +4568,6 @@ Structure of GraphQLClient.SearchResult
|
|
|
4665
4568
|
| type | `string` |
|
|
4666
4569
|
| id | `string` |
|
|
4667
4570
|
|
|
4668
|
-
### GraphQLClient.StakeConfig : `object`
|
|
4669
|
-
|
|
4670
|
-
Structure of GraphQLClient.StakeConfig
|
|
4671
|
-
|
|
4672
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4673
|
-
**Properties**
|
|
4674
|
-
|
|
4675
|
-
| Name | Type |
|
|
4676
|
-
| ------------------- | -------- |
|
|
4677
|
-
| timeoutGeneral | `number` |
|
|
4678
|
-
| timeoutStakeForNode | `number` |
|
|
4679
|
-
|
|
4680
4571
|
### GraphQLClient.StakeContext : `object`
|
|
4681
4572
|
|
|
4682
4573
|
Structure of GraphQLClient.StakeContext
|
|
@@ -4714,19 +4605,6 @@ Structure of GraphQLClient.StakeState
|
|
|
4714
4605
|
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4715
4606
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4716
4607
|
|
|
4717
|
-
### GraphQLClient.StakeSummary : `object`
|
|
4718
|
-
|
|
4719
|
-
Structure of GraphQLClient.StakeSummary
|
|
4720
|
-
|
|
4721
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4722
|
-
**Properties**
|
|
4723
|
-
|
|
4724
|
-
| Name | Type |
|
|
4725
|
-
| ------------- | --------------------------------------------- |
|
|
4726
|
-
| totalStakes | `string` |
|
|
4727
|
-
| totalUnstakes | `string` |
|
|
4728
|
-
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4729
|
-
|
|
4730
4608
|
### GraphQLClient.StakeTx : `object`
|
|
4731
4609
|
|
|
4732
4610
|
Structure of GraphQLClient.StakeTx
|
|
@@ -4856,21 +4734,6 @@ Structure of GraphQLClient.TokenState
|
|
|
4856
4734
|
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4857
4735
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4858
4736
|
|
|
4859
|
-
### GraphQLClient.TokenSwapConfig : `object`
|
|
4860
|
-
|
|
4861
|
-
Structure of GraphQLClient.TokenSwapConfig
|
|
4862
|
-
|
|
4863
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4864
|
-
**Properties**
|
|
4865
|
-
|
|
4866
|
-
| Name | Type |
|
|
4867
|
-
| ----------------------- | -------- |
|
|
4868
|
-
| commissionHolderAddress | `string` |
|
|
4869
|
-
| commissionRate | `number` |
|
|
4870
|
-
| revokeCommissionRate | `number` |
|
|
4871
|
-
| minCommission | `string` |
|
|
4872
|
-
| maxCommission | `string` |
|
|
4873
|
-
|
|
4874
4737
|
### GraphQLClient.TokenSymbol : `object`
|
|
4875
4738
|
|
|
4876
4739
|
Structure of GraphQLClient.TokenSymbol
|
|
@@ -4917,10 +4780,8 @@ Structure of GraphQLClient.TransactionConfig
|
|
|
4917
4780
|
| maxAssetSize | `number` |
|
|
4918
4781
|
| maxListSize | `number` |
|
|
4919
4782
|
| maxMultisig | `number` |
|
|
4920
|
-
| minimumStake | `string` |
|
|
4921
|
-
| ...declare | [`DeclareConfig`](#GraphQLClient.DeclareConfig) |
|
|
4922
4783
|
| ...delegate | [`DelegateConfig`](#GraphQLClient.DelegateConfig) |
|
|
4923
|
-
|
|
|
4784
|
+
| txFee | `Array.<...GraphQLClient.TxFeeConfig>` |
|
|
4924
4785
|
|
|
4925
4786
|
### GraphQLClient.TransactionInfo : `object`
|
|
4926
4787
|
|
|
@@ -5010,6 +4871,18 @@ Structure of GraphQLClient.TransferV3Tx
|
|
|
5010
4871
|
| outputs | `Array.<...GraphQLClient.TransactionInput>` |
|
|
5011
4872
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
5012
4873
|
|
|
4874
|
+
### GraphQLClient.TxFeeConfig : `object`
|
|
4875
|
+
|
|
4876
|
+
Structure of GraphQLClient.TxFeeConfig
|
|
4877
|
+
|
|
4878
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4879
|
+
**Properties**
|
|
4880
|
+
|
|
4881
|
+
| Name | Type |
|
|
4882
|
+
| ------- | -------- |
|
|
4883
|
+
| typeUrl | `string` |
|
|
4884
|
+
| fee | `string` |
|
|
4885
|
+
|
|
5013
4886
|
### GraphQLClient.UnconfirmedTxs : `object`
|
|
5014
4887
|
|
|
5015
4888
|
Structure of GraphQLClient.UnconfirmedTxs
|
|
@@ -6517,25 +6390,6 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6517
6390
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6518
6391
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6519
6392
|
|
|
6520
|
-
### GraphQLClient.UpdateConsensusParamsTxInput : `Object`
|
|
6521
|
-
|
|
6522
|
-
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
6523
|
-
**Properties**
|
|
6524
|
-
|
|
6525
|
-
| Name | Type | Description |
|
|
6526
|
-
| --------------------- | --------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
6527
|
-
| input | `object` | |
|
|
6528
|
-
| input.tx | `object` | data of the transaction |
|
|
6529
|
-
| input.tx.itx | `GraphQLClient.UpdateConsensusParamsTx` | the actual transaction object |
|
|
6530
|
-
| [input.tx.pk] | `string` | the sender pk |
|
|
6531
|
-
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6532
|
-
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6533
|
-
| [input.tx.chainId] | `string` | the chainId |
|
|
6534
|
-
| [input.tx.signature] | `string` | transaction signature |
|
|
6535
|
-
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6536
|
-
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6537
|
-
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6538
|
-
|
|
6539
6393
|
### GraphQLClient.UpdateRollupTxInput : `Object`
|
|
6540
6394
|
|
|
6541
6395
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|