@ocap/client 1.30.12 → 1.30.14
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 +2411 -2841
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +7031 -6448
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +573 -520
- package/dist/types.js.map +1 -1
- package/lib/base.js +1 -1
- package/lib/node.d.ts +2411 -2841
- package/lib/schema/graphql.json +7031 -6448
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +573 -520
- package/lib/types.js.map +1 -1
- package/package.json +11 -11
package/lib/types.js
CHANGED
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
* @memberof GraphQLClient
|
|
195
195
|
* @typedef {object} GraphQLClient.PageInput
|
|
196
196
|
* @property {string} cursor
|
|
197
|
-
* @property {
|
|
197
|
+
* @property {undefined} size
|
|
198
198
|
* @property {Array<...GraphQLClient.PageOrderInput>} order
|
|
199
199
|
*/
|
|
200
200
|
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
* @typedef {object} GraphQLClient.RequestGetAccountStateInput
|
|
241
241
|
* @property {string} address
|
|
242
242
|
* @property {Array<string>} keys
|
|
243
|
-
* @property {
|
|
243
|
+
* @property {undefined} height
|
|
244
244
|
* @property {boolean} traceMigration
|
|
245
245
|
*/
|
|
246
246
|
|
|
@@ -266,14 +266,12 @@
|
|
|
266
266
|
*
|
|
267
267
|
* Checkout the following snippet for the format of RequestGetBlockInput:
|
|
268
268
|
* ```json
|
|
269
|
-
{
|
|
270
|
-
"height": 123
|
|
271
|
-
}
|
|
269
|
+
{}
|
|
272
270
|
* ```
|
|
273
271
|
*
|
|
274
272
|
* @memberof GraphQLClient
|
|
275
273
|
* @typedef {object} GraphQLClient.RequestGetBlockInput
|
|
276
|
-
* @property {
|
|
274
|
+
* @property {undefined} height
|
|
277
275
|
*/
|
|
278
276
|
|
|
279
277
|
/**
|
|
@@ -330,7 +328,6 @@
|
|
|
330
328
|
* ```json
|
|
331
329
|
{
|
|
332
330
|
"hash": "abc",
|
|
333
|
-
"height": 123,
|
|
334
331
|
"rollupAddress": "abc"
|
|
335
332
|
}
|
|
336
333
|
* ```
|
|
@@ -338,7 +335,7 @@
|
|
|
338
335
|
* @memberof GraphQLClient
|
|
339
336
|
* @typedef {object} GraphQLClient.RequestGetRollupBlockInput
|
|
340
337
|
* @property {string} hash
|
|
341
|
-
* @property {
|
|
338
|
+
* @property {undefined} height
|
|
342
339
|
* @property {string} rollupAddress
|
|
343
340
|
*/
|
|
344
341
|
|
|
@@ -349,7 +346,7 @@
|
|
|
349
346
|
* @typedef {object} GraphQLClient.RequestGetStateInput
|
|
350
347
|
* @property {string} address
|
|
351
348
|
* @property {Array<string>} keys
|
|
352
|
-
* @property {
|
|
349
|
+
* @property {undefined} height
|
|
353
350
|
*/
|
|
354
351
|
|
|
355
352
|
/**
|
|
@@ -541,6 +538,27 @@
|
|
|
541
538
|
* @property {...GraphQLClient.AssetFilterInput} assetFilter
|
|
542
539
|
*/
|
|
543
540
|
|
|
541
|
+
/**
|
|
542
|
+
* Structure of GraphQLClient.RequestListTokenFactoriesInput
|
|
543
|
+
*
|
|
544
|
+
* Checkout the following snippet for the format of RequestListTokenFactoriesInput:
|
|
545
|
+
* ```json
|
|
546
|
+
{
|
|
547
|
+
"owner": "abc",
|
|
548
|
+
"reserveAddress": "abc",
|
|
549
|
+
"tokenAddress": "abc"
|
|
550
|
+
}
|
|
551
|
+
* ```
|
|
552
|
+
*
|
|
553
|
+
* @memberof GraphQLClient
|
|
554
|
+
* @typedef {object} GraphQLClient.RequestListTokenFactoriesInput
|
|
555
|
+
* @property {...GraphQLClient.PageInput} paging
|
|
556
|
+
* @property {string} owner
|
|
557
|
+
* @property {string} reserveAddress
|
|
558
|
+
* @property {string} tokenAddress
|
|
559
|
+
* @property {...GraphQLClient.TimeFilterInput} timeFilter
|
|
560
|
+
*/
|
|
561
|
+
|
|
544
562
|
/**
|
|
545
563
|
* Structure of GraphQLClient.RequestListTokenFlowsInput
|
|
546
564
|
*
|
|
@@ -549,7 +567,6 @@
|
|
|
549
567
|
{
|
|
550
568
|
"accountAddress": "abc",
|
|
551
569
|
"tokenAddress": "abc",
|
|
552
|
-
"depth": 123,
|
|
553
570
|
"direction": "IN"
|
|
554
571
|
}
|
|
555
572
|
* ```
|
|
@@ -559,7 +576,7 @@
|
|
|
559
576
|
* @property {...GraphQLClient.PageInput} paging
|
|
560
577
|
* @property {string} accountAddress
|
|
561
578
|
* @property {string} tokenAddress
|
|
562
|
-
* @property {
|
|
579
|
+
* @property {undefined} depth
|
|
563
580
|
* @property {...GraphQLClient.TokenFlowDirection} direction
|
|
564
581
|
*/
|
|
565
582
|
|
|
@@ -602,7 +619,9 @@
|
|
|
602
619
|
*
|
|
603
620
|
* Checkout the following snippet for the format of RequestListTransactionsInput:
|
|
604
621
|
* ```json
|
|
605
|
-
{
|
|
622
|
+
{
|
|
623
|
+
"includeData": true
|
|
624
|
+
}
|
|
606
625
|
* ```
|
|
607
626
|
*
|
|
608
627
|
* @memberof GraphQLClient
|
|
@@ -621,6 +640,7 @@
|
|
|
621
640
|
* @property {...GraphQLClient.StakeFilterInput} stakeFilter
|
|
622
641
|
* @property {...GraphQLClient.DelegationFilterInput} delegationFilter
|
|
623
642
|
* @property {...GraphQLClient.TokenFactoryFilterInput} tokenFactoryFilter
|
|
643
|
+
* @property {boolean} includeData
|
|
624
644
|
*/
|
|
625
645
|
|
|
626
646
|
/**
|
|
@@ -843,7 +863,7 @@
|
|
|
843
863
|
* @property {string} address
|
|
844
864
|
* @property {string} symbol
|
|
845
865
|
* @property {string} balance
|
|
846
|
-
* @property {
|
|
866
|
+
* @property {undefined} decimal
|
|
847
867
|
*/
|
|
848
868
|
|
|
849
869
|
/**
|
|
@@ -913,7 +933,7 @@
|
|
|
913
933
|
* @property {string} name
|
|
914
934
|
* @property {string} description
|
|
915
935
|
* @property {string} settlement
|
|
916
|
-
* @property {
|
|
936
|
+
* @property {undefined} limit
|
|
917
937
|
* @property {Array<string>} trustedIssuers
|
|
918
938
|
* @property {...GraphQLClient.IndexedFactoryInput} input
|
|
919
939
|
* @property {...GraphQLClient.CreateAssetTx} output
|
|
@@ -922,7 +942,7 @@
|
|
|
922
942
|
* @property {...GraphQLClient.StateContext} context
|
|
923
943
|
* @property {string} balance
|
|
924
944
|
* @property {Array<...GraphQLClient.IndexedTokenInput>} tokens
|
|
925
|
-
* @property {
|
|
945
|
+
* @property {undefined} numMinted
|
|
926
946
|
* @property {...GraphQLClient.NFTDisplay} display
|
|
927
947
|
* @property {string} lastSettlement
|
|
928
948
|
*/
|
|
@@ -934,11 +954,11 @@
|
|
|
934
954
|
* @typedef {object} GraphQLClient.AssetLimit
|
|
935
955
|
* @property {Array<string>} address
|
|
936
956
|
* @property {Array<string>} to
|
|
937
|
-
* @property {
|
|
938
|
-
* @property {
|
|
957
|
+
* @property {undefined} txCount
|
|
958
|
+
* @property {undefined} validUntil
|
|
939
959
|
* @property {...GraphQLClient.RateLimit} rate
|
|
940
|
-
* @property {
|
|
941
|
-
* @property {
|
|
960
|
+
* @property {undefined} txSent
|
|
961
|
+
* @property {undefined} lastTx
|
|
942
962
|
*/
|
|
943
963
|
|
|
944
964
|
/**
|
|
@@ -951,7 +971,7 @@
|
|
|
951
971
|
* @property {string} moniker
|
|
952
972
|
* @property {boolean} readonly
|
|
953
973
|
* @property {boolean} transferrable
|
|
954
|
-
* @property {
|
|
974
|
+
* @property {undefined} ttl
|
|
955
975
|
* @property {string} consumedTime
|
|
956
976
|
* @property {string} issuer
|
|
957
977
|
* @property {string} parent
|
|
@@ -977,7 +997,7 @@
|
|
|
977
997
|
* @memberof GraphQLClient
|
|
978
998
|
* @typedef {object} GraphQLClient.BlockInfo
|
|
979
999
|
* @property {string} height
|
|
980
|
-
* @property {
|
|
1000
|
+
* @property {undefined} numTxs
|
|
981
1001
|
* @property {string} time
|
|
982
1002
|
* @property {string} appHash
|
|
983
1003
|
* @property {string} proposer
|
|
@@ -1003,7 +1023,7 @@
|
|
|
1003
1023
|
* @memberof GraphQLClient
|
|
1004
1024
|
* @typedef {object} GraphQLClient.BlockInfoSimple
|
|
1005
1025
|
* @property {string} height
|
|
1006
|
-
* @property {
|
|
1026
|
+
* @property {undefined} numTxs
|
|
1007
1027
|
* @property {string} time
|
|
1008
1028
|
* @property {string} appHash
|
|
1009
1029
|
* @property {string} proposer
|
|
@@ -1021,6 +1041,18 @@
|
|
|
1021
1041
|
* @property {...GraphQLClient.BlockID} lastBlockId
|
|
1022
1042
|
*/
|
|
1023
1043
|
|
|
1044
|
+
/**
|
|
1045
|
+
* Structure of GraphQLClient.BurnTokenTx
|
|
1046
|
+
*
|
|
1047
|
+
* @memberof GraphQLClient
|
|
1048
|
+
* @typedef {object} GraphQLClient.BurnTokenTx
|
|
1049
|
+
* @property {string} tokenFactory
|
|
1050
|
+
* @property {Array<...GraphQLClient.TransactionInput>} inputs
|
|
1051
|
+
* @property {string} minReserve
|
|
1052
|
+
* @property {string} receiver
|
|
1053
|
+
* @property {...GraphQLClient.Any} data
|
|
1054
|
+
*/
|
|
1055
|
+
|
|
1024
1056
|
/**
|
|
1025
1057
|
* Structure of GraphQLClient.ChainInfo
|
|
1026
1058
|
*
|
|
@@ -1039,19 +1071,10 @@
|
|
|
1039
1071
|
* @property {string} votingPower
|
|
1040
1072
|
* @property {string} totalTxs
|
|
1041
1073
|
* @property {string} version
|
|
1042
|
-
* @property {
|
|
1074
|
+
* @property {undefined} forgeAppsVersion
|
|
1043
1075
|
* @property {Array<string>} supportedTxs
|
|
1044
1076
|
*/
|
|
1045
1077
|
|
|
1046
|
-
/**
|
|
1047
|
-
* Structure of GraphQLClient.ChainInfo_ForgeAppsVersionEntry
|
|
1048
|
-
*
|
|
1049
|
-
* @memberof GraphQLClient
|
|
1050
|
-
* @typedef {object} GraphQLClient.ChainInfo_ForgeAppsVersionEntry
|
|
1051
|
-
* @property {string} key
|
|
1052
|
-
* @property {string} value
|
|
1053
|
-
*/
|
|
1054
|
-
|
|
1055
1078
|
/**
|
|
1056
1079
|
* Structure of GraphQLClient.ClaimBlockRewardTx
|
|
1057
1080
|
*
|
|
@@ -1059,7 +1082,6 @@
|
|
|
1059
1082
|
* ```json
|
|
1060
1083
|
{
|
|
1061
1084
|
"rollup": "abc",
|
|
1062
|
-
"blockHeight": 123,
|
|
1063
1085
|
"blockHash": "abc",
|
|
1064
1086
|
"evidence": {
|
|
1065
1087
|
"hash": "abc"
|
|
@@ -1075,7 +1097,7 @@
|
|
|
1075
1097
|
* @memberof GraphQLClient
|
|
1076
1098
|
* @typedef {object} GraphQLClient.ClaimBlockRewardTx
|
|
1077
1099
|
* @property {string} rollup
|
|
1078
|
-
* @property {
|
|
1100
|
+
* @property {undefined} blockHeight
|
|
1079
1101
|
* @property {string} blockHash
|
|
1080
1102
|
* @property {...GraphQLClient.Evidence} evidence
|
|
1081
1103
|
* @property {string} publisher
|
|
@@ -1135,8 +1157,8 @@
|
|
|
1135
1157
|
* @typedef {object} GraphQLClient.ConsensusParams
|
|
1136
1158
|
* @property {string} maxBytes
|
|
1137
1159
|
* @property {string} maxGas
|
|
1138
|
-
* @property {
|
|
1139
|
-
* @property {
|
|
1160
|
+
* @property {undefined} maxValidators
|
|
1161
|
+
* @property {undefined} maxCandidates
|
|
1140
1162
|
* @property {Array<string>} pubKeyTypes
|
|
1141
1163
|
* @property {Array<...GraphQLClient.Validator>} validators
|
|
1142
1164
|
* @property {boolean} validatorChanged
|
|
@@ -1172,7 +1194,7 @@
|
|
|
1172
1194
|
* @property {...GraphQLClient.Any} data
|
|
1173
1195
|
* @property {boolean} readonly
|
|
1174
1196
|
* @property {boolean} transferrable
|
|
1175
|
-
* @property {
|
|
1197
|
+
* @property {undefined} ttl
|
|
1176
1198
|
* @property {string} parent
|
|
1177
1199
|
* @property {string} address
|
|
1178
1200
|
* @property {string} issuer
|
|
@@ -1189,7 +1211,7 @@
|
|
|
1189
1211
|
* @property {string} name
|
|
1190
1212
|
* @property {string} description
|
|
1191
1213
|
* @property {string} settlement
|
|
1192
|
-
* @property {
|
|
1214
|
+
* @property {undefined} limit
|
|
1193
1215
|
* @property {Array<string>} trustedIssuers
|
|
1194
1216
|
* @property {...GraphQLClient.AssetFactoryInput} input
|
|
1195
1217
|
* @property {...GraphQLClient.CreateAssetTx} output
|
|
@@ -1205,7 +1227,7 @@
|
|
|
1205
1227
|
* @memberof GraphQLClient
|
|
1206
1228
|
* @typedef {object} GraphQLClient.CreateRollupBlockTx
|
|
1207
1229
|
* @property {string} hash
|
|
1208
|
-
* @property {
|
|
1230
|
+
* @property {undefined} height
|
|
1209
1231
|
* @property {string} merkleRoot
|
|
1210
1232
|
* @property {string} previousHash
|
|
1211
1233
|
* @property {string} txsHash
|
|
@@ -1230,17 +1252,17 @@
|
|
|
1230
1252
|
* @property {Array<...GraphQLClient.RollupValidator>} seedValidators
|
|
1231
1253
|
* @property {string} minStakeAmount
|
|
1232
1254
|
* @property {string} maxStakeAmount
|
|
1233
|
-
* @property {
|
|
1234
|
-
* @property {
|
|
1235
|
-
* @property {
|
|
1236
|
-
* @property {
|
|
1237
|
-
* @property {
|
|
1238
|
-
* @property {
|
|
1255
|
+
* @property {undefined} minSignerCount
|
|
1256
|
+
* @property {undefined} maxSignerCount
|
|
1257
|
+
* @property {undefined} minBlockSize
|
|
1258
|
+
* @property {undefined} maxBlockSize
|
|
1259
|
+
* @property {undefined} minBlockInterval
|
|
1260
|
+
* @property {undefined} minBlockConfirmation
|
|
1239
1261
|
* @property {string} foreignChainType
|
|
1240
1262
|
* @property {string} foreignChainId
|
|
1241
|
-
* @property {
|
|
1242
|
-
* @property {
|
|
1243
|
-
* @property {
|
|
1263
|
+
* @property {undefined} depositFeeRate
|
|
1264
|
+
* @property {undefined} withdrawFeeRate
|
|
1265
|
+
* @property {undefined} proposerFeeShare
|
|
1244
1266
|
* @property {string} minDepositAmount
|
|
1245
1267
|
* @property {string} minWithdrawAmount
|
|
1246
1268
|
* @property {string} maxDepositAmount
|
|
@@ -1250,10 +1272,23 @@
|
|
|
1250
1272
|
* @property {string} minWithdrawFee
|
|
1251
1273
|
* @property {string} maxWithdrawFee
|
|
1252
1274
|
* @property {boolean} paused
|
|
1253
|
-
* @property {
|
|
1254
|
-
* @property {
|
|
1255
|
-
* @property {
|
|
1256
|
-
* @property {
|
|
1275
|
+
* @property {undefined} leaveWaitingPeriod
|
|
1276
|
+
* @property {undefined} publisherFeeShare
|
|
1277
|
+
* @property {undefined} publishWaitingPeriod
|
|
1278
|
+
* @property {undefined} publishSlashRate
|
|
1279
|
+
* @property {...GraphQLClient.Any} data
|
|
1280
|
+
*/
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Structure of GraphQLClient.CreateTokenFactoryTx
|
|
1284
|
+
*
|
|
1285
|
+
* @memberof GraphQLClient
|
|
1286
|
+
* @typedef {object} GraphQLClient.CreateTokenFactoryTx
|
|
1287
|
+
* @property {string} address
|
|
1288
|
+
* @property {undefined} feeRate
|
|
1289
|
+
* @property {...GraphQLClient.TokenInfo} token
|
|
1290
|
+
* @property {string} reserveAddress
|
|
1291
|
+
* @property {...GraphQLClient.CurveConfig} curve
|
|
1257
1292
|
* @property {...GraphQLClient.Any} data
|
|
1258
1293
|
*/
|
|
1259
1294
|
|
|
@@ -1266,7 +1301,7 @@
|
|
|
1266
1301
|
* @property {string} description
|
|
1267
1302
|
* @property {string} symbol
|
|
1268
1303
|
* @property {string} unit
|
|
1269
|
-
* @property {
|
|
1304
|
+
* @property {undefined} decimal
|
|
1270
1305
|
* @property {string} icon
|
|
1271
1306
|
* @property {string} totalSupply
|
|
1272
1307
|
* @property {string} address
|
|
@@ -1274,8 +1309,6 @@
|
|
|
1274
1309
|
* @property {string} maxTotalSupply
|
|
1275
1310
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
1276
1311
|
* @property {Array<string>} spenders
|
|
1277
|
-
* @property {string} website
|
|
1278
|
-
* @property {...GraphQLClient.Any} metadata
|
|
1279
1312
|
* @property {...GraphQLClient.Any} data
|
|
1280
1313
|
*/
|
|
1281
1314
|
|
|
@@ -1286,9 +1319,31 @@
|
|
|
1286
1319
|
* @typedef {object} GraphQLClient.CurveConfig
|
|
1287
1320
|
* @property {string} type
|
|
1288
1321
|
* @property {string} basePrice
|
|
1289
|
-
* @property {string} fixedPrice
|
|
1290
1322
|
* @property {string} slope
|
|
1291
|
-
* @property {
|
|
1323
|
+
* @property {string} fixedPrice
|
|
1324
|
+
* @property {undefined} constant
|
|
1325
|
+
*/
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Structure of GraphQLClient.DeclareTx
|
|
1329
|
+
*
|
|
1330
|
+
* Checkout the following snippet for the format of DeclareTx:
|
|
1331
|
+
* ```json
|
|
1332
|
+
{
|
|
1333
|
+
"moniker": "abc",
|
|
1334
|
+
"issuer": "abc",
|
|
1335
|
+
"data": {
|
|
1336
|
+
"typeUrl": "abc",
|
|
1337
|
+
"value": "abc"
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
* ```
|
|
1341
|
+
*
|
|
1342
|
+
* @memberof GraphQLClient
|
|
1343
|
+
* @typedef {object} GraphQLClient.DeclareTx
|
|
1344
|
+
* @property {string} moniker
|
|
1345
|
+
* @property {string} issuer
|
|
1346
|
+
* @property {...GraphQLClient.Any} data
|
|
1292
1347
|
*/
|
|
1293
1348
|
|
|
1294
1349
|
/**
|
|
@@ -1296,7 +1351,7 @@
|
|
|
1296
1351
|
*
|
|
1297
1352
|
* @memberof GraphQLClient
|
|
1298
1353
|
* @typedef {object} GraphQLClient.DelegateConfig
|
|
1299
|
-
* @property {
|
|
1354
|
+
* @property {undefined} deltaInterval
|
|
1300
1355
|
* @property {Array<string>} typeUrls
|
|
1301
1356
|
*/
|
|
1302
1357
|
|
|
@@ -1325,8 +1380,8 @@
|
|
|
1325
1380
|
* @memberof GraphQLClient
|
|
1326
1381
|
* @typedef {object} GraphQLClient.DelegateOpState
|
|
1327
1382
|
* @property {string} rule
|
|
1328
|
-
* @property {
|
|
1329
|
-
* @property {
|
|
1383
|
+
* @property {undefined} numTxs
|
|
1384
|
+
* @property {undefined} numTxsDelta
|
|
1330
1385
|
* @property {string} balance
|
|
1331
1386
|
* @property {string} balanceDelta
|
|
1332
1387
|
* @property {...GraphQLClient.DelegateLimit} limit
|
|
@@ -1338,22 +1393,15 @@
|
|
|
1338
1393
|
* @memberof GraphQLClient
|
|
1339
1394
|
* @typedef {object} GraphQLClient.DelegateState
|
|
1340
1395
|
* @property {string} address
|
|
1341
|
-
* @property {
|
|
1396
|
+
* @property {undefined} ops
|
|
1342
1397
|
* @property {string} from
|
|
1343
1398
|
* @property {string} to
|
|
1399
|
+
* @property {Array<string>} deny
|
|
1400
|
+
* @property {undefined} validUntil
|
|
1344
1401
|
* @property {...GraphQLClient.StateContext} context
|
|
1345
1402
|
* @property {...GraphQLClient.Any} data
|
|
1346
1403
|
*/
|
|
1347
1404
|
|
|
1348
|
-
/**
|
|
1349
|
-
* Structure of GraphQLClient.DelegateState_OpsEntry
|
|
1350
|
-
*
|
|
1351
|
-
* @memberof GraphQLClient
|
|
1352
|
-
* @typedef {object} GraphQLClient.DelegateState_OpsEntry
|
|
1353
|
-
* @property {string} key
|
|
1354
|
-
* @property {...GraphQLClient.DelegateOpState} value
|
|
1355
|
-
*/
|
|
1356
|
-
|
|
1357
1405
|
/**
|
|
1358
1406
|
* Structure of GraphQLClient.DelegateTx
|
|
1359
1407
|
*
|
|
@@ -1362,6 +1410,8 @@
|
|
|
1362
1410
|
* @property {string} address
|
|
1363
1411
|
* @property {string} to
|
|
1364
1412
|
* @property {Array<...GraphQLClient.DelegateOp>} ops
|
|
1413
|
+
* @property {Array<string>} deny
|
|
1414
|
+
* @property {undefined} validUntil
|
|
1365
1415
|
* @property {...GraphQLClient.Any} data
|
|
1366
1416
|
*/
|
|
1367
1417
|
|
|
@@ -1470,7 +1520,7 @@
|
|
|
1470
1520
|
* @property {string} contractAddress
|
|
1471
1521
|
* @property {string} chainType
|
|
1472
1522
|
* @property {string} chainName
|
|
1473
|
-
* @property {
|
|
1523
|
+
* @property {undefined} chainId
|
|
1474
1524
|
*/
|
|
1475
1525
|
|
|
1476
1526
|
/**
|
|
@@ -1480,7 +1530,7 @@
|
|
|
1480
1530
|
* @typedef {object} GraphQLClient.ForgeState
|
|
1481
1531
|
* @property {string} address
|
|
1482
1532
|
* @property {...GraphQLClient.ConsensusParams} consensus
|
|
1483
|
-
* @property {
|
|
1533
|
+
* @property {undefined} tasks
|
|
1484
1534
|
* @property {string} version
|
|
1485
1535
|
* @property {...GraphQLClient.ForgeToken} token
|
|
1486
1536
|
* @property {...GraphQLClient.TransactionConfig} txConfig
|
|
@@ -1491,15 +1541,6 @@
|
|
|
1491
1541
|
* @property {...GraphQLClient.Any} data
|
|
1492
1542
|
*/
|
|
1493
1543
|
|
|
1494
|
-
/**
|
|
1495
|
-
* Structure of GraphQLClient.ForgeState_TasksEntry
|
|
1496
|
-
*
|
|
1497
|
-
* @memberof GraphQLClient
|
|
1498
|
-
* @typedef {object} GraphQLClient.ForgeState_TasksEntry
|
|
1499
|
-
* @property {number} key
|
|
1500
|
-
* @property {...GraphQLClient.UpgradeTasks} value
|
|
1501
|
-
*/
|
|
1502
|
-
|
|
1503
1544
|
/**
|
|
1504
1545
|
* Structure of GraphQLClient.ForgeStats
|
|
1505
1546
|
*
|
|
@@ -1508,22 +1549,22 @@
|
|
|
1508
1549
|
* @property {Array<string>} numBlocks
|
|
1509
1550
|
* @property {Array<string>} numTxs
|
|
1510
1551
|
* @property {Array<string>} numStakes
|
|
1511
|
-
* @property {Array<
|
|
1552
|
+
* @property {Array<undefined>} numValidators
|
|
1512
1553
|
* @property {Array<string>} numAccountMigrateTxs
|
|
1513
1554
|
* @property {Array<string>} numCreateAssetTxs
|
|
1514
|
-
* @property {Array<
|
|
1555
|
+
* @property {Array<undefined>} numConsensusUpgradeTxs
|
|
1515
1556
|
* @property {Array<string>} numDeclareTxs
|
|
1516
1557
|
* @property {Array<string>} numDeclareFileTxs
|
|
1517
1558
|
* @property {Array<string>} numExchangeTxs
|
|
1518
1559
|
* @property {Array<string>} numStakeTxs
|
|
1519
|
-
* @property {Array<
|
|
1560
|
+
* @property {Array<undefined>} numSysUpgradeTxs
|
|
1520
1561
|
* @property {Array<string>} numTransferTxs
|
|
1521
1562
|
* @property {Array<string>} numUpdateAssetTxs
|
|
1522
1563
|
* @property {Array<string>} numConsumeAssetTxs
|
|
1523
|
-
* @property {Array<
|
|
1524
|
-
* @property {
|
|
1525
|
-
* @property {
|
|
1526
|
-
* @property {
|
|
1564
|
+
* @property {Array<undefined>} tps
|
|
1565
|
+
* @property {undefined} maxTps
|
|
1566
|
+
* @property {undefined} avgTps
|
|
1567
|
+
* @property {undefined} avgBlockTime
|
|
1527
1568
|
*/
|
|
1528
1569
|
|
|
1529
1570
|
/**
|
|
@@ -1536,10 +1577,10 @@
|
|
|
1536
1577
|
* @property {string} unit
|
|
1537
1578
|
* @property {string} description
|
|
1538
1579
|
* @property {string} icon
|
|
1539
|
-
* @property {
|
|
1580
|
+
* @property {undefined} decimal
|
|
1540
1581
|
* @property {string} initialSupply
|
|
1541
1582
|
* @property {string} totalSupply
|
|
1542
|
-
* @property {
|
|
1583
|
+
* @property {undefined} inflationRate
|
|
1543
1584
|
* @property {string} address
|
|
1544
1585
|
*/
|
|
1545
1586
|
|
|
@@ -1558,8 +1599,8 @@
|
|
|
1558
1599
|
* @typedef {object} GraphQLClient.GeoInfo
|
|
1559
1600
|
* @property {string} city
|
|
1560
1601
|
* @property {string} country
|
|
1561
|
-
* @property {
|
|
1562
|
-
* @property {
|
|
1602
|
+
* @property {undefined} latitude
|
|
1603
|
+
* @property {undefined} longitude
|
|
1563
1604
|
*/
|
|
1564
1605
|
|
|
1565
1606
|
/**
|
|
@@ -1581,7 +1622,7 @@
|
|
|
1581
1622
|
* @property {string} totalStakes
|
|
1582
1623
|
* @property {string} totalUnstakes
|
|
1583
1624
|
* @property {Array<string>} recentNumTxs
|
|
1584
|
-
* @property {Array<...GraphQLClient.
|
|
1625
|
+
* @property {Array<...GraphQLClient.TokenMeta>} tokens
|
|
1585
1626
|
*/
|
|
1586
1627
|
|
|
1587
1628
|
/**
|
|
@@ -1628,19 +1669,10 @@
|
|
|
1628
1669
|
* @property {string} to
|
|
1629
1670
|
* @property {string} genesisTime
|
|
1630
1671
|
* @property {string} renaissanceTime
|
|
1631
|
-
* @property {
|
|
1672
|
+
* @property {undefined} ops
|
|
1632
1673
|
* @property {...GraphQLClient.Any} data
|
|
1633
1674
|
*/
|
|
1634
1675
|
|
|
1635
|
-
/**
|
|
1636
|
-
* Structure of GraphQLClient.IndexedDelegationState_OpsEntry
|
|
1637
|
-
*
|
|
1638
|
-
* @memberof GraphQLClient
|
|
1639
|
-
* @typedef {object} GraphQLClient.IndexedDelegationState_OpsEntry
|
|
1640
|
-
* @property {string} key
|
|
1641
|
-
* @property {...GraphQLClient.DelegateOpState} value
|
|
1642
|
-
*/
|
|
1643
|
-
|
|
1644
1676
|
/**
|
|
1645
1677
|
* Structure of GraphQLClient.IndexedFactoryInput
|
|
1646
1678
|
*
|
|
@@ -1669,8 +1701,8 @@
|
|
|
1669
1701
|
* @property {Array<...GraphQLClient.AssetFactoryHook>} hooks
|
|
1670
1702
|
* @property {...GraphQLClient.Any} data
|
|
1671
1703
|
* @property {string} balance
|
|
1672
|
-
* @property {Array<...GraphQLClient.
|
|
1673
|
-
* @property {
|
|
1704
|
+
* @property {Array<...GraphQLClient.TokenMeta>} tokens
|
|
1705
|
+
* @property {undefined} numMinted
|
|
1674
1706
|
* @property {string} lastSettlement
|
|
1675
1707
|
* @property {string} genesisTime
|
|
1676
1708
|
* @property {string} renaissanceTime
|
|
@@ -1683,7 +1715,7 @@
|
|
|
1683
1715
|
* @memberof GraphQLClient
|
|
1684
1716
|
* @typedef {object} GraphQLClient.IndexedRollupBlock
|
|
1685
1717
|
* @property {string} hash
|
|
1686
|
-
* @property {
|
|
1718
|
+
* @property {undefined} height
|
|
1687
1719
|
* @property {string} merkleRoot
|
|
1688
1720
|
* @property {string} previousHash
|
|
1689
1721
|
* @property {string} txsHash
|
|
@@ -1714,23 +1746,23 @@
|
|
|
1714
1746
|
* @property {Array<...GraphQLClient.RollupValidator>} validators
|
|
1715
1747
|
* @property {string} minStakeAmount
|
|
1716
1748
|
* @property {string} maxStakeAmount
|
|
1717
|
-
* @property {
|
|
1718
|
-
* @property {
|
|
1719
|
-
* @property {
|
|
1720
|
-
* @property {
|
|
1721
|
-
* @property {
|
|
1749
|
+
* @property {undefined} minSignerCount
|
|
1750
|
+
* @property {undefined} maxSignerCount
|
|
1751
|
+
* @property {undefined} minBlockSize
|
|
1752
|
+
* @property {undefined} maxBlockSize
|
|
1753
|
+
* @property {undefined} minBlockInterval
|
|
1722
1754
|
* @property {string} genesisTime
|
|
1723
1755
|
* @property {string} renaissanceTime
|
|
1724
1756
|
* @property {...GraphQLClient.IndexedTokenInput} tokenInfo
|
|
1725
1757
|
* @property {string} issuer
|
|
1726
|
-
* @property {
|
|
1727
|
-
* @property {
|
|
1728
|
-
* @property {
|
|
1758
|
+
* @property {undefined} depositFeeRate
|
|
1759
|
+
* @property {undefined} withdrawFeeRate
|
|
1760
|
+
* @property {undefined} proposerFeeShare
|
|
1729
1761
|
* @property {string} minDepositAmount
|
|
1730
1762
|
* @property {string} minWithdrawAmount
|
|
1731
|
-
* @property {
|
|
1763
|
+
* @property {undefined} blockHeight
|
|
1732
1764
|
* @property {string} blockHash
|
|
1733
|
-
* @property {
|
|
1765
|
+
* @property {undefined} minBlockConfirmation
|
|
1734
1766
|
* @property {string} totalDepositAmount
|
|
1735
1767
|
* @property {string} totalWithdrawAmount
|
|
1736
1768
|
* @property {string} maxDepositAmount
|
|
@@ -1741,10 +1773,10 @@
|
|
|
1741
1773
|
* @property {string} maxWithdrawFee
|
|
1742
1774
|
* @property {boolean} paused
|
|
1743
1775
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
1744
|
-
* @property {
|
|
1745
|
-
* @property {
|
|
1746
|
-
* @property {
|
|
1747
|
-
* @property {
|
|
1776
|
+
* @property {undefined} leaveWaitingPeriod
|
|
1777
|
+
* @property {undefined} publisherFeeShare
|
|
1778
|
+
* @property {undefined} publishWaitingPeriod
|
|
1779
|
+
* @property {undefined} publishSlashRate
|
|
1748
1780
|
* @property {Array<string>} migrateHistory
|
|
1749
1781
|
* @property {boolean} closed
|
|
1750
1782
|
* @property {Array<string>} vaultHistory
|
|
@@ -1768,9 +1800,9 @@
|
|
|
1768
1800
|
* @property {string} revokedStake
|
|
1769
1801
|
* @property {string} availableStake
|
|
1770
1802
|
* @property {string} totalGain
|
|
1771
|
-
* @property {
|
|
1772
|
-
* @property {
|
|
1773
|
-
* @property {
|
|
1803
|
+
* @property {undefined} proposedBlockCount
|
|
1804
|
+
* @property {undefined} verifiedBlockCount
|
|
1805
|
+
* @property {undefined} latestBlockHeight
|
|
1774
1806
|
* @property {string} latestBlockHash
|
|
1775
1807
|
* @property {string} rollup
|
|
1776
1808
|
*/
|
|
@@ -1783,14 +1815,14 @@
|
|
|
1783
1815
|
* @property {string} address
|
|
1784
1816
|
* @property {string} sender
|
|
1785
1817
|
* @property {string} receiver
|
|
1786
|
-
* @property {Array<...GraphQLClient.
|
|
1818
|
+
* @property {Array<...GraphQLClient.TokenMeta>} tokens
|
|
1787
1819
|
* @property {Array<string>} assets
|
|
1788
1820
|
* @property {boolean} revocable
|
|
1789
1821
|
* @property {string} genesisTime
|
|
1790
1822
|
* @property {string} renaissanceTime
|
|
1791
1823
|
* @property {string} message
|
|
1792
|
-
* @property {
|
|
1793
|
-
* @property {Array<...GraphQLClient.
|
|
1824
|
+
* @property {undefined} revokeWaitingPeriod
|
|
1825
|
+
* @property {Array<...GraphQLClient.TokenMeta>} revokedTokens
|
|
1794
1826
|
* @property {Array<string>} revokedAssets
|
|
1795
1827
|
* @property {Array<string>} slashers
|
|
1796
1828
|
* @property {string} nonce
|
|
@@ -1807,7 +1839,7 @@
|
|
|
1807
1839
|
* @property {string} tokenAddress
|
|
1808
1840
|
* @property {string} reserveAddress
|
|
1809
1841
|
* @property {...GraphQLClient.CurveConfig} curve
|
|
1810
|
-
* @property {
|
|
1842
|
+
* @property {undefined} feeRate
|
|
1811
1843
|
* @property {string} currentSupply
|
|
1812
1844
|
* @property {string} reserveBalance
|
|
1813
1845
|
* @property {string} status
|
|
@@ -1836,7 +1868,7 @@
|
|
|
1836
1868
|
* @typedef {object} GraphQLClient.IndexedTokenInput
|
|
1837
1869
|
* @property {string} address
|
|
1838
1870
|
* @property {string} value
|
|
1839
|
-
* @property {
|
|
1871
|
+
* @property {undefined} decimal
|
|
1840
1872
|
* @property {string} unit
|
|
1841
1873
|
* @property {string} symbol
|
|
1842
1874
|
*/
|
|
@@ -1850,22 +1882,22 @@
|
|
|
1850
1882
|
* @property {string} description
|
|
1851
1883
|
* @property {string} symbol
|
|
1852
1884
|
* @property {string} unit
|
|
1853
|
-
* @property {
|
|
1885
|
+
* @property {undefined} decimal
|
|
1854
1886
|
* @property {string} issuer
|
|
1855
1887
|
* @property {string} icon
|
|
1856
1888
|
* @property {string} totalSupply
|
|
1857
|
-
* @property {string} initialSupply
|
|
1858
|
-
* @property {string} maxTotalSupply
|
|
1859
1889
|
* @property {string} address
|
|
1860
1890
|
* @property {string} genesisTime
|
|
1861
1891
|
* @property {string} renaissanceTime
|
|
1862
1892
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
1863
1893
|
* @property {string} tokenFactoryAddress
|
|
1894
|
+
* @property {string} maxTotalSupply
|
|
1895
|
+
* @property {string} initialSupply
|
|
1896
|
+
* @property {...GraphQLClient.Any} metadata
|
|
1864
1897
|
* @property {string} website
|
|
1865
1898
|
* @property {Array<string>} spenders
|
|
1866
1899
|
* @property {Array<string>} minters
|
|
1867
1900
|
* @property {string} type
|
|
1868
|
-
* @property {...GraphQLClient.Any} metadata
|
|
1869
1901
|
* @property {...GraphQLClient.Any} data
|
|
1870
1902
|
*/
|
|
1871
1903
|
|
|
@@ -1882,7 +1914,7 @@
|
|
|
1882
1914
|
* @property {...GraphQLClient.Transaction} tx
|
|
1883
1915
|
* @property {boolean} valid
|
|
1884
1916
|
* @property {string} code
|
|
1885
|
-
* @property {Array<...GraphQLClient.
|
|
1917
|
+
* @property {Array<...GraphQLClient.TokenMeta>} tokenSymbols
|
|
1886
1918
|
* @property {Array<...GraphQLClient.TransactionReceipt>} receipts
|
|
1887
1919
|
*/
|
|
1888
1920
|
|
|
@@ -1957,6 +1989,18 @@
|
|
|
1957
1989
|
* @property {...GraphQLClient.Any} data
|
|
1958
1990
|
*/
|
|
1959
1991
|
|
|
1992
|
+
/**
|
|
1993
|
+
* Structure of GraphQLClient.MintTokenTx
|
|
1994
|
+
*
|
|
1995
|
+
* @memberof GraphQLClient
|
|
1996
|
+
* @typedef {object} GraphQLClient.MintTokenTx
|
|
1997
|
+
* @property {string} tokenFactory
|
|
1998
|
+
* @property {string} amount
|
|
1999
|
+
* @property {Array<...GraphQLClient.TransactionInput>} inputs
|
|
2000
|
+
* @property {string} receiver
|
|
2001
|
+
* @property {...GraphQLClient.Any} data
|
|
2002
|
+
*/
|
|
2003
|
+
|
|
1960
2004
|
/**
|
|
1961
2005
|
* Structure of GraphQLClient.Multisig
|
|
1962
2006
|
*
|
|
@@ -2004,7 +2048,7 @@
|
|
|
2004
2048
|
* @typedef {object} GraphQLClient.NetInfo
|
|
2005
2049
|
* @property {boolean} listening
|
|
2006
2050
|
* @property {Array<string>} listeners
|
|
2007
|
-
* @property {
|
|
2051
|
+
* @property {undefined} nPeers
|
|
2008
2052
|
* @property {Array<...GraphQLClient.PeerInfo>} peers
|
|
2009
2053
|
*/
|
|
2010
2054
|
|
|
@@ -2026,22 +2070,13 @@
|
|
|
2026
2070
|
* @property {string} votingPower
|
|
2027
2071
|
* @property {string} totalTxs
|
|
2028
2072
|
* @property {string} version
|
|
2029
|
-
* @property {
|
|
2073
|
+
* @property {undefined} forgeAppsVersion
|
|
2030
2074
|
* @property {Array<string>} supportedTxs
|
|
2031
2075
|
* @property {string} ip
|
|
2032
2076
|
* @property {...GraphQLClient.GeoInfo} geoInfo
|
|
2033
2077
|
* @property {string} p2pAddress
|
|
2034
2078
|
*/
|
|
2035
2079
|
|
|
2036
|
-
/**
|
|
2037
|
-
* Structure of GraphQLClient.NodeInfo_ForgeAppsVersionEntry
|
|
2038
|
-
*
|
|
2039
|
-
* @memberof GraphQLClient
|
|
2040
|
-
* @typedef {object} GraphQLClient.NodeInfo_ForgeAppsVersionEntry
|
|
2041
|
-
* @property {string} key
|
|
2042
|
-
* @property {string} value
|
|
2043
|
-
*/
|
|
2044
|
-
|
|
2045
2080
|
/**
|
|
2046
2081
|
* Structure of GraphQLClient.PageInfo
|
|
2047
2082
|
*
|
|
@@ -2049,7 +2084,7 @@
|
|
|
2049
2084
|
* @typedef {object} GraphQLClient.PageInfo
|
|
2050
2085
|
* @property {string} cursor
|
|
2051
2086
|
* @property {boolean} next
|
|
2052
|
-
* @property {
|
|
2087
|
+
* @property {undefined} total
|
|
2053
2088
|
*/
|
|
2054
2089
|
|
|
2055
2090
|
/**
|
|
@@ -2057,7 +2092,7 @@
|
|
|
2057
2092
|
*
|
|
2058
2093
|
* @memberof GraphQLClient
|
|
2059
2094
|
* @typedef {object} GraphQLClient.PartSetHeader
|
|
2060
|
-
* @property {
|
|
2095
|
+
* @property {undefined} total
|
|
2061
2096
|
* @property {string} hash
|
|
2062
2097
|
*/
|
|
2063
2098
|
|
|
@@ -2108,8 +2143,8 @@
|
|
|
2108
2143
|
*
|
|
2109
2144
|
* @memberof GraphQLClient
|
|
2110
2145
|
* @typedef {object} GraphQLClient.RateLimit
|
|
2111
|
-
* @property {
|
|
2112
|
-
* @property {
|
|
2146
|
+
* @property {undefined} interval
|
|
2147
|
+
* @property {undefined} anchor
|
|
2113
2148
|
*/
|
|
2114
2149
|
|
|
2115
2150
|
/**
|
|
@@ -2557,9 +2592,7 @@
|
|
|
2557
2592
|
"address": "abc",
|
|
2558
2593
|
"balance": "abc",
|
|
2559
2594
|
"transferIn": "abc",
|
|
2560
|
-
"transferOut": "abc"
|
|
2561
|
-
"accountCount": 123,
|
|
2562
|
-
"txCount": 123
|
|
2595
|
+
"transferOut": "abc"
|
|
2563
2596
|
}
|
|
2564
2597
|
}
|
|
2565
2598
|
}
|
|
@@ -2629,7 +2662,7 @@
|
|
|
2629
2662
|
* @memberof GraphQLClient
|
|
2630
2663
|
* @typedef {object} GraphQLClient.RollupBlock
|
|
2631
2664
|
* @property {string} hash
|
|
2632
|
-
* @property {
|
|
2665
|
+
* @property {undefined} height
|
|
2633
2666
|
* @property {string} merkleRoot
|
|
2634
2667
|
* @property {string} previousHash
|
|
2635
2668
|
* @property {string} txsHash
|
|
@@ -2659,20 +2692,20 @@
|
|
|
2659
2692
|
* @property {Array<...GraphQLClient.RollupValidator>} validators
|
|
2660
2693
|
* @property {string} minStakeAmount
|
|
2661
2694
|
* @property {string} maxStakeAmount
|
|
2662
|
-
* @property {
|
|
2663
|
-
* @property {
|
|
2664
|
-
* @property {
|
|
2665
|
-
* @property {
|
|
2666
|
-
* @property {
|
|
2667
|
-
* @property {
|
|
2695
|
+
* @property {undefined} minSignerCount
|
|
2696
|
+
* @property {undefined} maxSignerCount
|
|
2697
|
+
* @property {undefined} minBlockSize
|
|
2698
|
+
* @property {undefined} maxBlockSize
|
|
2699
|
+
* @property {undefined} minBlockInterval
|
|
2700
|
+
* @property {undefined} minBlockConfirmation
|
|
2668
2701
|
* @property {string} issuer
|
|
2669
|
-
* @property {
|
|
2670
|
-
* @property {
|
|
2671
|
-
* @property {
|
|
2672
|
-
* @property {
|
|
2702
|
+
* @property {undefined} depositFeeRate
|
|
2703
|
+
* @property {undefined} withdrawFeeRate
|
|
2704
|
+
* @property {undefined} proposerFeeShare
|
|
2705
|
+
* @property {undefined} publisherFeeShare
|
|
2673
2706
|
* @property {string} minDepositAmount
|
|
2674
2707
|
* @property {string} minWithdrawAmount
|
|
2675
|
-
* @property {
|
|
2708
|
+
* @property {undefined} blockHeight
|
|
2676
2709
|
* @property {string} blockHash
|
|
2677
2710
|
* @property {...GraphQLClient.IndexedTokenInput} tokenInfo
|
|
2678
2711
|
* @property {string} totalDepositAmount
|
|
@@ -2685,9 +2718,9 @@
|
|
|
2685
2718
|
* @property {string} maxWithdrawFee
|
|
2686
2719
|
* @property {boolean} paused
|
|
2687
2720
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
2688
|
-
* @property {
|
|
2689
|
-
* @property {
|
|
2690
|
-
* @property {
|
|
2721
|
+
* @property {undefined} leaveWaitingPeriod
|
|
2722
|
+
* @property {undefined} publishWaitingPeriod
|
|
2723
|
+
* @property {undefined} publishSlashRate
|
|
2691
2724
|
* @property {Array<string>} migrateHistory
|
|
2692
2725
|
* @property {boolean} closed
|
|
2693
2726
|
* @property {Array<string>} vaultHistory
|
|
@@ -2713,6 +2746,10 @@
|
|
|
2713
2746
|
* @property {string} type
|
|
2714
2747
|
* @property {string} id
|
|
2715
2748
|
* @property {string} title
|
|
2749
|
+
* @property {string} subtitle
|
|
2750
|
+
* @property {string} description
|
|
2751
|
+
* @property {Array<string>} tags
|
|
2752
|
+
* @property {string} timestamp
|
|
2716
2753
|
*/
|
|
2717
2754
|
|
|
2718
2755
|
/**
|
|
@@ -2738,7 +2775,7 @@
|
|
|
2738
2775
|
* @property {Array<string>} assets
|
|
2739
2776
|
* @property {boolean} revocable
|
|
2740
2777
|
* @property {string} message
|
|
2741
|
-
* @property {
|
|
2778
|
+
* @property {undefined} revokeWaitingPeriod
|
|
2742
2779
|
* @property {Array<...GraphQLClient.IndexedTokenInput>} revokedTokens
|
|
2743
2780
|
* @property {Array<string>} revokedAssets
|
|
2744
2781
|
* @property {Array<string>} slashers
|
|
@@ -2757,7 +2794,7 @@
|
|
|
2757
2794
|
* @property {Array<...GraphQLClient.TransactionInput>} inputs
|
|
2758
2795
|
* @property {boolean} locked
|
|
2759
2796
|
* @property {string} message
|
|
2760
|
-
* @property {
|
|
2797
|
+
* @property {undefined} revokeWaitingPeriod
|
|
2761
2798
|
* @property {Array<string>} slashers
|
|
2762
2799
|
* @property {string} nonce
|
|
2763
2800
|
* @property {...GraphQLClient.Any} data
|
|
@@ -2796,17 +2833,17 @@
|
|
|
2796
2833
|
* @memberof GraphQLClient
|
|
2797
2834
|
* @typedef {object} GraphQLClient.TokenFactoryState
|
|
2798
2835
|
* @property {string} address
|
|
2836
|
+
* @property {string} ownerAddress
|
|
2799
2837
|
* @property {string} tokenAddress
|
|
2800
2838
|
* @property {string} reserveAddress
|
|
2839
|
+
* @property {...GraphQLClient.CurveConfig} curve
|
|
2801
2840
|
* @property {string} currentSupply
|
|
2802
2841
|
* @property {string} reserveBalance
|
|
2803
|
-
* @property {
|
|
2804
|
-
* @property {
|
|
2805
|
-
* @property {...GraphQLClient.CurveConfig} curve
|
|
2806
|
-
* @property {...GraphQLClient.StateContext} context
|
|
2842
|
+
* @property {undefined} feeRate
|
|
2843
|
+
* @property {...GraphQLClient.TokenFactoryStatus} status
|
|
2807
2844
|
* @property {...GraphQLClient.TokenState} token
|
|
2808
2845
|
* @property {...GraphQLClient.TokenState} reserveToken
|
|
2809
|
-
* @property {...GraphQLClient.
|
|
2846
|
+
* @property {...GraphQLClient.StateContext} context
|
|
2810
2847
|
*/
|
|
2811
2848
|
|
|
2812
2849
|
/**
|
|
@@ -2815,10 +2852,18 @@
|
|
|
2815
2852
|
* @memberof GraphQLClient
|
|
2816
2853
|
* @typedef {object} GraphQLClient.TokenInfo
|
|
2817
2854
|
* @property {string} address
|
|
2818
|
-
* @property {string} balance
|
|
2819
|
-
* @property {number} decimal
|
|
2820
|
-
* @property {string} unit
|
|
2821
2855
|
* @property {string} symbol
|
|
2856
|
+
* @property {undefined} decimal
|
|
2857
|
+
* @property {string} unit
|
|
2858
|
+
* @property {string} name
|
|
2859
|
+
* @property {string} description
|
|
2860
|
+
* @property {string} icon
|
|
2861
|
+
* @property {string} maxTotalSupply
|
|
2862
|
+
* @property {...GraphQLClient.Any} metadata
|
|
2863
|
+
* @property {string} website
|
|
2864
|
+
* @property {Array<string>} spenders
|
|
2865
|
+
* @property {Array<string>} minters
|
|
2866
|
+
* @property {string} type
|
|
2822
2867
|
*/
|
|
2823
2868
|
|
|
2824
2869
|
/**
|
|
@@ -2837,15 +2882,27 @@
|
|
|
2837
2882
|
* @typedef {object} GraphQLClient.TokenLimit
|
|
2838
2883
|
* @property {string} address
|
|
2839
2884
|
* @property {Array<string>} to
|
|
2840
|
-
* @property {
|
|
2885
|
+
* @property {undefined} txCount
|
|
2841
2886
|
* @property {string} txAllowance
|
|
2842
2887
|
* @property {string} totalAllowance
|
|
2843
|
-
* @property {
|
|
2888
|
+
* @property {undefined} validUntil
|
|
2844
2889
|
* @property {...GraphQLClient.RateLimit} rate
|
|
2845
|
-
* @property {
|
|
2890
|
+
* @property {undefined} txSent
|
|
2846
2891
|
* @property {string} spentAllowance
|
|
2847
|
-
* @property {
|
|
2848
|
-
* @property {
|
|
2892
|
+
* @property {undefined} lastTx
|
|
2893
|
+
* @property {undefined} decimal
|
|
2894
|
+
* @property {string} symbol
|
|
2895
|
+
*/
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* Structure of GraphQLClient.TokenMeta
|
|
2899
|
+
*
|
|
2900
|
+
* @memberof GraphQLClient
|
|
2901
|
+
* @typedef {object} GraphQLClient.TokenMeta
|
|
2902
|
+
* @property {string} address
|
|
2903
|
+
* @property {string} balance
|
|
2904
|
+
* @property {undefined} decimal
|
|
2905
|
+
* @property {string} unit
|
|
2849
2906
|
* @property {string} symbol
|
|
2850
2907
|
*/
|
|
2851
2908
|
|
|
@@ -2860,19 +2917,19 @@
|
|
|
2860
2917
|
* @property {string} description
|
|
2861
2918
|
* @property {string} symbol
|
|
2862
2919
|
* @property {string} unit
|
|
2863
|
-
* @property {
|
|
2920
|
+
* @property {undefined} decimal
|
|
2864
2921
|
* @property {string} icon
|
|
2865
2922
|
* @property {string} totalSupply
|
|
2866
|
-
* @property {string} initialSupply
|
|
2867
|
-
* @property {string} maxTotalSupply
|
|
2868
2923
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
2869
2924
|
* @property {string} tokenFactoryAddress
|
|
2925
|
+
* @property {string} initialSupply
|
|
2926
|
+
* @property {string} maxTotalSupply
|
|
2927
|
+
* @property {...GraphQLClient.Any} metadata
|
|
2928
|
+
* @property {...GraphQLClient.StateContext} context
|
|
2870
2929
|
* @property {string} website
|
|
2871
2930
|
* @property {Array<string>} spenders
|
|
2872
2931
|
* @property {Array<string>} minters
|
|
2873
2932
|
* @property {string} type
|
|
2874
|
-
* @property {...GraphQLClient.Any} metadata
|
|
2875
|
-
* @property {...GraphQLClient.StateContext} context
|
|
2876
2933
|
* @property {...GraphQLClient.Any} data
|
|
2877
2934
|
*/
|
|
2878
2935
|
|
|
@@ -2883,7 +2940,7 @@
|
|
|
2883
2940
|
* @typedef {object} GraphQLClient.TokenSymbol
|
|
2884
2941
|
* @property {string} address
|
|
2885
2942
|
* @property {string} symbol
|
|
2886
|
-
* @property {
|
|
2943
|
+
* @property {undefined} decimal
|
|
2887
2944
|
* @property {string} unit
|
|
2888
2945
|
*/
|
|
2889
2946
|
|
|
@@ -2912,9 +2969,9 @@
|
|
|
2912
2969
|
*
|
|
2913
2970
|
* @memberof GraphQLClient
|
|
2914
2971
|
* @typedef {object} GraphQLClient.TransactionConfig
|
|
2915
|
-
* @property {
|
|
2916
|
-
* @property {
|
|
2917
|
-
* @property {
|
|
2972
|
+
* @property {undefined} maxAssetSize
|
|
2973
|
+
* @property {undefined} maxListSize
|
|
2974
|
+
* @property {undefined} maxMultisig
|
|
2918
2975
|
* @property {...GraphQLClient.DelegateConfig} delegate
|
|
2919
2976
|
* @property {Array<...GraphQLClient.TxFeeConfig>} txFee
|
|
2920
2977
|
* @property {...GraphQLClient.TxGasConfig} txGas
|
|
@@ -2928,7 +2985,7 @@
|
|
|
2928
2985
|
* @typedef {object} GraphQLClient.TransactionInfo
|
|
2929
2986
|
* @property {...GraphQLClient.Transaction} tx
|
|
2930
2987
|
* @property {string} height
|
|
2931
|
-
* @property {
|
|
2988
|
+
* @property {undefined} index
|
|
2932
2989
|
* @property {string} hash
|
|
2933
2990
|
* @property {Array<...GraphQLClient.KVPair>} tags
|
|
2934
2991
|
* @property {string} code
|
|
@@ -3005,13 +3062,13 @@
|
|
|
3005
3062
|
*
|
|
3006
3063
|
* @memberof GraphQLClient
|
|
3007
3064
|
* @typedef {object} GraphQLClient.TxGasConfig
|
|
3008
|
-
* @property {
|
|
3009
|
-
* @property {
|
|
3010
|
-
* @property {
|
|
3011
|
-
* @property {
|
|
3065
|
+
* @property {undefined} price
|
|
3066
|
+
* @property {undefined} createState
|
|
3067
|
+
* @property {undefined} updateState
|
|
3068
|
+
* @property {undefined} dataStorage
|
|
3012
3069
|
* @property {string} minStake
|
|
3013
3070
|
* @property {string} maxStake
|
|
3014
|
-
* @property {
|
|
3071
|
+
* @property {undefined} stakeLockPeriod
|
|
3015
3072
|
*/
|
|
3016
3073
|
|
|
3017
3074
|
/**
|
|
@@ -3019,9 +3076,8 @@
|
|
|
3019
3076
|
*
|
|
3020
3077
|
* @memberof GraphQLClient
|
|
3021
3078
|
* @typedef {object} GraphQLClient.TxStakeConfig
|
|
3022
|
-
* @property {
|
|
3023
|
-
* @property {
|
|
3024
|
-
* @property {number} createTokenLockPeriod
|
|
3079
|
+
* @property {undefined} createToken
|
|
3080
|
+
* @property {undefined} createTokenLockPeriod
|
|
3025
3081
|
*/
|
|
3026
3082
|
|
|
3027
3083
|
/**
|
|
@@ -3029,7 +3085,7 @@
|
|
|
3029
3085
|
*
|
|
3030
3086
|
* @memberof GraphQLClient
|
|
3031
3087
|
* @typedef {object} GraphQLClient.UnconfirmedTxs
|
|
3032
|
-
* @property {
|
|
3088
|
+
* @property {undefined} nTxs
|
|
3033
3089
|
* @property {Array<...GraphQLClient.Transaction>} txs
|
|
3034
3090
|
*/
|
|
3035
3091
|
|
|
@@ -3065,15 +3121,6 @@
|
|
|
3065
3121
|
{
|
|
3066
3122
|
"minStakeAmount": "abc",
|
|
3067
3123
|
"maxStakeAmount": "abc",
|
|
3068
|
-
"minSignerCount": 123,
|
|
3069
|
-
"maxSignerCount": 123,
|
|
3070
|
-
"minBlockSize": 123,
|
|
3071
|
-
"maxBlockSize": 123,
|
|
3072
|
-
"minBlockInterval": 123,
|
|
3073
|
-
"minBlockConfirmation": 123,
|
|
3074
|
-
"depositFeeRate": 123,
|
|
3075
|
-
"withdrawFeeRate": 123,
|
|
3076
|
-
"proposerFeeShare": 123,
|
|
3077
3124
|
"minDepositAmount": "abc",
|
|
3078
3125
|
"minWithdrawAmount": "abc",
|
|
3079
3126
|
"maxDepositAmount": "abc",
|
|
@@ -3082,10 +3129,6 @@
|
|
|
3082
3129
|
"maxDepositFee": "abc",
|
|
3083
3130
|
"minWithdrawFee": "abc",
|
|
3084
3131
|
"maxWithdrawFee": "abc",
|
|
3085
|
-
"publisherFeeShare": 123,
|
|
3086
|
-
"leaveWaitingPeriod": 123,
|
|
3087
|
-
"publishWaitingPeriod": 123,
|
|
3088
|
-
"publishSlashRate": 123,
|
|
3089
3132
|
"rollup": "abc",
|
|
3090
3133
|
"data": {
|
|
3091
3134
|
"typeUrl": "abc",
|
|
@@ -3098,15 +3141,15 @@
|
|
|
3098
3141
|
* @typedef {object} GraphQLClient.UpdateRollupTx
|
|
3099
3142
|
* @property {string} minStakeAmount
|
|
3100
3143
|
* @property {string} maxStakeAmount
|
|
3101
|
-
* @property {
|
|
3102
|
-
* @property {
|
|
3103
|
-
* @property {
|
|
3104
|
-
* @property {
|
|
3105
|
-
* @property {
|
|
3106
|
-
* @property {
|
|
3107
|
-
* @property {
|
|
3108
|
-
* @property {
|
|
3109
|
-
* @property {
|
|
3144
|
+
* @property {undefined} minSignerCount
|
|
3145
|
+
* @property {undefined} maxSignerCount
|
|
3146
|
+
* @property {undefined} minBlockSize
|
|
3147
|
+
* @property {undefined} maxBlockSize
|
|
3148
|
+
* @property {undefined} minBlockInterval
|
|
3149
|
+
* @property {undefined} minBlockConfirmation
|
|
3150
|
+
* @property {undefined} depositFeeRate
|
|
3151
|
+
* @property {undefined} withdrawFeeRate
|
|
3152
|
+
* @property {undefined} proposerFeeShare
|
|
3110
3153
|
* @property {string} minDepositAmount
|
|
3111
3154
|
* @property {string} minWithdrawAmount
|
|
3112
3155
|
* @property {string} maxDepositAmount
|
|
@@ -3115,14 +3158,25 @@
|
|
|
3115
3158
|
* @property {string} maxDepositFee
|
|
3116
3159
|
* @property {string} minWithdrawFee
|
|
3117
3160
|
* @property {string} maxWithdrawFee
|
|
3118
|
-
* @property {
|
|
3119
|
-
* @property {
|
|
3120
|
-
* @property {
|
|
3121
|
-
* @property {
|
|
3161
|
+
* @property {undefined} publisherFeeShare
|
|
3162
|
+
* @property {undefined} leaveWaitingPeriod
|
|
3163
|
+
* @property {undefined} publishWaitingPeriod
|
|
3164
|
+
* @property {undefined} publishSlashRate
|
|
3122
3165
|
* @property {string} rollup
|
|
3123
3166
|
* @property {...GraphQLClient.Any} data
|
|
3124
3167
|
*/
|
|
3125
3168
|
|
|
3169
|
+
/**
|
|
3170
|
+
* Structure of GraphQLClient.UpdateTokenFactoryTx
|
|
3171
|
+
*
|
|
3172
|
+
* @memberof GraphQLClient
|
|
3173
|
+
* @typedef {object} GraphQLClient.UpdateTokenFactoryTx
|
|
3174
|
+
* @property {string} address
|
|
3175
|
+
* @property {undefined} feeRate
|
|
3176
|
+
* @property {...GraphQLClient.TokenInfo} token
|
|
3177
|
+
* @property {...GraphQLClient.Any} data
|
|
3178
|
+
*/
|
|
3179
|
+
|
|
3126
3180
|
/**
|
|
3127
3181
|
* Structure of GraphQLClient.UpgradeInfo
|
|
3128
3182
|
*
|
|
@@ -3138,7 +3192,6 @@
|
|
|
3138
3192
|
* Checkout the following snippet for the format of UpgradeNodeTx:
|
|
3139
3193
|
* ```json
|
|
3140
3194
|
{
|
|
3141
|
-
"height": 123,
|
|
3142
3195
|
"version": "abc",
|
|
3143
3196
|
"override": true
|
|
3144
3197
|
}
|
|
@@ -3146,7 +3199,7 @@
|
|
|
3146
3199
|
*
|
|
3147
3200
|
* @memberof GraphQLClient
|
|
3148
3201
|
* @typedef {object} GraphQLClient.UpgradeNodeTx
|
|
3149
|
-
* @property {
|
|
3202
|
+
* @property {undefined} height
|
|
3150
3203
|
* @property {string} version
|
|
3151
3204
|
* @property {boolean} override
|
|
3152
3205
|
*/
|
|
@@ -3240,8 +3293,8 @@
|
|
|
3240
3293
|
* @property {string} balance
|
|
3241
3294
|
* @property {string} transferIn
|
|
3242
3295
|
* @property {string} transferOut
|
|
3243
|
-
* @property {
|
|
3244
|
-
* @property {
|
|
3296
|
+
* @property {undefined} accountCount
|
|
3297
|
+
* @property {undefined} txCount
|
|
3245
3298
|
*/
|
|
3246
3299
|
|
|
3247
3300
|
/**
|
|
@@ -3249,8 +3302,8 @@
|
|
|
3249
3302
|
*
|
|
3250
3303
|
* @memberof GraphQLClient
|
|
3251
3304
|
* @typedef {object} GraphQLClient.Version
|
|
3252
|
-
* @property {
|
|
3253
|
-
* @property {
|
|
3305
|
+
* @property {undefined} block
|
|
3306
|
+
* @property {undefined} app
|
|
3254
3307
|
*/
|
|
3255
3308
|
|
|
3256
3309
|
/**
|
|
@@ -3988,10 +4041,10 @@
|
|
|
3988
4041
|
|
|
3989
4042
|
/**
|
|
3990
4043
|
* @memberof GraphQLClient
|
|
3991
|
-
* @typedef {Object} GraphQLClient.
|
|
4044
|
+
* @typedef {Object} GraphQLClient.DelegateTxInput
|
|
3992
4045
|
* @prop {object} input
|
|
3993
4046
|
* @prop {object} input.tx - data of the transaction
|
|
3994
|
-
* @prop {GraphQLClient.
|
|
4047
|
+
* @prop {GraphQLClient.DelegateTx} input.tx.itx - the actual transaction object
|
|
3995
4048
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
3996
4049
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
3997
4050
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4003,22 +4056,22 @@
|
|
|
4003
4056
|
*/
|
|
4004
4057
|
|
|
4005
4058
|
/**
|
|
4006
|
-
* Send
|
|
4059
|
+
* Send DelegateTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4007
4060
|
*
|
|
4008
4061
|
* @memberof GraphQLClient
|
|
4009
4062
|
* @function
|
|
4010
|
-
* @name GraphQLClient#
|
|
4011
|
-
* @param {GraphQLClient.
|
|
4063
|
+
* @name GraphQLClient#sendDelegateTx
|
|
4064
|
+
* @param {GraphQLClient.DelegateTxInput} params
|
|
4012
4065
|
* @param {object} extra
|
|
4013
4066
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4014
4067
|
*/
|
|
4015
4068
|
|
|
4016
4069
|
/**
|
|
4017
4070
|
* @memberof GraphQLClient
|
|
4018
|
-
* @typedef {Object} GraphQLClient.
|
|
4071
|
+
* @typedef {Object} GraphQLClient.RevokeDelegateTxInput
|
|
4019
4072
|
* @prop {object} input
|
|
4020
4073
|
* @prop {object} input.tx - data of the transaction
|
|
4021
|
-
* @prop {GraphQLClient.
|
|
4074
|
+
* @prop {GraphQLClient.RevokeDelegateTx} input.tx.itx - the actual transaction object
|
|
4022
4075
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4023
4076
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4024
4077
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4030,22 +4083,22 @@
|
|
|
4030
4083
|
*/
|
|
4031
4084
|
|
|
4032
4085
|
/**
|
|
4033
|
-
* Send
|
|
4086
|
+
* Send RevokeDelegateTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4034
4087
|
*
|
|
4035
4088
|
* @memberof GraphQLClient
|
|
4036
4089
|
* @function
|
|
4037
|
-
* @name GraphQLClient#
|
|
4038
|
-
* @param {GraphQLClient.
|
|
4090
|
+
* @name GraphQLClient#sendRevokeDelegateTx
|
|
4091
|
+
* @param {GraphQLClient.RevokeDelegateTxInput} params
|
|
4039
4092
|
* @param {object} extra
|
|
4040
4093
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4041
4094
|
*/
|
|
4042
4095
|
|
|
4043
4096
|
/**
|
|
4044
4097
|
* @memberof GraphQLClient
|
|
4045
|
-
* @typedef {Object} GraphQLClient.
|
|
4098
|
+
* @typedef {Object} GraphQLClient.UpgradeNodeTxInput
|
|
4046
4099
|
* @prop {object} input
|
|
4047
4100
|
* @prop {object} input.tx - data of the transaction
|
|
4048
|
-
* @prop {GraphQLClient.
|
|
4101
|
+
* @prop {GraphQLClient.UpgradeNodeTx} input.tx.itx - the actual transaction object
|
|
4049
4102
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4050
4103
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4051
4104
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4057,22 +4110,22 @@
|
|
|
4057
4110
|
*/
|
|
4058
4111
|
|
|
4059
4112
|
/**
|
|
4060
|
-
* Send
|
|
4113
|
+
* Send UpgradeNodeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4061
4114
|
*
|
|
4062
4115
|
* @memberof GraphQLClient
|
|
4063
4116
|
* @function
|
|
4064
|
-
* @name GraphQLClient#
|
|
4065
|
-
* @param {GraphQLClient.
|
|
4117
|
+
* @name GraphQLClient#sendUpgradeNodeTx
|
|
4118
|
+
* @param {GraphQLClient.UpgradeNodeTxInput} params
|
|
4066
4119
|
* @param {object} extra
|
|
4067
4120
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4068
4121
|
*/
|
|
4069
4122
|
|
|
4070
4123
|
/**
|
|
4071
4124
|
* @memberof GraphQLClient
|
|
4072
|
-
* @typedef {Object} GraphQLClient.
|
|
4125
|
+
* @typedef {Object} GraphQLClient.ExchangeTxInput
|
|
4073
4126
|
* @prop {object} input
|
|
4074
4127
|
* @prop {object} input.tx - data of the transaction
|
|
4075
|
-
* @prop {GraphQLClient.
|
|
4128
|
+
* @prop {GraphQLClient.ExchangeTx} input.tx.itx - the actual transaction object
|
|
4076
4129
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4077
4130
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4078
4131
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4084,22 +4137,22 @@
|
|
|
4084
4137
|
*/
|
|
4085
4138
|
|
|
4086
4139
|
/**
|
|
4087
|
-
* Send
|
|
4140
|
+
* Send ExchangeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4088
4141
|
*
|
|
4089
4142
|
* @memberof GraphQLClient
|
|
4090
4143
|
* @function
|
|
4091
|
-
* @name GraphQLClient#
|
|
4092
|
-
* @param {GraphQLClient.
|
|
4144
|
+
* @name GraphQLClient#sendExchangeTx
|
|
4145
|
+
* @param {GraphQLClient.ExchangeTxInput} params
|
|
4093
4146
|
* @param {object} extra
|
|
4094
4147
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4095
4148
|
*/
|
|
4096
4149
|
|
|
4097
4150
|
/**
|
|
4098
4151
|
* @memberof GraphQLClient
|
|
4099
|
-
* @typedef {Object} GraphQLClient.
|
|
4152
|
+
* @typedef {Object} GraphQLClient.ExchangeV2TxInput
|
|
4100
4153
|
* @prop {object} input
|
|
4101
4154
|
* @prop {object} input.tx - data of the transaction
|
|
4102
|
-
* @prop {GraphQLClient.
|
|
4155
|
+
* @prop {GraphQLClient.ExchangeV2Tx} input.tx.itx - the actual transaction object
|
|
4103
4156
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4104
4157
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4105
4158
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4111,22 +4164,22 @@
|
|
|
4111
4164
|
*/
|
|
4112
4165
|
|
|
4113
4166
|
/**
|
|
4114
|
-
* Send
|
|
4167
|
+
* Send ExchangeV2Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4115
4168
|
*
|
|
4116
4169
|
* @memberof GraphQLClient
|
|
4117
4170
|
* @function
|
|
4118
|
-
* @name GraphQLClient#
|
|
4119
|
-
* @param {GraphQLClient.
|
|
4171
|
+
* @name GraphQLClient#sendExchangeV2Tx
|
|
4172
|
+
* @param {GraphQLClient.ExchangeV2TxInput} params
|
|
4120
4173
|
* @param {object} extra
|
|
4121
4174
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4122
4175
|
*/
|
|
4123
4176
|
|
|
4124
4177
|
/**
|
|
4125
4178
|
* @memberof GraphQLClient
|
|
4126
|
-
* @typedef {Object} GraphQLClient.
|
|
4179
|
+
* @typedef {Object} GraphQLClient.TransferTxInput
|
|
4127
4180
|
* @prop {object} input
|
|
4128
4181
|
* @prop {object} input.tx - data of the transaction
|
|
4129
|
-
* @prop {GraphQLClient.
|
|
4182
|
+
* @prop {GraphQLClient.TransferTx} input.tx.itx - the actual transaction object
|
|
4130
4183
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4131
4184
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4132
4185
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4138,22 +4191,22 @@
|
|
|
4138
4191
|
*/
|
|
4139
4192
|
|
|
4140
4193
|
/**
|
|
4141
|
-
* Send
|
|
4194
|
+
* Send TransferTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4142
4195
|
*
|
|
4143
4196
|
* @memberof GraphQLClient
|
|
4144
4197
|
* @function
|
|
4145
|
-
* @name GraphQLClient#
|
|
4146
|
-
* @param {GraphQLClient.
|
|
4198
|
+
* @name GraphQLClient#sendTransferTx
|
|
4199
|
+
* @param {GraphQLClient.TransferTxInput} params
|
|
4147
4200
|
* @param {object} extra
|
|
4148
4201
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4149
4202
|
*/
|
|
4150
4203
|
|
|
4151
4204
|
/**
|
|
4152
4205
|
* @memberof GraphQLClient
|
|
4153
|
-
* @typedef {Object} GraphQLClient.
|
|
4206
|
+
* @typedef {Object} GraphQLClient.TransferV2TxInput
|
|
4154
4207
|
* @prop {object} input
|
|
4155
4208
|
* @prop {object} input.tx - data of the transaction
|
|
4156
|
-
* @prop {GraphQLClient.
|
|
4209
|
+
* @prop {GraphQLClient.TransferV2Tx} input.tx.itx - the actual transaction object
|
|
4157
4210
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4158
4211
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4159
4212
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4165,22 +4218,22 @@
|
|
|
4165
4218
|
*/
|
|
4166
4219
|
|
|
4167
4220
|
/**
|
|
4168
|
-
* Send
|
|
4221
|
+
* Send TransferV2Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4169
4222
|
*
|
|
4170
4223
|
* @memberof GraphQLClient
|
|
4171
4224
|
* @function
|
|
4172
|
-
* @name GraphQLClient#
|
|
4173
|
-
* @param {GraphQLClient.
|
|
4225
|
+
* @name GraphQLClient#sendTransferV2Tx
|
|
4226
|
+
* @param {GraphQLClient.TransferV2TxInput} params
|
|
4174
4227
|
* @param {object} extra
|
|
4175
4228
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4176
4229
|
*/
|
|
4177
4230
|
|
|
4178
4231
|
/**
|
|
4179
4232
|
* @memberof GraphQLClient
|
|
4180
|
-
* @typedef {Object} GraphQLClient.
|
|
4233
|
+
* @typedef {Object} GraphQLClient.TransferV3TxInput
|
|
4181
4234
|
* @prop {object} input
|
|
4182
4235
|
* @prop {object} input.tx - data of the transaction
|
|
4183
|
-
* @prop {GraphQLClient.
|
|
4236
|
+
* @prop {GraphQLClient.TransferV3Tx} input.tx.itx - the actual transaction object
|
|
4184
4237
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4185
4238
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4186
4239
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4192,22 +4245,22 @@
|
|
|
4192
4245
|
*/
|
|
4193
4246
|
|
|
4194
4247
|
/**
|
|
4195
|
-
* Send
|
|
4248
|
+
* Send TransferV3Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4196
4249
|
*
|
|
4197
4250
|
* @memberof GraphQLClient
|
|
4198
4251
|
* @function
|
|
4199
|
-
* @name GraphQLClient#
|
|
4200
|
-
* @param {GraphQLClient.
|
|
4252
|
+
* @name GraphQLClient#sendTransferV3Tx
|
|
4253
|
+
* @param {GraphQLClient.TransferV3TxInput} params
|
|
4201
4254
|
* @param {object} extra
|
|
4202
4255
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4203
4256
|
*/
|
|
4204
4257
|
|
|
4205
4258
|
/**
|
|
4206
4259
|
* @memberof GraphQLClient
|
|
4207
|
-
* @typedef {Object} GraphQLClient.
|
|
4260
|
+
* @typedef {Object} GraphQLClient.CreateTokenTxInput
|
|
4208
4261
|
* @prop {object} input
|
|
4209
4262
|
* @prop {object} input.tx - data of the transaction
|
|
4210
|
-
* @prop {GraphQLClient.
|
|
4263
|
+
* @prop {GraphQLClient.CreateTokenTx} input.tx.itx - the actual transaction object
|
|
4211
4264
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4212
4265
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4213
4266
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4219,22 +4272,22 @@
|
|
|
4219
4272
|
*/
|
|
4220
4273
|
|
|
4221
4274
|
/**
|
|
4222
|
-
* Send
|
|
4275
|
+
* Send CreateTokenTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4223
4276
|
*
|
|
4224
4277
|
* @memberof GraphQLClient
|
|
4225
4278
|
* @function
|
|
4226
|
-
* @name GraphQLClient#
|
|
4227
|
-
* @param {GraphQLClient.
|
|
4279
|
+
* @name GraphQLClient#sendCreateTokenTx
|
|
4280
|
+
* @param {GraphQLClient.CreateTokenTxInput} params
|
|
4228
4281
|
* @param {object} extra
|
|
4229
4282
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4230
4283
|
*/
|
|
4231
4284
|
|
|
4232
4285
|
/**
|
|
4233
4286
|
* @memberof GraphQLClient
|
|
4234
|
-
* @typedef {Object} GraphQLClient.
|
|
4287
|
+
* @typedef {Object} GraphQLClient.AcquireAssetV2TxInput
|
|
4235
4288
|
* @prop {object} input
|
|
4236
4289
|
* @prop {object} input.tx - data of the transaction
|
|
4237
|
-
* @prop {GraphQLClient.
|
|
4290
|
+
* @prop {GraphQLClient.AcquireAssetV2Tx} input.tx.itx - the actual transaction object
|
|
4238
4291
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4239
4292
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4240
4293
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4246,22 +4299,22 @@
|
|
|
4246
4299
|
*/
|
|
4247
4300
|
|
|
4248
4301
|
/**
|
|
4249
|
-
* Send
|
|
4302
|
+
* Send AcquireAssetV2Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4250
4303
|
*
|
|
4251
4304
|
* @memberof GraphQLClient
|
|
4252
4305
|
* @function
|
|
4253
|
-
* @name GraphQLClient#
|
|
4254
|
-
* @param {GraphQLClient.
|
|
4306
|
+
* @name GraphQLClient#sendAcquireAssetV2Tx
|
|
4307
|
+
* @param {GraphQLClient.AcquireAssetV2TxInput} params
|
|
4255
4308
|
* @param {object} extra
|
|
4256
4309
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4257
4310
|
*/
|
|
4258
4311
|
|
|
4259
4312
|
/**
|
|
4260
4313
|
* @memberof GraphQLClient
|
|
4261
|
-
* @typedef {Object} GraphQLClient.
|
|
4314
|
+
* @typedef {Object} GraphQLClient.AcquireAssetV3TxInput
|
|
4262
4315
|
* @prop {object} input
|
|
4263
4316
|
* @prop {object} input.tx - data of the transaction
|
|
4264
|
-
* @prop {GraphQLClient.
|
|
4317
|
+
* @prop {GraphQLClient.AcquireAssetV3Tx} input.tx.itx - the actual transaction object
|
|
4265
4318
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4266
4319
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4267
4320
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4273,22 +4326,22 @@
|
|
|
4273
4326
|
*/
|
|
4274
4327
|
|
|
4275
4328
|
/**
|
|
4276
|
-
* Send
|
|
4329
|
+
* Send AcquireAssetV3Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4277
4330
|
*
|
|
4278
4331
|
* @memberof GraphQLClient
|
|
4279
4332
|
* @function
|
|
4280
|
-
* @name GraphQLClient#
|
|
4281
|
-
* @param {GraphQLClient.
|
|
4333
|
+
* @name GraphQLClient#sendAcquireAssetV3Tx
|
|
4334
|
+
* @param {GraphQLClient.AcquireAssetV3TxInput} params
|
|
4282
4335
|
* @param {object} extra
|
|
4283
4336
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4284
4337
|
*/
|
|
4285
4338
|
|
|
4286
4339
|
/**
|
|
4287
4340
|
* @memberof GraphQLClient
|
|
4288
|
-
* @typedef {Object} GraphQLClient.
|
|
4341
|
+
* @typedef {Object} GraphQLClient.MintAssetTxInput
|
|
4289
4342
|
* @prop {object} input
|
|
4290
4343
|
* @prop {object} input.tx - data of the transaction
|
|
4291
|
-
* @prop {GraphQLClient.
|
|
4344
|
+
* @prop {GraphQLClient.MintAssetTx} input.tx.itx - the actual transaction object
|
|
4292
4345
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4293
4346
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4294
4347
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4300,22 +4353,22 @@
|
|
|
4300
4353
|
*/
|
|
4301
4354
|
|
|
4302
4355
|
/**
|
|
4303
|
-
* Send
|
|
4356
|
+
* Send MintAssetTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4304
4357
|
*
|
|
4305
4358
|
* @memberof GraphQLClient
|
|
4306
4359
|
* @function
|
|
4307
|
-
* @name GraphQLClient#
|
|
4308
|
-
* @param {GraphQLClient.
|
|
4360
|
+
* @name GraphQLClient#sendMintAssetTx
|
|
4361
|
+
* @param {GraphQLClient.MintAssetTxInput} params
|
|
4309
4362
|
* @param {object} extra
|
|
4310
4363
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4311
4364
|
*/
|
|
4312
4365
|
|
|
4313
4366
|
/**
|
|
4314
4367
|
* @memberof GraphQLClient
|
|
4315
|
-
* @typedef {Object} GraphQLClient.
|
|
4368
|
+
* @typedef {Object} GraphQLClient.CreateAssetTxInput
|
|
4316
4369
|
* @prop {object} input
|
|
4317
4370
|
* @prop {object} input.tx - data of the transaction
|
|
4318
|
-
* @prop {GraphQLClient.
|
|
4371
|
+
* @prop {GraphQLClient.CreateAssetTx} input.tx.itx - the actual transaction object
|
|
4319
4372
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4320
4373
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4321
4374
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4327,22 +4380,22 @@
|
|
|
4327
4380
|
*/
|
|
4328
4381
|
|
|
4329
4382
|
/**
|
|
4330
|
-
* Send
|
|
4383
|
+
* Send CreateAssetTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4331
4384
|
*
|
|
4332
4385
|
* @memberof GraphQLClient
|
|
4333
4386
|
* @function
|
|
4334
|
-
* @name GraphQLClient#
|
|
4335
|
-
* @param {GraphQLClient.
|
|
4387
|
+
* @name GraphQLClient#sendCreateAssetTx
|
|
4388
|
+
* @param {GraphQLClient.CreateAssetTxInput} params
|
|
4336
4389
|
* @param {object} extra
|
|
4337
4390
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4338
4391
|
*/
|
|
4339
4392
|
|
|
4340
4393
|
/**
|
|
4341
4394
|
* @memberof GraphQLClient
|
|
4342
|
-
* @typedef {Object} GraphQLClient.
|
|
4395
|
+
* @typedef {Object} GraphQLClient.UpdateAssetTxInput
|
|
4343
4396
|
* @prop {object} input
|
|
4344
4397
|
* @prop {object} input.tx - data of the transaction
|
|
4345
|
-
* @prop {GraphQLClient.
|
|
4398
|
+
* @prop {GraphQLClient.UpdateAssetTx} input.tx.itx - the actual transaction object
|
|
4346
4399
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4347
4400
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4348
4401
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4354,22 +4407,22 @@
|
|
|
4354
4407
|
*/
|
|
4355
4408
|
|
|
4356
4409
|
/**
|
|
4357
|
-
* Send
|
|
4410
|
+
* Send UpdateAssetTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4358
4411
|
*
|
|
4359
4412
|
* @memberof GraphQLClient
|
|
4360
4413
|
* @function
|
|
4361
|
-
* @name GraphQLClient#
|
|
4362
|
-
* @param {GraphQLClient.
|
|
4414
|
+
* @name GraphQLClient#sendUpdateAssetTx
|
|
4415
|
+
* @param {GraphQLClient.UpdateAssetTxInput} params
|
|
4363
4416
|
* @param {object} extra
|
|
4364
4417
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4365
4418
|
*/
|
|
4366
4419
|
|
|
4367
4420
|
/**
|
|
4368
4421
|
* @memberof GraphQLClient
|
|
4369
|
-
* @typedef {Object} GraphQLClient.
|
|
4422
|
+
* @typedef {Object} GraphQLClient.ConsumeAssetTxInput
|
|
4370
4423
|
* @prop {object} input
|
|
4371
4424
|
* @prop {object} input.tx - data of the transaction
|
|
4372
|
-
* @prop {GraphQLClient.
|
|
4425
|
+
* @prop {GraphQLClient.ConsumeAssetTx} input.tx.itx - the actual transaction object
|
|
4373
4426
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4374
4427
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4375
4428
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4381,22 +4434,22 @@
|
|
|
4381
4434
|
*/
|
|
4382
4435
|
|
|
4383
4436
|
/**
|
|
4384
|
-
* Send
|
|
4437
|
+
* Send ConsumeAssetTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4385
4438
|
*
|
|
4386
4439
|
* @memberof GraphQLClient
|
|
4387
4440
|
* @function
|
|
4388
|
-
* @name GraphQLClient#
|
|
4389
|
-
* @param {GraphQLClient.
|
|
4441
|
+
* @name GraphQLClient#sendConsumeAssetTx
|
|
4442
|
+
* @param {GraphQLClient.ConsumeAssetTxInput} params
|
|
4390
4443
|
* @param {object} extra
|
|
4391
4444
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4392
4445
|
*/
|
|
4393
4446
|
|
|
4394
4447
|
/**
|
|
4395
4448
|
* @memberof GraphQLClient
|
|
4396
|
-
* @typedef {Object} GraphQLClient.
|
|
4449
|
+
* @typedef {Object} GraphQLClient.CreateFactoryTxInput
|
|
4397
4450
|
* @prop {object} input
|
|
4398
4451
|
* @prop {object} input.tx - data of the transaction
|
|
4399
|
-
* @prop {GraphQLClient.
|
|
4452
|
+
* @prop {GraphQLClient.CreateFactoryTx} input.tx.itx - the actual transaction object
|
|
4400
4453
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4401
4454
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4402
4455
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4408,22 +4461,22 @@
|
|
|
4408
4461
|
*/
|
|
4409
4462
|
|
|
4410
4463
|
/**
|
|
4411
|
-
* Send
|
|
4464
|
+
* Send CreateFactoryTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4412
4465
|
*
|
|
4413
4466
|
* @memberof GraphQLClient
|
|
4414
4467
|
* @function
|
|
4415
|
-
* @name GraphQLClient#
|
|
4416
|
-
* @param {GraphQLClient.
|
|
4468
|
+
* @name GraphQLClient#sendCreateFactoryTx
|
|
4469
|
+
* @param {GraphQLClient.CreateFactoryTxInput} params
|
|
4417
4470
|
* @param {object} extra
|
|
4418
4471
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4419
4472
|
*/
|
|
4420
4473
|
|
|
4421
4474
|
/**
|
|
4422
4475
|
* @memberof GraphQLClient
|
|
4423
|
-
* @typedef {Object} GraphQLClient.
|
|
4476
|
+
* @typedef {Object} GraphQLClient.StakeTxInput
|
|
4424
4477
|
* @prop {object} input
|
|
4425
4478
|
* @prop {object} input.tx - data of the transaction
|
|
4426
|
-
* @prop {GraphQLClient.
|
|
4479
|
+
* @prop {GraphQLClient.StakeTx} input.tx.itx - the actual transaction object
|
|
4427
4480
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4428
4481
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4429
4482
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4435,22 +4488,22 @@
|
|
|
4435
4488
|
*/
|
|
4436
4489
|
|
|
4437
4490
|
/**
|
|
4438
|
-
* Send
|
|
4491
|
+
* Send StakeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4439
4492
|
*
|
|
4440
4493
|
* @memberof GraphQLClient
|
|
4441
4494
|
* @function
|
|
4442
|
-
* @name GraphQLClient#
|
|
4443
|
-
* @param {GraphQLClient.
|
|
4495
|
+
* @name GraphQLClient#sendStakeTx
|
|
4496
|
+
* @param {GraphQLClient.StakeTxInput} params
|
|
4444
4497
|
* @param {object} extra
|
|
4445
4498
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4446
4499
|
*/
|
|
4447
4500
|
|
|
4448
4501
|
/**
|
|
4449
4502
|
* @memberof GraphQLClient
|
|
4450
|
-
* @typedef {Object} GraphQLClient.
|
|
4503
|
+
* @typedef {Object} GraphQLClient.RevokeStakeTxInput
|
|
4451
4504
|
* @prop {object} input
|
|
4452
4505
|
* @prop {object} input.tx - data of the transaction
|
|
4453
|
-
* @prop {GraphQLClient.
|
|
4506
|
+
* @prop {GraphQLClient.RevokeStakeTx} input.tx.itx - the actual transaction object
|
|
4454
4507
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4455
4508
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4456
4509
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4462,22 +4515,22 @@
|
|
|
4462
4515
|
*/
|
|
4463
4516
|
|
|
4464
4517
|
/**
|
|
4465
|
-
* Send
|
|
4518
|
+
* Send RevokeStakeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4466
4519
|
*
|
|
4467
4520
|
* @memberof GraphQLClient
|
|
4468
4521
|
* @function
|
|
4469
|
-
* @name GraphQLClient#
|
|
4470
|
-
* @param {GraphQLClient.
|
|
4522
|
+
* @name GraphQLClient#sendRevokeStakeTx
|
|
4523
|
+
* @param {GraphQLClient.RevokeStakeTxInput} params
|
|
4471
4524
|
* @param {object} extra
|
|
4472
4525
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4473
4526
|
*/
|
|
4474
4527
|
|
|
4475
4528
|
/**
|
|
4476
4529
|
* @memberof GraphQLClient
|
|
4477
|
-
* @typedef {Object} GraphQLClient.
|
|
4530
|
+
* @typedef {Object} GraphQLClient.ClaimStakeTxInput
|
|
4478
4531
|
* @prop {object} input
|
|
4479
4532
|
* @prop {object} input.tx - data of the transaction
|
|
4480
|
-
* @prop {GraphQLClient.
|
|
4533
|
+
* @prop {GraphQLClient.ClaimStakeTx} input.tx.itx - the actual transaction object
|
|
4481
4534
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4482
4535
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4483
4536
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4489,22 +4542,22 @@
|
|
|
4489
4542
|
*/
|
|
4490
4543
|
|
|
4491
4544
|
/**
|
|
4492
|
-
* Send
|
|
4545
|
+
* Send ClaimStakeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4493
4546
|
*
|
|
4494
4547
|
* @memberof GraphQLClient
|
|
4495
4548
|
* @function
|
|
4496
|
-
* @name GraphQLClient#
|
|
4497
|
-
* @param {GraphQLClient.
|
|
4549
|
+
* @name GraphQLClient#sendClaimStakeTx
|
|
4550
|
+
* @param {GraphQLClient.ClaimStakeTxInput} params
|
|
4498
4551
|
* @param {object} extra
|
|
4499
4552
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4500
4553
|
*/
|
|
4501
4554
|
|
|
4502
4555
|
/**
|
|
4503
4556
|
* @memberof GraphQLClient
|
|
4504
|
-
* @typedef {Object} GraphQLClient.
|
|
4557
|
+
* @typedef {Object} GraphQLClient.SlashStakeTxInput
|
|
4505
4558
|
* @prop {object} input
|
|
4506
4559
|
* @prop {object} input.tx - data of the transaction
|
|
4507
|
-
* @prop {GraphQLClient.
|
|
4560
|
+
* @prop {GraphQLClient.SlashStakeTx} input.tx.itx - the actual transaction object
|
|
4508
4561
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4509
4562
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4510
4563
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4516,22 +4569,22 @@
|
|
|
4516
4569
|
*/
|
|
4517
4570
|
|
|
4518
4571
|
/**
|
|
4519
|
-
* Send
|
|
4572
|
+
* Send SlashStakeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4520
4573
|
*
|
|
4521
4574
|
* @memberof GraphQLClient
|
|
4522
4575
|
* @function
|
|
4523
|
-
* @name GraphQLClient#
|
|
4524
|
-
* @param {GraphQLClient.
|
|
4576
|
+
* @name GraphQLClient#sendSlashStakeTx
|
|
4577
|
+
* @param {GraphQLClient.SlashStakeTxInput} params
|
|
4525
4578
|
* @param {object} extra
|
|
4526
4579
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4527
4580
|
*/
|
|
4528
4581
|
|
|
4529
4582
|
/**
|
|
4530
4583
|
* @memberof GraphQLClient
|
|
4531
|
-
* @typedef {Object} GraphQLClient.
|
|
4584
|
+
* @typedef {Object} GraphQLClient.ReturnStakeTxInput
|
|
4532
4585
|
* @prop {object} input
|
|
4533
4586
|
* @prop {object} input.tx - data of the transaction
|
|
4534
|
-
* @prop {GraphQLClient.
|
|
4587
|
+
* @prop {GraphQLClient.ReturnStakeTx} input.tx.itx - the actual transaction object
|
|
4535
4588
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4536
4589
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4537
4590
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4543,22 +4596,22 @@
|
|
|
4543
4596
|
*/
|
|
4544
4597
|
|
|
4545
4598
|
/**
|
|
4546
|
-
* Send
|
|
4599
|
+
* Send ReturnStakeTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4547
4600
|
*
|
|
4548
4601
|
* @memberof GraphQLClient
|
|
4549
4602
|
* @function
|
|
4550
|
-
* @name GraphQLClient#
|
|
4551
|
-
* @param {GraphQLClient.
|
|
4603
|
+
* @name GraphQLClient#sendReturnStakeTx
|
|
4604
|
+
* @param {GraphQLClient.ReturnStakeTxInput} params
|
|
4552
4605
|
* @param {object} extra
|
|
4553
4606
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4554
4607
|
*/
|
|
4555
4608
|
|
|
4556
4609
|
/**
|
|
4557
4610
|
* @memberof GraphQLClient
|
|
4558
|
-
* @typedef {Object} GraphQLClient.
|
|
4611
|
+
* @typedef {Object} GraphQLClient.CreateRollupTxInput
|
|
4559
4612
|
* @prop {object} input
|
|
4560
4613
|
* @prop {object} input.tx - data of the transaction
|
|
4561
|
-
* @prop {GraphQLClient.
|
|
4614
|
+
* @prop {GraphQLClient.CreateRollupTx} input.tx.itx - the actual transaction object
|
|
4562
4615
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4563
4616
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4564
4617
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4570,22 +4623,22 @@
|
|
|
4570
4623
|
*/
|
|
4571
4624
|
|
|
4572
4625
|
/**
|
|
4573
|
-
* Send
|
|
4626
|
+
* Send CreateRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4574
4627
|
*
|
|
4575
4628
|
* @memberof GraphQLClient
|
|
4576
4629
|
* @function
|
|
4577
|
-
* @name GraphQLClient#
|
|
4578
|
-
* @param {GraphQLClient.
|
|
4630
|
+
* @name GraphQLClient#sendCreateRollupTx
|
|
4631
|
+
* @param {GraphQLClient.CreateRollupTxInput} params
|
|
4579
4632
|
* @param {object} extra
|
|
4580
4633
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4581
4634
|
*/
|
|
4582
4635
|
|
|
4583
4636
|
/**
|
|
4584
4637
|
* @memberof GraphQLClient
|
|
4585
|
-
* @typedef {Object} GraphQLClient.
|
|
4638
|
+
* @typedef {Object} GraphQLClient.UpdateRollupTxInput
|
|
4586
4639
|
* @prop {object} input
|
|
4587
4640
|
* @prop {object} input.tx - data of the transaction
|
|
4588
|
-
* @prop {GraphQLClient.
|
|
4641
|
+
* @prop {GraphQLClient.UpdateRollupTx} input.tx.itx - the actual transaction object
|
|
4589
4642
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4590
4643
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4591
4644
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4597,22 +4650,22 @@
|
|
|
4597
4650
|
*/
|
|
4598
4651
|
|
|
4599
4652
|
/**
|
|
4600
|
-
* Send
|
|
4653
|
+
* Send UpdateRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4601
4654
|
*
|
|
4602
4655
|
* @memberof GraphQLClient
|
|
4603
4656
|
* @function
|
|
4604
|
-
* @name GraphQLClient#
|
|
4605
|
-
* @param {GraphQLClient.
|
|
4657
|
+
* @name GraphQLClient#sendUpdateRollupTx
|
|
4658
|
+
* @param {GraphQLClient.UpdateRollupTxInput} params
|
|
4606
4659
|
* @param {object} extra
|
|
4607
4660
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4608
4661
|
*/
|
|
4609
4662
|
|
|
4610
4663
|
/**
|
|
4611
4664
|
* @memberof GraphQLClient
|
|
4612
|
-
* @typedef {Object} GraphQLClient.
|
|
4665
|
+
* @typedef {Object} GraphQLClient.JoinRollupTxInput
|
|
4613
4666
|
* @prop {object} input
|
|
4614
4667
|
* @prop {object} input.tx - data of the transaction
|
|
4615
|
-
* @prop {GraphQLClient.
|
|
4668
|
+
* @prop {GraphQLClient.JoinRollupTx} input.tx.itx - the actual transaction object
|
|
4616
4669
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4617
4670
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4618
4671
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4624,22 +4677,22 @@
|
|
|
4624
4677
|
*/
|
|
4625
4678
|
|
|
4626
4679
|
/**
|
|
4627
|
-
* Send
|
|
4680
|
+
* Send JoinRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4628
4681
|
*
|
|
4629
4682
|
* @memberof GraphQLClient
|
|
4630
4683
|
* @function
|
|
4631
|
-
* @name GraphQLClient#
|
|
4632
|
-
* @param {GraphQLClient.
|
|
4684
|
+
* @name GraphQLClient#sendJoinRollupTx
|
|
4685
|
+
* @param {GraphQLClient.JoinRollupTxInput} params
|
|
4633
4686
|
* @param {object} extra
|
|
4634
4687
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4635
4688
|
*/
|
|
4636
4689
|
|
|
4637
4690
|
/**
|
|
4638
4691
|
* @memberof GraphQLClient
|
|
4639
|
-
* @typedef {Object} GraphQLClient.
|
|
4692
|
+
* @typedef {Object} GraphQLClient.LeaveRollupTxInput
|
|
4640
4693
|
* @prop {object} input
|
|
4641
4694
|
* @prop {object} input.tx - data of the transaction
|
|
4642
|
-
* @prop {GraphQLClient.
|
|
4695
|
+
* @prop {GraphQLClient.LeaveRollupTx} input.tx.itx - the actual transaction object
|
|
4643
4696
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4644
4697
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4645
4698
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4651,22 +4704,22 @@
|
|
|
4651
4704
|
*/
|
|
4652
4705
|
|
|
4653
4706
|
/**
|
|
4654
|
-
* Send
|
|
4707
|
+
* Send LeaveRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4655
4708
|
*
|
|
4656
4709
|
* @memberof GraphQLClient
|
|
4657
4710
|
* @function
|
|
4658
|
-
* @name GraphQLClient#
|
|
4659
|
-
* @param {GraphQLClient.
|
|
4711
|
+
* @name GraphQLClient#sendLeaveRollupTx
|
|
4712
|
+
* @param {GraphQLClient.LeaveRollupTxInput} params
|
|
4660
4713
|
* @param {object} extra
|
|
4661
4714
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4662
4715
|
*/
|
|
4663
4716
|
|
|
4664
4717
|
/**
|
|
4665
4718
|
* @memberof GraphQLClient
|
|
4666
|
-
* @typedef {Object} GraphQLClient.
|
|
4719
|
+
* @typedef {Object} GraphQLClient.CreateRollupBlockTxInput
|
|
4667
4720
|
* @prop {object} input
|
|
4668
4721
|
* @prop {object} input.tx - data of the transaction
|
|
4669
|
-
* @prop {GraphQLClient.
|
|
4722
|
+
* @prop {GraphQLClient.CreateRollupBlockTx} input.tx.itx - the actual transaction object
|
|
4670
4723
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4671
4724
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4672
4725
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4678,22 +4731,22 @@
|
|
|
4678
4731
|
*/
|
|
4679
4732
|
|
|
4680
4733
|
/**
|
|
4681
|
-
* Send
|
|
4734
|
+
* Send CreateRollupBlockTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4682
4735
|
*
|
|
4683
4736
|
* @memberof GraphQLClient
|
|
4684
4737
|
* @function
|
|
4685
|
-
* @name GraphQLClient#
|
|
4686
|
-
* @param {GraphQLClient.
|
|
4738
|
+
* @name GraphQLClient#sendCreateRollupBlockTx
|
|
4739
|
+
* @param {GraphQLClient.CreateRollupBlockTxInput} params
|
|
4687
4740
|
* @param {object} extra
|
|
4688
4741
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4689
4742
|
*/
|
|
4690
4743
|
|
|
4691
4744
|
/**
|
|
4692
4745
|
* @memberof GraphQLClient
|
|
4693
|
-
* @typedef {Object} GraphQLClient.
|
|
4746
|
+
* @typedef {Object} GraphQLClient.ClaimBlockRewardTxInput
|
|
4694
4747
|
* @prop {object} input
|
|
4695
4748
|
* @prop {object} input.tx - data of the transaction
|
|
4696
|
-
* @prop {GraphQLClient.
|
|
4749
|
+
* @prop {GraphQLClient.ClaimBlockRewardTx} input.tx.itx - the actual transaction object
|
|
4697
4750
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4698
4751
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4699
4752
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4705,22 +4758,22 @@
|
|
|
4705
4758
|
*/
|
|
4706
4759
|
|
|
4707
4760
|
/**
|
|
4708
|
-
* Send
|
|
4761
|
+
* Send ClaimBlockRewardTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4709
4762
|
*
|
|
4710
4763
|
* @memberof GraphQLClient
|
|
4711
4764
|
* @function
|
|
4712
|
-
* @name GraphQLClient#
|
|
4713
|
-
* @param {GraphQLClient.
|
|
4765
|
+
* @name GraphQLClient#sendClaimBlockRewardTx
|
|
4766
|
+
* @param {GraphQLClient.ClaimBlockRewardTxInput} params
|
|
4714
4767
|
* @param {object} extra
|
|
4715
4768
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4716
4769
|
*/
|
|
4717
4770
|
|
|
4718
4771
|
/**
|
|
4719
4772
|
* @memberof GraphQLClient
|
|
4720
|
-
* @typedef {Object} GraphQLClient.
|
|
4773
|
+
* @typedef {Object} GraphQLClient.PauseRollupTxInput
|
|
4721
4774
|
* @prop {object} input
|
|
4722
4775
|
* @prop {object} input.tx - data of the transaction
|
|
4723
|
-
* @prop {GraphQLClient.
|
|
4776
|
+
* @prop {GraphQLClient.PauseRollupTx} input.tx.itx - the actual transaction object
|
|
4724
4777
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4725
4778
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4726
4779
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4732,22 +4785,22 @@
|
|
|
4732
4785
|
*/
|
|
4733
4786
|
|
|
4734
4787
|
/**
|
|
4735
|
-
* Send
|
|
4788
|
+
* Send PauseRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4736
4789
|
*
|
|
4737
4790
|
* @memberof GraphQLClient
|
|
4738
4791
|
* @function
|
|
4739
|
-
* @name GraphQLClient#
|
|
4740
|
-
* @param {GraphQLClient.
|
|
4792
|
+
* @name GraphQLClient#sendPauseRollupTx
|
|
4793
|
+
* @param {GraphQLClient.PauseRollupTxInput} params
|
|
4741
4794
|
* @param {object} extra
|
|
4742
4795
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4743
4796
|
*/
|
|
4744
4797
|
|
|
4745
4798
|
/**
|
|
4746
4799
|
* @memberof GraphQLClient
|
|
4747
|
-
* @typedef {Object} GraphQLClient.
|
|
4800
|
+
* @typedef {Object} GraphQLClient.ResumeRollupTxInput
|
|
4748
4801
|
* @prop {object} input
|
|
4749
4802
|
* @prop {object} input.tx - data of the transaction
|
|
4750
|
-
* @prop {GraphQLClient.
|
|
4803
|
+
* @prop {GraphQLClient.ResumeRollupTx} input.tx.itx - the actual transaction object
|
|
4751
4804
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4752
4805
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4753
4806
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4759,22 +4812,22 @@
|
|
|
4759
4812
|
*/
|
|
4760
4813
|
|
|
4761
4814
|
/**
|
|
4762
|
-
* Send
|
|
4815
|
+
* Send ResumeRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4763
4816
|
*
|
|
4764
4817
|
* @memberof GraphQLClient
|
|
4765
4818
|
* @function
|
|
4766
|
-
* @name GraphQLClient#
|
|
4767
|
-
* @param {GraphQLClient.
|
|
4819
|
+
* @name GraphQLClient#sendResumeRollupTx
|
|
4820
|
+
* @param {GraphQLClient.ResumeRollupTxInput} params
|
|
4768
4821
|
* @param {object} extra
|
|
4769
4822
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4770
4823
|
*/
|
|
4771
4824
|
|
|
4772
4825
|
/**
|
|
4773
4826
|
* @memberof GraphQLClient
|
|
4774
|
-
* @typedef {Object} GraphQLClient.
|
|
4827
|
+
* @typedef {Object} GraphQLClient.CloseRollupTxInput
|
|
4775
4828
|
* @prop {object} input
|
|
4776
4829
|
* @prop {object} input.tx - data of the transaction
|
|
4777
|
-
* @prop {GraphQLClient.
|
|
4830
|
+
* @prop {GraphQLClient.CloseRollupTx} input.tx.itx - the actual transaction object
|
|
4778
4831
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4779
4832
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4780
4833
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4786,22 +4839,22 @@
|
|
|
4786
4839
|
*/
|
|
4787
4840
|
|
|
4788
4841
|
/**
|
|
4789
|
-
* Send
|
|
4842
|
+
* Send CloseRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4790
4843
|
*
|
|
4791
4844
|
* @memberof GraphQLClient
|
|
4792
4845
|
* @function
|
|
4793
|
-
* @name GraphQLClient#
|
|
4794
|
-
* @param {GraphQLClient.
|
|
4846
|
+
* @name GraphQLClient#sendCloseRollupTx
|
|
4847
|
+
* @param {GraphQLClient.CloseRollupTxInput} params
|
|
4795
4848
|
* @param {object} extra
|
|
4796
4849
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4797
4850
|
*/
|
|
4798
4851
|
|
|
4799
4852
|
/**
|
|
4800
4853
|
* @memberof GraphQLClient
|
|
4801
|
-
* @typedef {Object} GraphQLClient.
|
|
4854
|
+
* @typedef {Object} GraphQLClient.MigrateRollupTxInput
|
|
4802
4855
|
* @prop {object} input
|
|
4803
4856
|
* @prop {object} input.tx - data of the transaction
|
|
4804
|
-
* @prop {GraphQLClient.
|
|
4857
|
+
* @prop {GraphQLClient.MigrateRollupTx} input.tx.itx - the actual transaction object
|
|
4805
4858
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4806
4859
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4807
4860
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4813,22 +4866,22 @@
|
|
|
4813
4866
|
*/
|
|
4814
4867
|
|
|
4815
4868
|
/**
|
|
4816
|
-
* Send
|
|
4869
|
+
* Send MigrateRollupTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4817
4870
|
*
|
|
4818
4871
|
* @memberof GraphQLClient
|
|
4819
4872
|
* @function
|
|
4820
|
-
* @name GraphQLClient#
|
|
4821
|
-
* @param {GraphQLClient.
|
|
4873
|
+
* @name GraphQLClient#sendMigrateRollupTx
|
|
4874
|
+
* @param {GraphQLClient.MigrateRollupTxInput} params
|
|
4822
4875
|
* @param {object} extra
|
|
4823
4876
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4824
4877
|
*/
|
|
4825
4878
|
|
|
4826
4879
|
/**
|
|
4827
4880
|
* @memberof GraphQLClient
|
|
4828
|
-
* @typedef {Object} GraphQLClient.
|
|
4881
|
+
* @typedef {Object} GraphQLClient.DepositTokenV2TxInput
|
|
4829
4882
|
* @prop {object} input
|
|
4830
4883
|
* @prop {object} input.tx - data of the transaction
|
|
4831
|
-
* @prop {GraphQLClient.
|
|
4884
|
+
* @prop {GraphQLClient.DepositTokenV2Tx} input.tx.itx - the actual transaction object
|
|
4832
4885
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4833
4886
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4834
4887
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4840,22 +4893,22 @@
|
|
|
4840
4893
|
*/
|
|
4841
4894
|
|
|
4842
4895
|
/**
|
|
4843
|
-
* Send
|
|
4896
|
+
* Send DepositTokenV2Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4844
4897
|
*
|
|
4845
4898
|
* @memberof GraphQLClient
|
|
4846
4899
|
* @function
|
|
4847
|
-
* @name GraphQLClient#
|
|
4848
|
-
* @param {GraphQLClient.
|
|
4900
|
+
* @name GraphQLClient#sendDepositTokenV2Tx
|
|
4901
|
+
* @param {GraphQLClient.DepositTokenV2TxInput} params
|
|
4849
4902
|
* @param {object} extra
|
|
4850
4903
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4851
4904
|
*/
|
|
4852
4905
|
|
|
4853
4906
|
/**
|
|
4854
4907
|
* @memberof GraphQLClient
|
|
4855
|
-
* @typedef {Object} GraphQLClient.
|
|
4908
|
+
* @typedef {Object} GraphQLClient.WithdrawTokenV2TxInput
|
|
4856
4909
|
* @prop {object} input
|
|
4857
4910
|
* @prop {object} input.tx - data of the transaction
|
|
4858
|
-
* @prop {GraphQLClient.
|
|
4911
|
+
* @prop {GraphQLClient.WithdrawTokenV2Tx} input.tx.itx - the actual transaction object
|
|
4859
4912
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4860
4913
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4861
4914
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4867,22 +4920,22 @@
|
|
|
4867
4920
|
*/
|
|
4868
4921
|
|
|
4869
4922
|
/**
|
|
4870
|
-
* Send
|
|
4923
|
+
* Send WithdrawTokenV2Tx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4871
4924
|
*
|
|
4872
4925
|
* @memberof GraphQLClient
|
|
4873
4926
|
* @function
|
|
4874
|
-
* @name GraphQLClient#
|
|
4875
|
-
* @param {GraphQLClient.
|
|
4927
|
+
* @name GraphQLClient#sendWithdrawTokenV2Tx
|
|
4928
|
+
* @param {GraphQLClient.WithdrawTokenV2TxInput} params
|
|
4876
4929
|
* @param {object} extra
|
|
4877
4930
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4878
4931
|
*/
|
|
4879
4932
|
|
|
4880
4933
|
/**
|
|
4881
4934
|
* @memberof GraphQLClient
|
|
4882
|
-
* @typedef {Object} GraphQLClient.
|
|
4935
|
+
* @typedef {Object} GraphQLClient.CreateTokenFactoryTxInput
|
|
4883
4936
|
* @prop {object} input
|
|
4884
4937
|
* @prop {object} input.tx - data of the transaction
|
|
4885
|
-
* @prop {GraphQLClient.
|
|
4938
|
+
* @prop {GraphQLClient.CreateTokenFactoryTx} input.tx.itx - the actual transaction object
|
|
4886
4939
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4887
4940
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4888
4941
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4894,12 +4947,12 @@
|
|
|
4894
4947
|
*/
|
|
4895
4948
|
|
|
4896
4949
|
/**
|
|
4897
|
-
* Send
|
|
4950
|
+
* Send CreateTokenFactoryTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4898
4951
|
*
|
|
4899
4952
|
* @memberof GraphQLClient
|
|
4900
4953
|
* @function
|
|
4901
|
-
* @name GraphQLClient#
|
|
4902
|
-
* @param {GraphQLClient.
|
|
4954
|
+
* @name GraphQLClient#sendCreateTokenFactoryTx
|
|
4955
|
+
* @param {GraphQLClient.CreateTokenFactoryTxInput} params
|
|
4903
4956
|
* @param {object} extra
|
|
4904
4957
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4905
4958
|
*/
|
|
@@ -4933,10 +4986,10 @@
|
|
|
4933
4986
|
|
|
4934
4987
|
/**
|
|
4935
4988
|
* @memberof GraphQLClient
|
|
4936
|
-
* @typedef {Object} GraphQLClient.
|
|
4989
|
+
* @typedef {Object} GraphQLClient.MintTokenTxInput
|
|
4937
4990
|
* @prop {object} input
|
|
4938
4991
|
* @prop {object} input.tx - data of the transaction
|
|
4939
|
-
* @prop {GraphQLClient.
|
|
4992
|
+
* @prop {GraphQLClient.MintTokenTx} input.tx.itx - the actual transaction object
|
|
4940
4993
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4941
4994
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4942
4995
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4948,22 +5001,22 @@
|
|
|
4948
5001
|
*/
|
|
4949
5002
|
|
|
4950
5003
|
/**
|
|
4951
|
-
* Send
|
|
5004
|
+
* Send MintTokenTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4952
5005
|
*
|
|
4953
5006
|
* @memberof GraphQLClient
|
|
4954
5007
|
* @function
|
|
4955
|
-
* @name GraphQLClient#
|
|
4956
|
-
* @param {GraphQLClient.
|
|
5008
|
+
* @name GraphQLClient#sendMintTokenTx
|
|
5009
|
+
* @param {GraphQLClient.MintTokenTxInput} params
|
|
4957
5010
|
* @param {object} extra
|
|
4958
5011
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4959
5012
|
*/
|
|
4960
5013
|
|
|
4961
5014
|
/**
|
|
4962
5015
|
* @memberof GraphQLClient
|
|
4963
|
-
* @typedef {Object} GraphQLClient.
|
|
5016
|
+
* @typedef {Object} GraphQLClient.BurnTokenTxInput
|
|
4964
5017
|
* @prop {object} input
|
|
4965
5018
|
* @prop {object} input.tx - data of the transaction
|
|
4966
|
-
* @prop {GraphQLClient.
|
|
5019
|
+
* @prop {GraphQLClient.BurnTokenTx} input.tx.itx - the actual transaction object
|
|
4967
5020
|
* @prop {string} [input.tx.pk] - the sender pk
|
|
4968
5021
|
* @prop {string} [input.tx.from] - the sender address, can be derived from wallet
|
|
4969
5022
|
* @prop {number} [input.tx.nonce] - the tx nonce, defaults to Date.now if not set
|
|
@@ -4975,12 +5028,12 @@
|
|
|
4975
5028
|
*/
|
|
4976
5029
|
|
|
4977
5030
|
/**
|
|
4978
|
-
* Send
|
|
5031
|
+
* Send BurnTokenTx transaction and get the hash, use {@link GraphQLClient#getTx} to get transaction detail
|
|
4979
5032
|
*
|
|
4980
5033
|
* @memberof GraphQLClient
|
|
4981
5034
|
* @function
|
|
4982
|
-
* @name GraphQLClient#
|
|
4983
|
-
* @param {GraphQLClient.
|
|
5035
|
+
* @name GraphQLClient#sendBurnTokenTx
|
|
5036
|
+
* @param {GraphQLClient.BurnTokenTxInput} params
|
|
4984
5037
|
* @param {object} extra
|
|
4985
5038
|
* @returns {Promise<string>} returns transaction hash if success, otherwise error was thrown
|
|
4986
5039
|
*/
|
|
@@ -4996,342 +5049,342 @@
|
|
|
4996
5049
|
*/
|
|
4997
5050
|
|
|
4998
5051
|
/**
|
|
4999
|
-
* Encode a
|
|
5052
|
+
* Encode a DelegateTx transaction for later use
|
|
5000
5053
|
*
|
|
5001
|
-
* @name GraphQLClient#
|
|
5054
|
+
* @name GraphQLClient#encodeDelegateTx
|
|
5002
5055
|
* @function
|
|
5003
5056
|
* @memberof GraphQLClient
|
|
5004
|
-
* @param {GraphQLClient.
|
|
5057
|
+
* @param {GraphQLClient.DelegateTxInput} params
|
|
5005
5058
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5006
5059
|
*/
|
|
5007
5060
|
|
|
5008
5061
|
/**
|
|
5009
|
-
* Encode a
|
|
5062
|
+
* Encode a RevokeDelegateTx transaction for later use
|
|
5010
5063
|
*
|
|
5011
|
-
* @name GraphQLClient#
|
|
5064
|
+
* @name GraphQLClient#encodeRevokeDelegateTx
|
|
5012
5065
|
* @function
|
|
5013
5066
|
* @memberof GraphQLClient
|
|
5014
|
-
* @param {GraphQLClient.
|
|
5067
|
+
* @param {GraphQLClient.RevokeDelegateTxInput} params
|
|
5015
5068
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5016
5069
|
*/
|
|
5017
5070
|
|
|
5018
5071
|
/**
|
|
5019
|
-
* Encode a
|
|
5072
|
+
* Encode a UpgradeNodeTx transaction for later use
|
|
5020
5073
|
*
|
|
5021
|
-
* @name GraphQLClient#
|
|
5074
|
+
* @name GraphQLClient#encodeUpgradeNodeTx
|
|
5022
5075
|
* @function
|
|
5023
5076
|
* @memberof GraphQLClient
|
|
5024
|
-
* @param {GraphQLClient.
|
|
5077
|
+
* @param {GraphQLClient.UpgradeNodeTxInput} params
|
|
5025
5078
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5026
5079
|
*/
|
|
5027
5080
|
|
|
5028
5081
|
/**
|
|
5029
|
-
* Encode a
|
|
5082
|
+
* Encode a ExchangeTx transaction for later use
|
|
5030
5083
|
*
|
|
5031
|
-
* @name GraphQLClient#
|
|
5084
|
+
* @name GraphQLClient#encodeExchangeTx
|
|
5032
5085
|
* @function
|
|
5033
5086
|
* @memberof GraphQLClient
|
|
5034
|
-
* @param {GraphQLClient.
|
|
5087
|
+
* @param {GraphQLClient.ExchangeTxInput} params
|
|
5035
5088
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5036
5089
|
*/
|
|
5037
5090
|
|
|
5038
5091
|
/**
|
|
5039
|
-
* Encode a
|
|
5092
|
+
* Encode a ExchangeV2Tx transaction for later use
|
|
5040
5093
|
*
|
|
5041
|
-
* @name GraphQLClient#
|
|
5094
|
+
* @name GraphQLClient#encodeExchangeV2Tx
|
|
5042
5095
|
* @function
|
|
5043
5096
|
* @memberof GraphQLClient
|
|
5044
|
-
* @param {GraphQLClient.
|
|
5097
|
+
* @param {GraphQLClient.ExchangeV2TxInput} params
|
|
5045
5098
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5046
5099
|
*/
|
|
5047
5100
|
|
|
5048
5101
|
/**
|
|
5049
|
-
* Encode a
|
|
5102
|
+
* Encode a TransferTx transaction for later use
|
|
5050
5103
|
*
|
|
5051
|
-
* @name GraphQLClient#
|
|
5104
|
+
* @name GraphQLClient#encodeTransferTx
|
|
5052
5105
|
* @function
|
|
5053
5106
|
* @memberof GraphQLClient
|
|
5054
|
-
* @param {GraphQLClient.
|
|
5107
|
+
* @param {GraphQLClient.TransferTxInput} params
|
|
5055
5108
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5056
5109
|
*/
|
|
5057
5110
|
|
|
5058
5111
|
/**
|
|
5059
|
-
* Encode a
|
|
5112
|
+
* Encode a TransferV2Tx transaction for later use
|
|
5060
5113
|
*
|
|
5061
|
-
* @name GraphQLClient#
|
|
5114
|
+
* @name GraphQLClient#encodeTransferV2Tx
|
|
5062
5115
|
* @function
|
|
5063
5116
|
* @memberof GraphQLClient
|
|
5064
|
-
* @param {GraphQLClient.
|
|
5117
|
+
* @param {GraphQLClient.TransferV2TxInput} params
|
|
5065
5118
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5066
5119
|
*/
|
|
5067
5120
|
|
|
5068
5121
|
/**
|
|
5069
|
-
* Encode a
|
|
5122
|
+
* Encode a TransferV3Tx transaction for later use
|
|
5070
5123
|
*
|
|
5071
|
-
* @name GraphQLClient#
|
|
5124
|
+
* @name GraphQLClient#encodeTransferV3Tx
|
|
5072
5125
|
* @function
|
|
5073
5126
|
* @memberof GraphQLClient
|
|
5074
|
-
* @param {GraphQLClient.
|
|
5127
|
+
* @param {GraphQLClient.TransferV3TxInput} params
|
|
5075
5128
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5076
5129
|
*/
|
|
5077
5130
|
|
|
5078
5131
|
/**
|
|
5079
|
-
* Encode a
|
|
5132
|
+
* Encode a CreateTokenTx transaction for later use
|
|
5080
5133
|
*
|
|
5081
|
-
* @name GraphQLClient#
|
|
5134
|
+
* @name GraphQLClient#encodeCreateTokenTx
|
|
5082
5135
|
* @function
|
|
5083
5136
|
* @memberof GraphQLClient
|
|
5084
|
-
* @param {GraphQLClient.
|
|
5137
|
+
* @param {GraphQLClient.CreateTokenTxInput} params
|
|
5085
5138
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5086
5139
|
*/
|
|
5087
5140
|
|
|
5088
5141
|
/**
|
|
5089
|
-
* Encode a
|
|
5142
|
+
* Encode a AcquireAssetV2Tx transaction for later use
|
|
5090
5143
|
*
|
|
5091
|
-
* @name GraphQLClient#
|
|
5144
|
+
* @name GraphQLClient#encodeAcquireAssetV2Tx
|
|
5092
5145
|
* @function
|
|
5093
5146
|
* @memberof GraphQLClient
|
|
5094
|
-
* @param {GraphQLClient.
|
|
5147
|
+
* @param {GraphQLClient.AcquireAssetV2TxInput} params
|
|
5095
5148
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5096
5149
|
*/
|
|
5097
5150
|
|
|
5098
5151
|
/**
|
|
5099
|
-
* Encode a
|
|
5152
|
+
* Encode a AcquireAssetV3Tx transaction for later use
|
|
5100
5153
|
*
|
|
5101
|
-
* @name GraphQLClient#
|
|
5154
|
+
* @name GraphQLClient#encodeAcquireAssetV3Tx
|
|
5102
5155
|
* @function
|
|
5103
5156
|
* @memberof GraphQLClient
|
|
5104
|
-
* @param {GraphQLClient.
|
|
5157
|
+
* @param {GraphQLClient.AcquireAssetV3TxInput} params
|
|
5105
5158
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5106
5159
|
*/
|
|
5107
5160
|
|
|
5108
5161
|
/**
|
|
5109
|
-
* Encode a
|
|
5162
|
+
* Encode a MintAssetTx transaction for later use
|
|
5110
5163
|
*
|
|
5111
|
-
* @name GraphQLClient#
|
|
5164
|
+
* @name GraphQLClient#encodeMintAssetTx
|
|
5112
5165
|
* @function
|
|
5113
5166
|
* @memberof GraphQLClient
|
|
5114
|
-
* @param {GraphQLClient.
|
|
5167
|
+
* @param {GraphQLClient.MintAssetTxInput} params
|
|
5115
5168
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5116
5169
|
*/
|
|
5117
5170
|
|
|
5118
5171
|
/**
|
|
5119
|
-
* Encode a
|
|
5172
|
+
* Encode a CreateAssetTx transaction for later use
|
|
5120
5173
|
*
|
|
5121
|
-
* @name GraphQLClient#
|
|
5174
|
+
* @name GraphQLClient#encodeCreateAssetTx
|
|
5122
5175
|
* @function
|
|
5123
5176
|
* @memberof GraphQLClient
|
|
5124
|
-
* @param {GraphQLClient.
|
|
5177
|
+
* @param {GraphQLClient.CreateAssetTxInput} params
|
|
5125
5178
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5126
5179
|
*/
|
|
5127
5180
|
|
|
5128
5181
|
/**
|
|
5129
|
-
* Encode a
|
|
5182
|
+
* Encode a UpdateAssetTx transaction for later use
|
|
5130
5183
|
*
|
|
5131
|
-
* @name GraphQLClient#
|
|
5184
|
+
* @name GraphQLClient#encodeUpdateAssetTx
|
|
5132
5185
|
* @function
|
|
5133
5186
|
* @memberof GraphQLClient
|
|
5134
|
-
* @param {GraphQLClient.
|
|
5187
|
+
* @param {GraphQLClient.UpdateAssetTxInput} params
|
|
5135
5188
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5136
5189
|
*/
|
|
5137
5190
|
|
|
5138
5191
|
/**
|
|
5139
|
-
* Encode a
|
|
5192
|
+
* Encode a ConsumeAssetTx transaction for later use
|
|
5140
5193
|
*
|
|
5141
|
-
* @name GraphQLClient#
|
|
5194
|
+
* @name GraphQLClient#encodeConsumeAssetTx
|
|
5142
5195
|
* @function
|
|
5143
5196
|
* @memberof GraphQLClient
|
|
5144
|
-
* @param {GraphQLClient.
|
|
5197
|
+
* @param {GraphQLClient.ConsumeAssetTxInput} params
|
|
5145
5198
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5146
5199
|
*/
|
|
5147
5200
|
|
|
5148
5201
|
/**
|
|
5149
|
-
* Encode a
|
|
5202
|
+
* Encode a CreateFactoryTx transaction for later use
|
|
5150
5203
|
*
|
|
5151
|
-
* @name GraphQLClient#
|
|
5204
|
+
* @name GraphQLClient#encodeCreateFactoryTx
|
|
5152
5205
|
* @function
|
|
5153
5206
|
* @memberof GraphQLClient
|
|
5154
|
-
* @param {GraphQLClient.
|
|
5207
|
+
* @param {GraphQLClient.CreateFactoryTxInput} params
|
|
5155
5208
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5156
5209
|
*/
|
|
5157
5210
|
|
|
5158
5211
|
/**
|
|
5159
|
-
* Encode a
|
|
5212
|
+
* Encode a StakeTx transaction for later use
|
|
5160
5213
|
*
|
|
5161
|
-
* @name GraphQLClient#
|
|
5214
|
+
* @name GraphQLClient#encodeStakeTx
|
|
5162
5215
|
* @function
|
|
5163
5216
|
* @memberof GraphQLClient
|
|
5164
|
-
* @param {GraphQLClient.
|
|
5217
|
+
* @param {GraphQLClient.StakeTxInput} params
|
|
5165
5218
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5166
5219
|
*/
|
|
5167
5220
|
|
|
5168
5221
|
/**
|
|
5169
|
-
* Encode a
|
|
5222
|
+
* Encode a RevokeStakeTx transaction for later use
|
|
5170
5223
|
*
|
|
5171
|
-
* @name GraphQLClient#
|
|
5224
|
+
* @name GraphQLClient#encodeRevokeStakeTx
|
|
5172
5225
|
* @function
|
|
5173
5226
|
* @memberof GraphQLClient
|
|
5174
|
-
* @param {GraphQLClient.
|
|
5227
|
+
* @param {GraphQLClient.RevokeStakeTxInput} params
|
|
5175
5228
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5176
5229
|
*/
|
|
5177
5230
|
|
|
5178
5231
|
/**
|
|
5179
|
-
* Encode a
|
|
5232
|
+
* Encode a ClaimStakeTx transaction for later use
|
|
5180
5233
|
*
|
|
5181
|
-
* @name GraphQLClient#
|
|
5234
|
+
* @name GraphQLClient#encodeClaimStakeTx
|
|
5182
5235
|
* @function
|
|
5183
5236
|
* @memberof GraphQLClient
|
|
5184
|
-
* @param {GraphQLClient.
|
|
5237
|
+
* @param {GraphQLClient.ClaimStakeTxInput} params
|
|
5185
5238
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5186
5239
|
*/
|
|
5187
5240
|
|
|
5188
5241
|
/**
|
|
5189
|
-
* Encode a
|
|
5242
|
+
* Encode a SlashStakeTx transaction for later use
|
|
5190
5243
|
*
|
|
5191
|
-
* @name GraphQLClient#
|
|
5244
|
+
* @name GraphQLClient#encodeSlashStakeTx
|
|
5192
5245
|
* @function
|
|
5193
5246
|
* @memberof GraphQLClient
|
|
5194
|
-
* @param {GraphQLClient.
|
|
5247
|
+
* @param {GraphQLClient.SlashStakeTxInput} params
|
|
5195
5248
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5196
5249
|
*/
|
|
5197
5250
|
|
|
5198
5251
|
/**
|
|
5199
|
-
* Encode a
|
|
5252
|
+
* Encode a ReturnStakeTx transaction for later use
|
|
5200
5253
|
*
|
|
5201
|
-
* @name GraphQLClient#
|
|
5254
|
+
* @name GraphQLClient#encodeReturnStakeTx
|
|
5202
5255
|
* @function
|
|
5203
5256
|
* @memberof GraphQLClient
|
|
5204
|
-
* @param {GraphQLClient.
|
|
5257
|
+
* @param {GraphQLClient.ReturnStakeTxInput} params
|
|
5205
5258
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5206
5259
|
*/
|
|
5207
5260
|
|
|
5208
5261
|
/**
|
|
5209
|
-
* Encode a
|
|
5262
|
+
* Encode a CreateRollupTx transaction for later use
|
|
5210
5263
|
*
|
|
5211
|
-
* @name GraphQLClient#
|
|
5264
|
+
* @name GraphQLClient#encodeCreateRollupTx
|
|
5212
5265
|
* @function
|
|
5213
5266
|
* @memberof GraphQLClient
|
|
5214
|
-
* @param {GraphQLClient.
|
|
5267
|
+
* @param {GraphQLClient.CreateRollupTxInput} params
|
|
5215
5268
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5216
5269
|
*/
|
|
5217
5270
|
|
|
5218
5271
|
/**
|
|
5219
|
-
* Encode a
|
|
5272
|
+
* Encode a UpdateRollupTx transaction for later use
|
|
5220
5273
|
*
|
|
5221
|
-
* @name GraphQLClient#
|
|
5274
|
+
* @name GraphQLClient#encodeUpdateRollupTx
|
|
5222
5275
|
* @function
|
|
5223
5276
|
* @memberof GraphQLClient
|
|
5224
|
-
* @param {GraphQLClient.
|
|
5277
|
+
* @param {GraphQLClient.UpdateRollupTxInput} params
|
|
5225
5278
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5226
5279
|
*/
|
|
5227
5280
|
|
|
5228
5281
|
/**
|
|
5229
|
-
* Encode a
|
|
5282
|
+
* Encode a JoinRollupTx transaction for later use
|
|
5230
5283
|
*
|
|
5231
|
-
* @name GraphQLClient#
|
|
5284
|
+
* @name GraphQLClient#encodeJoinRollupTx
|
|
5232
5285
|
* @function
|
|
5233
5286
|
* @memberof GraphQLClient
|
|
5234
|
-
* @param {GraphQLClient.
|
|
5287
|
+
* @param {GraphQLClient.JoinRollupTxInput} params
|
|
5235
5288
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5236
5289
|
*/
|
|
5237
5290
|
|
|
5238
5291
|
/**
|
|
5239
|
-
* Encode a
|
|
5292
|
+
* Encode a LeaveRollupTx transaction for later use
|
|
5240
5293
|
*
|
|
5241
|
-
* @name GraphQLClient#
|
|
5294
|
+
* @name GraphQLClient#encodeLeaveRollupTx
|
|
5242
5295
|
* @function
|
|
5243
5296
|
* @memberof GraphQLClient
|
|
5244
|
-
* @param {GraphQLClient.
|
|
5297
|
+
* @param {GraphQLClient.LeaveRollupTxInput} params
|
|
5245
5298
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5246
5299
|
*/
|
|
5247
5300
|
|
|
5248
5301
|
/**
|
|
5249
|
-
* Encode a
|
|
5302
|
+
* Encode a CreateRollupBlockTx transaction for later use
|
|
5250
5303
|
*
|
|
5251
|
-
* @name GraphQLClient#
|
|
5304
|
+
* @name GraphQLClient#encodeCreateRollupBlockTx
|
|
5252
5305
|
* @function
|
|
5253
5306
|
* @memberof GraphQLClient
|
|
5254
|
-
* @param {GraphQLClient.
|
|
5307
|
+
* @param {GraphQLClient.CreateRollupBlockTxInput} params
|
|
5255
5308
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5256
5309
|
*/
|
|
5257
5310
|
|
|
5258
5311
|
/**
|
|
5259
|
-
* Encode a
|
|
5312
|
+
* Encode a ClaimBlockRewardTx transaction for later use
|
|
5260
5313
|
*
|
|
5261
|
-
* @name GraphQLClient#
|
|
5314
|
+
* @name GraphQLClient#encodeClaimBlockRewardTx
|
|
5262
5315
|
* @function
|
|
5263
5316
|
* @memberof GraphQLClient
|
|
5264
|
-
* @param {GraphQLClient.
|
|
5317
|
+
* @param {GraphQLClient.ClaimBlockRewardTxInput} params
|
|
5265
5318
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5266
5319
|
*/
|
|
5267
5320
|
|
|
5268
5321
|
/**
|
|
5269
|
-
* Encode a
|
|
5322
|
+
* Encode a PauseRollupTx transaction for later use
|
|
5270
5323
|
*
|
|
5271
|
-
* @name GraphQLClient#
|
|
5324
|
+
* @name GraphQLClient#encodePauseRollupTx
|
|
5272
5325
|
* @function
|
|
5273
5326
|
* @memberof GraphQLClient
|
|
5274
|
-
* @param {GraphQLClient.
|
|
5327
|
+
* @param {GraphQLClient.PauseRollupTxInput} params
|
|
5275
5328
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5276
5329
|
*/
|
|
5277
5330
|
|
|
5278
5331
|
/**
|
|
5279
|
-
* Encode a
|
|
5332
|
+
* Encode a ResumeRollupTx transaction for later use
|
|
5280
5333
|
*
|
|
5281
|
-
* @name GraphQLClient#
|
|
5334
|
+
* @name GraphQLClient#encodeResumeRollupTx
|
|
5282
5335
|
* @function
|
|
5283
5336
|
* @memberof GraphQLClient
|
|
5284
|
-
* @param {GraphQLClient.
|
|
5337
|
+
* @param {GraphQLClient.ResumeRollupTxInput} params
|
|
5285
5338
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5286
5339
|
*/
|
|
5287
5340
|
|
|
5288
5341
|
/**
|
|
5289
|
-
* Encode a
|
|
5342
|
+
* Encode a CloseRollupTx transaction for later use
|
|
5290
5343
|
*
|
|
5291
|
-
* @name GraphQLClient#
|
|
5344
|
+
* @name GraphQLClient#encodeCloseRollupTx
|
|
5292
5345
|
* @function
|
|
5293
5346
|
* @memberof GraphQLClient
|
|
5294
|
-
* @param {GraphQLClient.
|
|
5347
|
+
* @param {GraphQLClient.CloseRollupTxInput} params
|
|
5295
5348
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5296
5349
|
*/
|
|
5297
5350
|
|
|
5298
5351
|
/**
|
|
5299
|
-
* Encode a
|
|
5352
|
+
* Encode a MigrateRollupTx transaction for later use
|
|
5300
5353
|
*
|
|
5301
|
-
* @name GraphQLClient#
|
|
5354
|
+
* @name GraphQLClient#encodeMigrateRollupTx
|
|
5302
5355
|
* @function
|
|
5303
5356
|
* @memberof GraphQLClient
|
|
5304
|
-
* @param {GraphQLClient.
|
|
5357
|
+
* @param {GraphQLClient.MigrateRollupTxInput} params
|
|
5305
5358
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5306
5359
|
*/
|
|
5307
5360
|
|
|
5308
5361
|
/**
|
|
5309
|
-
* Encode a
|
|
5362
|
+
* Encode a DepositTokenV2Tx transaction for later use
|
|
5310
5363
|
*
|
|
5311
|
-
* @name GraphQLClient#
|
|
5364
|
+
* @name GraphQLClient#encodeDepositTokenV2Tx
|
|
5312
5365
|
* @function
|
|
5313
5366
|
* @memberof GraphQLClient
|
|
5314
|
-
* @param {GraphQLClient.
|
|
5367
|
+
* @param {GraphQLClient.DepositTokenV2TxInput} params
|
|
5315
5368
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5316
5369
|
*/
|
|
5317
5370
|
|
|
5318
5371
|
/**
|
|
5319
|
-
* Encode a
|
|
5372
|
+
* Encode a WithdrawTokenV2Tx transaction for later use
|
|
5320
5373
|
*
|
|
5321
|
-
* @name GraphQLClient#
|
|
5374
|
+
* @name GraphQLClient#encodeWithdrawTokenV2Tx
|
|
5322
5375
|
* @function
|
|
5323
5376
|
* @memberof GraphQLClient
|
|
5324
|
-
* @param {GraphQLClient.
|
|
5377
|
+
* @param {GraphQLClient.WithdrawTokenV2TxInput} params
|
|
5325
5378
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5326
5379
|
*/
|
|
5327
5380
|
|
|
5328
5381
|
/**
|
|
5329
|
-
* Encode a
|
|
5382
|
+
* Encode a CreateTokenFactoryTx transaction for later use
|
|
5330
5383
|
*
|
|
5331
|
-
* @name GraphQLClient#
|
|
5384
|
+
* @name GraphQLClient#encodeCreateTokenFactoryTx
|
|
5332
5385
|
* @function
|
|
5333
5386
|
* @memberof GraphQLClient
|
|
5334
|
-
* @param {GraphQLClient.
|
|
5387
|
+
* @param {GraphQLClient.CreateTokenFactoryTxInput} params
|
|
5335
5388
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5336
5389
|
*/
|
|
5337
5390
|
|
|
@@ -5346,22 +5399,22 @@
|
|
|
5346
5399
|
*/
|
|
5347
5400
|
|
|
5348
5401
|
/**
|
|
5349
|
-
* Encode a
|
|
5402
|
+
* Encode a MintTokenTx transaction for later use
|
|
5350
5403
|
*
|
|
5351
|
-
* @name GraphQLClient#
|
|
5404
|
+
* @name GraphQLClient#encodeMintTokenTx
|
|
5352
5405
|
* @function
|
|
5353
5406
|
* @memberof GraphQLClient
|
|
5354
|
-
* @param {GraphQLClient.
|
|
5407
|
+
* @param {GraphQLClient.MintTokenTxInput} params
|
|
5355
5408
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5356
5409
|
*/
|
|
5357
5410
|
|
|
5358
5411
|
/**
|
|
5359
|
-
* Encode a
|
|
5412
|
+
* Encode a BurnTokenTx transaction for later use
|
|
5360
5413
|
*
|
|
5361
|
-
* @name GraphQLClient#
|
|
5414
|
+
* @name GraphQLClient#encodeBurnTokenTx
|
|
5362
5415
|
* @function
|
|
5363
5416
|
* @memberof GraphQLClient
|
|
5364
|
-
* @param {GraphQLClient.
|
|
5417
|
+
* @param {GraphQLClient.BurnTokenTxInput} params
|
|
5365
5418
|
* @returns {Promise<GraphQLClient.TxEncodeOutput>} result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
5366
5419
|
*/
|
|
5367
5420
|
|