@ocap/client 1.21.2 → 1.22.0
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 +110 -0
- package/dist/bundle.js +1 -1
- package/dist/extension.js +137 -0
- package/dist/extension.js.map +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +734 -92
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +288 -0
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +450 -0
- package/docs/README.md +417 -59
- package/lib/base.js +1 -1
- package/lib/extension.js +137 -0
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +110 -0
- package/lib/schema/graphql.json +734 -92
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +288 -0
- package/lib/types.js.map +1 -1
- package/package.json +14 -14
package/docs/README.md
CHANGED
|
@@ -45,6 +45,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
45
45
|
* [sendAccountMigrateTx(params, extra)](#GraphQLClient+sendAccountMigrateTx) ⇒ `Promise.<string>`
|
|
46
46
|
* [sendAcquireAssetV2Tx(params, extra)](#GraphQLClient+sendAcquireAssetV2Tx) ⇒ `Promise.<string>`
|
|
47
47
|
* [sendAcquireAssetV3Tx(params, extra)](#GraphQLClient+sendAcquireAssetV3Tx) ⇒ `Promise.<string>`
|
|
48
|
+
* [sendBurnTokenTx(params, extra)](#GraphQLClient+sendBurnTokenTx) ⇒ `Promise.<string>`
|
|
48
49
|
* [sendClaimBlockRewardTx(params, extra)](#GraphQLClient+sendClaimBlockRewardTx) ⇒ `Promise.<string>`
|
|
49
50
|
* [sendClaimStakeTx(params, extra)](#GraphQLClient+sendClaimStakeTx) ⇒ `Promise.<string>`
|
|
50
51
|
* [sendCloseRollupTx(params, extra)](#GraphQLClient+sendCloseRollupTx) ⇒ `Promise.<string>`
|
|
@@ -53,6 +54,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
53
54
|
* [sendCreateFactoryTx(params, extra)](#GraphQLClient+sendCreateFactoryTx) ⇒ `Promise.<string>`
|
|
54
55
|
* [sendCreateRollupBlockTx(params, extra)](#GraphQLClient+sendCreateRollupBlockTx) ⇒ `Promise.<string>`
|
|
55
56
|
* [sendCreateRollupTx(params, extra)](#GraphQLClient+sendCreateRollupTx) ⇒ `Promise.<string>`
|
|
57
|
+
* [sendCreateTokenFactoryTx(params, extra)](#GraphQLClient+sendCreateTokenFactoryTx) ⇒ `Promise.<string>`
|
|
56
58
|
* [sendCreateTokenTx(params, extra)](#GraphQLClient+sendCreateTokenTx) ⇒ `Promise.<string>`
|
|
57
59
|
* [sendDelegateTx(params, extra)](#GraphQLClient+sendDelegateTx) ⇒ `Promise.<string>`
|
|
58
60
|
* [sendDepositTokenV2Tx(params, extra)](#GraphQLClient+sendDepositTokenV2Tx) ⇒ `Promise.<string>`
|
|
@@ -62,6 +64,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
62
64
|
* [sendLeaveRollupTx(params, extra)](#GraphQLClient+sendLeaveRollupTx) ⇒ `Promise.<string>`
|
|
63
65
|
* [sendMigrateRollupTx(params, extra)](#GraphQLClient+sendMigrateRollupTx) ⇒ `Promise.<string>`
|
|
64
66
|
* [sendMintAssetTx(params, extra)](#GraphQLClient+sendMintAssetTx) ⇒ `Promise.<string>`
|
|
67
|
+
* [sendMintTokenTx(params, extra)](#GraphQLClient+sendMintTokenTx) ⇒ `Promise.<string>`
|
|
65
68
|
* [sendPauseRollupTx(params, extra)](#GraphQLClient+sendPauseRollupTx) ⇒ `Promise.<string>`
|
|
66
69
|
* [sendResumeRollupTx(params, extra)](#GraphQLClient+sendResumeRollupTx) ⇒ `Promise.<string>`
|
|
67
70
|
* [sendReturnStakeTx(params, extra)](#GraphQLClient+sendReturnStakeTx) ⇒ `Promise.<string>`
|
|
@@ -74,11 +77,13 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
74
77
|
* [sendTransferV3Tx(params, extra)](#GraphQLClient+sendTransferV3Tx) ⇒ `Promise.<string>`
|
|
75
78
|
* [sendUpdateAssetTx(params, extra)](#GraphQLClient+sendUpdateAssetTx) ⇒ `Promise.<string>`
|
|
76
79
|
* [sendUpdateRollupTx(params, extra)](#GraphQLClient+sendUpdateRollupTx) ⇒ `Promise.<string>`
|
|
80
|
+
* [sendUpdateTokenFactoryTx(params, extra)](#GraphQLClient+sendUpdateTokenFactoryTx) ⇒ `Promise.<string>`
|
|
77
81
|
* [sendUpgradeNodeTx(params, extra)](#GraphQLClient+sendUpgradeNodeTx) ⇒ `Promise.<string>`
|
|
78
82
|
* [sendWithdrawTokenV2Tx(params, extra)](#GraphQLClient+sendWithdrawTokenV2Tx) ⇒ `Promise.<string>`
|
|
79
83
|
* [encodeAccountMigrateTx(params)](#GraphQLClient+encodeAccountMigrateTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
80
84
|
* [encodeAcquireAssetV2Tx(params)](#GraphQLClient+encodeAcquireAssetV2Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
81
85
|
* [encodeAcquireAssetV3Tx(params)](#GraphQLClient+encodeAcquireAssetV3Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
86
|
+
* [encodeBurnTokenTx(params)](#GraphQLClient+encodeBurnTokenTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
82
87
|
* [encodeClaimBlockRewardTx(params)](#GraphQLClient+encodeClaimBlockRewardTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
83
88
|
* [encodeClaimStakeTx(params)](#GraphQLClient+encodeClaimStakeTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
84
89
|
* [encodeCloseRollupTx(params)](#GraphQLClient+encodeCloseRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
@@ -87,6 +92,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
87
92
|
* [encodeCreateFactoryTx(params)](#GraphQLClient+encodeCreateFactoryTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
88
93
|
* [encodeCreateRollupBlockTx(params)](#GraphQLClient+encodeCreateRollupBlockTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
89
94
|
* [encodeCreateRollupTx(params)](#GraphQLClient+encodeCreateRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
95
|
+
* [encodeCreateTokenFactoryTx(params)](#GraphQLClient+encodeCreateTokenFactoryTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
90
96
|
* [encodeCreateTokenTx(params)](#GraphQLClient+encodeCreateTokenTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
91
97
|
* [encodeDelegateTx(params)](#GraphQLClient+encodeDelegateTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
92
98
|
* [encodeDepositTokenV2Tx(params)](#GraphQLClient+encodeDepositTokenV2Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
@@ -96,6 +102,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
96
102
|
* [encodeLeaveRollupTx(params)](#GraphQLClient+encodeLeaveRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
97
103
|
* [encodeMigrateRollupTx(params)](#GraphQLClient+encodeMigrateRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
98
104
|
* [encodeMintAssetTx(params)](#GraphQLClient+encodeMintAssetTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
105
|
+
* [encodeMintTokenTx(params)](#GraphQLClient+encodeMintTokenTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
99
106
|
* [encodePauseRollupTx(params)](#GraphQLClient+encodePauseRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
100
107
|
* [encodeResumeRollupTx(params)](#GraphQLClient+encodeResumeRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
101
108
|
* [encodeReturnStakeTx(params)](#GraphQLClient+encodeReturnStakeTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
@@ -108,6 +115,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
108
115
|
* [encodeTransferV3Tx(params)](#GraphQLClient+encodeTransferV3Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
109
116
|
* [encodeUpdateAssetTx(params)](#GraphQLClient+encodeUpdateAssetTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
110
117
|
* [encodeUpdateRollupTx(params)](#GraphQLClient+encodeUpdateRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
118
|
+
* [encodeUpdateTokenFactoryTx(params)](#GraphQLClient+encodeUpdateTokenFactoryTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
111
119
|
* [encodeUpgradeNodeTx(params)](#GraphQLClient+encodeUpgradeNodeTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
112
120
|
* [encodeWithdrawTokenV2Tx(params)](#GraphQLClient+encodeWithdrawTokenV2Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
113
121
|
* [getAccountState(params)](#GraphQLClient+getAccountState) ⇒ [`Promise.<ResponseGetAccountState>`](#GraphQLClient.ResponseGetAccountState)
|
|
@@ -117,6 +125,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
117
125
|
* [getTokenState(params)](#GraphQLClient+getTokenState) ⇒ [`Promise.<ResponseGetTokenState>`](#GraphQLClient.ResponseGetTokenState)
|
|
118
126
|
* [getEvidenceState(params)](#GraphQLClient+getEvidenceState) ⇒ [`Promise.<ResponseGetEvidenceState>`](#GraphQLClient.ResponseGetEvidenceState)
|
|
119
127
|
* [getForgeState(params)](#GraphQLClient+getForgeState) ⇒ [`Promise.<ResponseGetForgeState>`](#GraphQLClient.ResponseGetForgeState)
|
|
128
|
+
* [getTokenFactoryState(params)](#GraphQLClient+getTokenFactoryState) ⇒ [`Promise.<ResponseGetTokenFactoryState>`](#GraphQLClient.ResponseGetTokenFactoryState)
|
|
120
129
|
* [getTx(params)](#GraphQLClient+getTx) ⇒ [`Promise.<ResponseGetTx>`](#GraphQLClient.ResponseGetTx)
|
|
121
130
|
* [getBlock(params)](#GraphQLClient+getBlock) ⇒ [`Promise.<ResponseGetBlock>`](#GraphQLClient.ResponseGetBlock)
|
|
122
131
|
* [getBlocks(params)](#GraphQLClient+getBlocks) ⇒ [`Promise.<ResponseGetBlocks>`](#GraphQLClient.ResponseGetBlocks)
|
|
@@ -148,6 +157,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
148
157
|
* [listTokenFlows(params)](#GraphQLClient+listTokenFlows) ⇒ [`Promise.<ResponseListTokenFlows>`](#GraphQLClient.ResponseListTokenFlows)
|
|
149
158
|
* [verifyAccountRisk(params)](#GraphQLClient+verifyAccountRisk) ⇒ [`Promise.<ResponseVerifyAccountRisk>`](#GraphQLClient.ResponseVerifyAccountRisk)
|
|
150
159
|
* [getTokenDistribution(params)](#GraphQLClient+getTokenDistribution) ⇒ [`Promise.<ResponseGetTokenDistribution>`](#GraphQLClient.ResponseGetTokenDistribution)
|
|
160
|
+
* [listTokenFactories(params)](#GraphQLClient+listTokenFactories) ⇒ [`Promise.<ResponseListTokenFactories>`](#GraphQLClient.ResponseListTokenFactories)
|
|
151
161
|
* [sendTx(params)](#GraphQLClient+sendTx) ⇒ [`Promise.<ResponseSendTx>`](#GraphQLClient.ResponseSendTx)
|
|
152
162
|
* *static*
|
|
153
163
|
* [WalletObject](#GraphQLClient.WalletObject) : `Object`
|
|
@@ -191,6 +201,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
191
201
|
* [RollupFilterInput](#GraphQLClient.RollupFilterInput) : `object`
|
|
192
202
|
* [StakeFilterInput](#GraphQLClient.StakeFilterInput) : `object`
|
|
193
203
|
* [TimeFilterInput](#GraphQLClient.TimeFilterInput) : `object`
|
|
204
|
+
* [TokenFactoryFilterInput](#GraphQLClient.TokenFactoryFilterInput) : `object`
|
|
194
205
|
* [TokenFilterInput](#GraphQLClient.TokenFilterInput) : `object`
|
|
195
206
|
* [TxFilterInput](#GraphQLClient.TxFilterInput) : `object`
|
|
196
207
|
* [TypeFilterInput](#GraphQLClient.TypeFilterInput) : `object`
|
|
@@ -225,6 +236,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
225
236
|
* [CreateRollupBlockTx](#GraphQLClient.CreateRollupBlockTx) : `object`
|
|
226
237
|
* [CreateRollupTx](#GraphQLClient.CreateRollupTx) : `object`
|
|
227
238
|
* [CreateTokenTx](#GraphQLClient.CreateTokenTx) : `object`
|
|
239
|
+
* [CurveConfig](#GraphQLClient.CurveConfig) : `object`
|
|
228
240
|
* [DelegateConfig](#GraphQLClient.DelegateConfig) : `object`
|
|
229
241
|
* [DelegateLimit](#GraphQLClient.DelegateLimit) : `object`
|
|
230
242
|
* [DelegateOp](#GraphQLClient.DelegateOp) : `object`
|
|
@@ -257,6 +269,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
257
269
|
* [IndexedRollupState](#GraphQLClient.IndexedRollupState) : `object`
|
|
258
270
|
* [IndexedRollupValidator](#GraphQLClient.IndexedRollupValidator) : `object`
|
|
259
271
|
* [IndexedStakeState](#GraphQLClient.IndexedStakeState) : `object`
|
|
272
|
+
* [IndexedTokenFactoryState](#GraphQLClient.IndexedTokenFactoryState) : `object`
|
|
260
273
|
* [IndexedTokenFlow](#GraphQLClient.IndexedTokenFlow) : `object`
|
|
261
274
|
* [IndexedTokenInput](#GraphQLClient.IndexedTokenInput) : `object`
|
|
262
275
|
* [IndexedTokenState](#GraphQLClient.IndexedTokenState) : `object`
|
|
@@ -299,6 +312,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
299
312
|
* [ResponseGetRollupState](#GraphQLClient.ResponseGetRollupState) : `object`
|
|
300
313
|
* [ResponseGetStakeState](#GraphQLClient.ResponseGetStakeState) : `object`
|
|
301
314
|
* [ResponseGetTokenDistribution](#GraphQLClient.ResponseGetTokenDistribution) : `object`
|
|
315
|
+
* [ResponseGetTokenFactoryState](#GraphQLClient.ResponseGetTokenFactoryState) : `object`
|
|
302
316
|
* [ResponseGetTokenState](#GraphQLClient.ResponseGetTokenState) : `object`
|
|
303
317
|
* [ResponseGetTx](#GraphQLClient.ResponseGetTx) : `object`
|
|
304
318
|
* [ResponseGetUnconfirmedTxs](#GraphQLClient.ResponseGetUnconfirmedTxs) : `object`
|
|
@@ -312,6 +326,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
312
326
|
* [ResponseListRollupValidators](#GraphQLClient.ResponseListRollupValidators) : `object`
|
|
313
327
|
* [ResponseListRollups](#GraphQLClient.ResponseListRollups) : `object`
|
|
314
328
|
* [ResponseListStakes](#GraphQLClient.ResponseListStakes) : `object`
|
|
329
|
+
* [ResponseListTokenFactories](#GraphQLClient.ResponseListTokenFactories) : `object`
|
|
315
330
|
* [ResponseListTokenFlows](#GraphQLClient.ResponseListTokenFlows) : `object`
|
|
316
331
|
* [ResponseListTokens](#GraphQLClient.ResponseListTokens) : `object`
|
|
317
332
|
* [ResponseListTopAccounts](#GraphQLClient.ResponseListTopAccounts) : `object`
|
|
@@ -332,6 +347,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
332
347
|
* [StakeTx](#GraphQLClient.StakeTx) : `object`
|
|
333
348
|
* [StateContext](#GraphQLClient.StateContext) : `object`
|
|
334
349
|
* [TokenDistribution](#GraphQLClient.TokenDistribution) : `object`
|
|
350
|
+
* [TokenFactoryState](#GraphQLClient.TokenFactoryState) : `object`
|
|
335
351
|
* [TokenInfo](#GraphQLClient.TokenInfo) : `object`
|
|
336
352
|
* [TokenInput](#GraphQLClient.TokenInput) : `object`
|
|
337
353
|
* [TokenLimit](#GraphQLClient.TokenLimit) : `object`
|
|
@@ -371,6 +387,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
371
387
|
* [GetTokenStateParams](#GraphQLClient.GetTokenStateParams) : `object`
|
|
372
388
|
* [GetEvidenceStateParams](#GraphQLClient.GetEvidenceStateParams) : `object`
|
|
373
389
|
* [GetForgeStateParams](#GraphQLClient.GetForgeStateParams) : `object`
|
|
390
|
+
* [GetTokenFactoryStateParams](#GraphQLClient.GetTokenFactoryStateParams) : `object`
|
|
374
391
|
* [GetTxParams](#GraphQLClient.GetTxParams) : `object`
|
|
375
392
|
* [GetBlockParams](#GraphQLClient.GetBlockParams) : `object`
|
|
376
393
|
* [GetBlocksParams](#GraphQLClient.GetBlocksParams) : `object`
|
|
@@ -397,10 +414,12 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
397
414
|
* [ListTokenFlowsParams](#GraphQLClient.ListTokenFlowsParams) : `object`
|
|
398
415
|
* [VerifyAccountRiskParams](#GraphQLClient.VerifyAccountRiskParams) : `object`
|
|
399
416
|
* [GetTokenDistributionParams](#GraphQLClient.GetTokenDistributionParams) : `object`
|
|
417
|
+
* [ListTokenFactoriesParams](#GraphQLClient.ListTokenFactoriesParams) : `object`
|
|
400
418
|
* [SendTxParams](#GraphQLClient.SendTxParams) : `object`
|
|
401
419
|
* [AccountMigrateTxInput](#GraphQLClient.AccountMigrateTxInput) : `Object`
|
|
402
420
|
* [AcquireAssetV2TxInput](#GraphQLClient.AcquireAssetV2TxInput) : `Object`
|
|
403
421
|
* [AcquireAssetV3TxInput](#GraphQLClient.AcquireAssetV3TxInput) : `Object`
|
|
422
|
+
* [BurnTokenTxInput](#GraphQLClient.BurnTokenTxInput) : `Object`
|
|
404
423
|
* [ClaimBlockRewardTxInput](#GraphQLClient.ClaimBlockRewardTxInput) : `Object`
|
|
405
424
|
* [ClaimStakeTxInput](#GraphQLClient.ClaimStakeTxInput) : `Object`
|
|
406
425
|
* [CloseRollupTxInput](#GraphQLClient.CloseRollupTxInput) : `Object`
|
|
@@ -409,6 +428,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
409
428
|
* [CreateFactoryTxInput](#GraphQLClient.CreateFactoryTxInput) : `Object`
|
|
410
429
|
* [CreateRollupBlockTxInput](#GraphQLClient.CreateRollupBlockTxInput) : `Object`
|
|
411
430
|
* [CreateRollupTxInput](#GraphQLClient.CreateRollupTxInput) : `Object`
|
|
431
|
+
* [CreateTokenFactoryTxInput](#GraphQLClient.CreateTokenFactoryTxInput) : `Object`
|
|
412
432
|
* [CreateTokenTxInput](#GraphQLClient.CreateTokenTxInput) : `Object`
|
|
413
433
|
* [DelegateTxInput](#GraphQLClient.DelegateTxInput) : `Object`
|
|
414
434
|
* [DepositTokenV2TxInput](#GraphQLClient.DepositTokenV2TxInput) : `Object`
|
|
@@ -418,6 +438,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
418
438
|
* [LeaveRollupTxInput](#GraphQLClient.LeaveRollupTxInput) : `Object`
|
|
419
439
|
* [MigrateRollupTxInput](#GraphQLClient.MigrateRollupTxInput) : `Object`
|
|
420
440
|
* [MintAssetTxInput](#GraphQLClient.MintAssetTxInput) : `Object`
|
|
441
|
+
* [MintTokenTxInput](#GraphQLClient.MintTokenTxInput) : `Object`
|
|
421
442
|
* [PauseRollupTxInput](#GraphQLClient.PauseRollupTxInput) : `Object`
|
|
422
443
|
* [ResumeRollupTxInput](#GraphQLClient.ResumeRollupTxInput) : `Object`
|
|
423
444
|
* [ReturnStakeTxInput](#GraphQLClient.ReturnStakeTxInput) : `Object`
|
|
@@ -430,6 +451,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
430
451
|
* [TransferV3TxInput](#GraphQLClient.TransferV3TxInput) : `Object`
|
|
431
452
|
* [UpdateAssetTxInput](#GraphQLClient.UpdateAssetTxInput) : `Object`
|
|
432
453
|
* [UpdateRollupTxInput](#GraphQLClient.UpdateRollupTxInput) : `Object`
|
|
454
|
+
* [UpdateTokenFactoryTxInput](#GraphQLClient.UpdateTokenFactoryTxInput) : `Object`
|
|
433
455
|
* [UpgradeNodeTxInput](#GraphQLClient.UpgradeNodeTxInput) : `Object`
|
|
434
456
|
* [WithdrawTokenV2TxInput](#GraphQLClient.WithdrawTokenV2TxInput) : `Object`
|
|
435
457
|
|
|
@@ -736,6 +758,7 @@ const methods = client.getQueries();
|
|
|
736
758
|
// getTokenState,
|
|
737
759
|
// getEvidenceState,
|
|
738
760
|
// getForgeState,
|
|
761
|
+
// getTokenFactoryState,
|
|
739
762
|
// getTx,
|
|
740
763
|
// getBlock,
|
|
741
764
|
// getBlocks,
|
|
@@ -767,6 +790,7 @@ const methods = client.getQueries();
|
|
|
767
790
|
// listTokenFlows,
|
|
768
791
|
// verifyAccountRisk,
|
|
769
792
|
// getTokenDistribution,
|
|
793
|
+
// listTokenFactories,
|
|
770
794
|
// ]
|
|
771
795
|
```
|
|
772
796
|
|
|
@@ -877,6 +901,18 @@ Send AcquireAssetV3Tx transaction and get the hash, use [getTx](#GraphQLClient+g
|
|
|
877
901
|
| params | [`AcquireAssetV3TxInput`](#GraphQLClient.AcquireAssetV3TxInput) |
|
|
878
902
|
| extra | `object` |
|
|
879
903
|
|
|
904
|
+
### graphQLClient.sendBurnTokenTx(params, extra) ⇒ `Promise.<string>`
|
|
905
|
+
|
|
906
|
+
Send BurnTokenTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
907
|
+
|
|
908
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
909
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
910
|
+
|
|
911
|
+
| Param | Type |
|
|
912
|
+
| ------ | ----------------------------------------------------- |
|
|
913
|
+
| params | [`BurnTokenTxInput`](#GraphQLClient.BurnTokenTxInput) |
|
|
914
|
+
| extra | `object` |
|
|
915
|
+
|
|
880
916
|
### graphQLClient.sendClaimBlockRewardTx(params, extra) ⇒ `Promise.<string>`
|
|
881
917
|
|
|
882
918
|
Send ClaimBlockRewardTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -973,6 +1009,18 @@ Send CreateRollupTx transaction and get the hash, use [getTx](#GraphQLClient+get
|
|
|
973
1009
|
| params | [`CreateRollupTxInput`](#GraphQLClient.CreateRollupTxInput) |
|
|
974
1010
|
| extra | `object` |
|
|
975
1011
|
|
|
1012
|
+
### graphQLClient.sendCreateTokenFactoryTx(params, extra) ⇒ `Promise.<string>`
|
|
1013
|
+
|
|
1014
|
+
Send CreateTokenFactoryTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1015
|
+
|
|
1016
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1017
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1018
|
+
|
|
1019
|
+
| Param | Type |
|
|
1020
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1021
|
+
| params | [`CreateTokenFactoryTxInput`](#GraphQLClient.CreateTokenFactoryTxInput) |
|
|
1022
|
+
| extra | `object` |
|
|
1023
|
+
|
|
976
1024
|
### graphQLClient.sendCreateTokenTx(params, extra) ⇒ `Promise.<string>`
|
|
977
1025
|
|
|
978
1026
|
Send CreateTokenTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -1081,6 +1129,18 @@ Send MintAssetTx transaction and get the hash, use [getTx](#GraphQLClient+getTx)
|
|
|
1081
1129
|
| params | [`MintAssetTxInput`](#GraphQLClient.MintAssetTxInput) |
|
|
1082
1130
|
| extra | `object` |
|
|
1083
1131
|
|
|
1132
|
+
### graphQLClient.sendMintTokenTx(params, extra) ⇒ `Promise.<string>`
|
|
1133
|
+
|
|
1134
|
+
Send MintTokenTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1135
|
+
|
|
1136
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1137
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1138
|
+
|
|
1139
|
+
| Param | Type |
|
|
1140
|
+
| ------ | ----------------------------------------------------- |
|
|
1141
|
+
| params | [`MintTokenTxInput`](#GraphQLClient.MintTokenTxInput) |
|
|
1142
|
+
| extra | `object` |
|
|
1143
|
+
|
|
1084
1144
|
### graphQLClient.sendPauseRollupTx(params, extra) ⇒ `Promise.<string>`
|
|
1085
1145
|
|
|
1086
1146
|
Send PauseRollupTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -1225,6 +1285,18 @@ Send UpdateRollupTx transaction and get the hash, use [getTx](#GraphQLClient+get
|
|
|
1225
1285
|
| params | [`UpdateRollupTxInput`](#GraphQLClient.UpdateRollupTxInput) |
|
|
1226
1286
|
| extra | `object` |
|
|
1227
1287
|
|
|
1288
|
+
### graphQLClient.sendUpdateTokenFactoryTx(params, extra) ⇒ `Promise.<string>`
|
|
1289
|
+
|
|
1290
|
+
Send UpdateTokenFactoryTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1291
|
+
|
|
1292
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1293
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1294
|
+
|
|
1295
|
+
| Param | Type |
|
|
1296
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1297
|
+
| params | [`UpdateTokenFactoryTxInput`](#GraphQLClient.UpdateTokenFactoryTxInput) |
|
|
1298
|
+
| extra | `object` |
|
|
1299
|
+
|
|
1228
1300
|
### graphQLClient.sendUpgradeNodeTx(params, extra) ⇒ `Promise.<string>`
|
|
1229
1301
|
|
|
1230
1302
|
Send UpgradeNodeTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -1282,6 +1354,17 @@ Encode a AcquireAssetV3Tx transaction for later use
|
|
|
1282
1354
|
| ------ | --------------------------------------------------------------- |
|
|
1283
1355
|
| params | [`AcquireAssetV3TxInput`](#GraphQLClient.AcquireAssetV3TxInput) |
|
|
1284
1356
|
|
|
1357
|
+
### graphQLClient.encodeBurnTokenTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1358
|
+
|
|
1359
|
+
Encode a BurnTokenTx transaction for later use
|
|
1360
|
+
|
|
1361
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1362
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1363
|
+
|
|
1364
|
+
| Param | Type |
|
|
1365
|
+
| ------ | ----------------------------------------------------- |
|
|
1366
|
+
| params | [`BurnTokenTxInput`](#GraphQLClient.BurnTokenTxInput) |
|
|
1367
|
+
|
|
1285
1368
|
### graphQLClient.encodeClaimBlockRewardTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1286
1369
|
|
|
1287
1370
|
Encode a ClaimBlockRewardTx transaction for later use
|
|
@@ -1370,6 +1453,17 @@ Encode a CreateRollupTx transaction for later use
|
|
|
1370
1453
|
| ------ | ----------------------------------------------------------- |
|
|
1371
1454
|
| params | [`CreateRollupTxInput`](#GraphQLClient.CreateRollupTxInput) |
|
|
1372
1455
|
|
|
1456
|
+
### graphQLClient.encodeCreateTokenFactoryTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1457
|
+
|
|
1458
|
+
Encode a CreateTokenFactoryTx transaction for later use
|
|
1459
|
+
|
|
1460
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1461
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1462
|
+
|
|
1463
|
+
| Param | Type |
|
|
1464
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1465
|
+
| params | [`CreateTokenFactoryTxInput`](#GraphQLClient.CreateTokenFactoryTxInput) |
|
|
1466
|
+
|
|
1373
1467
|
### graphQLClient.encodeCreateTokenTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1374
1468
|
|
|
1375
1469
|
Encode a CreateTokenTx transaction for later use
|
|
@@ -1469,6 +1563,17 @@ Encode a MintAssetTx transaction for later use
|
|
|
1469
1563
|
| ------ | ----------------------------------------------------- |
|
|
1470
1564
|
| params | [`MintAssetTxInput`](#GraphQLClient.MintAssetTxInput) |
|
|
1471
1565
|
|
|
1566
|
+
### graphQLClient.encodeMintTokenTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1567
|
+
|
|
1568
|
+
Encode a MintTokenTx transaction for later use
|
|
1569
|
+
|
|
1570
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1571
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1572
|
+
|
|
1573
|
+
| Param | Type |
|
|
1574
|
+
| ------ | ----------------------------------------------------- |
|
|
1575
|
+
| params | [`MintTokenTxInput`](#GraphQLClient.MintTokenTxInput) |
|
|
1576
|
+
|
|
1472
1577
|
### graphQLClient.encodePauseRollupTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1473
1578
|
|
|
1474
1579
|
Encode a PauseRollupTx transaction for later use
|
|
@@ -1601,6 +1706,17 @@ Encode a UpdateRollupTx transaction for later use
|
|
|
1601
1706
|
| ------ | ----------------------------------------------------------- |
|
|
1602
1707
|
| params | [`UpdateRollupTxInput`](#GraphQLClient.UpdateRollupTxInput) |
|
|
1603
1708
|
|
|
1709
|
+
### graphQLClient.encodeUpdateTokenFactoryTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1710
|
+
|
|
1711
|
+
Encode a UpdateTokenFactoryTx transaction for later use
|
|
1712
|
+
|
|
1713
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1714
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1715
|
+
|
|
1716
|
+
| Param | Type |
|
|
1717
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1718
|
+
| params | [`UpdateTokenFactoryTxInput`](#GraphQLClient.UpdateTokenFactoryTxInput) |
|
|
1719
|
+
|
|
1604
1720
|
### graphQLClient.encodeUpgradeNodeTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1605
1721
|
|
|
1606
1722
|
Encode a UpgradeNodeTx transaction for later use
|
|
@@ -1700,6 +1816,17 @@ getForgeState
|
|
|
1700
1816
|
| ------ | ----------------------------------------------------------- |
|
|
1701
1817
|
| params | [`GetForgeStateParams`](#GraphQLClient.GetForgeStateParams) |
|
|
1702
1818
|
|
|
1819
|
+
### graphQLClient.getTokenFactoryState(params) ⇒ [`Promise.<ResponseGetTokenFactoryState>`](#GraphQLClient.ResponseGetTokenFactoryState)
|
|
1820
|
+
|
|
1821
|
+
getTokenFactoryState
|
|
1822
|
+
|
|
1823
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1824
|
+
**Returns**: [`Promise.<ResponseGetTokenFactoryState>`](#GraphQLClient.ResponseGetTokenFactoryState) - Checkout [ResponseGetTokenFactoryState](#GraphQLClient.ResponseGetTokenFactoryState) for resolved data format
|
|
1825
|
+
|
|
1826
|
+
| Param | Type |
|
|
1827
|
+
| ------ | ------------------------------------------------------------------------- |
|
|
1828
|
+
| params | [`GetTokenFactoryStateParams`](#GraphQLClient.GetTokenFactoryStateParams) |
|
|
1829
|
+
|
|
1703
1830
|
### graphQLClient.getTx(params) ⇒ [`Promise.<ResponseGetTx>`](#GraphQLClient.ResponseGetTx)
|
|
1704
1831
|
|
|
1705
1832
|
getTx
|
|
@@ -2021,6 +2148,17 @@ getTokenDistribution
|
|
|
2021
2148
|
| ------ | ------------------------------------------------------------------------- |
|
|
2022
2149
|
| params | [`GetTokenDistributionParams`](#GraphQLClient.GetTokenDistributionParams) |
|
|
2023
2150
|
|
|
2151
|
+
### graphQLClient.listTokenFactories(params) ⇒ [`Promise.<ResponseListTokenFactories>`](#GraphQLClient.ResponseListTokenFactories)
|
|
2152
|
+
|
|
2153
|
+
listTokenFactories
|
|
2154
|
+
|
|
2155
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
2156
|
+
**Returns**: [`Promise.<ResponseListTokenFactories>`](#GraphQLClient.ResponseListTokenFactories) - Checkout [ResponseListTokenFactories](#GraphQLClient.ResponseListTokenFactories) for resolved data format
|
|
2157
|
+
|
|
2158
|
+
| Param | Type |
|
|
2159
|
+
| ------ | --------------------------------------------------------------------- |
|
|
2160
|
+
| params | [`ListTokenFactoriesParams`](#GraphQLClient.ListTokenFactoriesParams) |
|
|
2161
|
+
|
|
2024
2162
|
### graphQLClient.sendTx(params) ⇒ [`Promise.<ResponseSendTx>`](#GraphQLClient.ResponseSendTx)
|
|
2025
2163
|
|
|
2026
2164
|
sendTx
|
|
@@ -2472,21 +2610,22 @@ Structure of GraphQLClient.RequestListTransactionsInput
|
|
|
2472
2610
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2473
2611
|
**Properties**
|
|
2474
2612
|
|
|
2475
|
-
| Name
|
|
2476
|
-
|
|
|
2477
|
-
| ...paging
|
|
2478
|
-
| ...timeFilter
|
|
2479
|
-
| ...addressFilter
|
|
2480
|
-
| ...typeFilter
|
|
2481
|
-
| ...validityFilter
|
|
2482
|
-
| ...factoryFilter
|
|
2483
|
-
| ...tokenFilter
|
|
2484
|
-
| ...assetFilter
|
|
2485
|
-
| ...accountFilter
|
|
2486
|
-
| ...txFilter
|
|
2487
|
-
| ...rollupFilter
|
|
2488
|
-
| ...stakeFilter
|
|
2489
|
-
| ...delegationFilter
|
|
2613
|
+
| Name | Type |
|
|
2614
|
+
| --------------------- | ------------------------------------------------------------------- |
|
|
2615
|
+
| ...paging | [`PageInput`](#GraphQLClient.PageInput) |
|
|
2616
|
+
| ...timeFilter | [`TimeFilterInput`](#GraphQLClient.TimeFilterInput) |
|
|
2617
|
+
| ...addressFilter | [`AddressFilterInput`](#GraphQLClient.AddressFilterInput) |
|
|
2618
|
+
| ...typeFilter | [`TypeFilterInput`](#GraphQLClient.TypeFilterInput) |
|
|
2619
|
+
| ...validityFilter | [`ValidityFilterInput`](#GraphQLClient.ValidityFilterInput) |
|
|
2620
|
+
| ...factoryFilter | [`FactoryFilterInput`](#GraphQLClient.FactoryFilterInput) |
|
|
2621
|
+
| ...tokenFilter | [`TokenFilterInput`](#GraphQLClient.TokenFilterInput) |
|
|
2622
|
+
| ...assetFilter | [`AssetFilterInput`](#GraphQLClient.AssetFilterInput) |
|
|
2623
|
+
| ...accountFilter | [`AccountFilterInput`](#GraphQLClient.AccountFilterInput) |
|
|
2624
|
+
| ...txFilter | [`TxFilterInput`](#GraphQLClient.TxFilterInput) |
|
|
2625
|
+
| ...rollupFilter | [`RollupFilterInput`](#GraphQLClient.RollupFilterInput) |
|
|
2626
|
+
| ...stakeFilter | [`StakeFilterInput`](#GraphQLClient.StakeFilterInput) |
|
|
2627
|
+
| ...delegationFilter | [`DelegationFilterInput`](#GraphQLClient.DelegationFilterInput) |
|
|
2628
|
+
| ...tokenFactoryFilter | [`TokenFactoryFilterInput`](#GraphQLClient.TokenFactoryFilterInput) |
|
|
2490
2629
|
|
|
2491
2630
|
### GraphQLClient.RequestSearchInput : `object`
|
|
2492
2631
|
|
|
@@ -2562,6 +2701,17 @@ Structure of GraphQLClient.TimeFilterInput
|
|
|
2562
2701
|
| endDateTime | `string` |
|
|
2563
2702
|
| field | `string` |
|
|
2564
2703
|
|
|
2704
|
+
### GraphQLClient.TokenFactoryFilterInput : `object`
|
|
2705
|
+
|
|
2706
|
+
Structure of GraphQLClient.TokenFactoryFilterInput
|
|
2707
|
+
|
|
2708
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2709
|
+
**Properties**
|
|
2710
|
+
|
|
2711
|
+
| Name | Type |
|
|
2712
|
+
| -------------- | ---------------- |
|
|
2713
|
+
| tokenFactories | `Array.<string>` |
|
|
2714
|
+
|
|
2565
2715
|
### GraphQLClient.TokenFilterInput : `object`
|
|
2566
2716
|
|
|
2567
2717
|
Structure of GraphQLClient.TokenFilterInput
|
|
@@ -3259,6 +3409,21 @@ Checkout the following snippet for the format of CreateTokenTx:
|
|
|
3259
3409
|
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
3260
3410
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3261
3411
|
|
|
3412
|
+
### GraphQLClient.CurveConfig : `object`
|
|
3413
|
+
|
|
3414
|
+
Structure of GraphQLClient.CurveConfig
|
|
3415
|
+
|
|
3416
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3417
|
+
**Properties**
|
|
3418
|
+
|
|
3419
|
+
| Name | Type |
|
|
3420
|
+
| ---------- | -------- |
|
|
3421
|
+
| type | `string` |
|
|
3422
|
+
| basePrice | `string` |
|
|
3423
|
+
| fixedPrice | `string` |
|
|
3424
|
+
| slope | `string` |
|
|
3425
|
+
| constant | `number` |
|
|
3426
|
+
|
|
3262
3427
|
### GraphQLClient.DelegateConfig : `object`
|
|
3263
3428
|
|
|
3264
3429
|
Structure of GraphQLClient.DelegateConfig
|
|
@@ -3861,6 +4026,30 @@ Structure of GraphQLClient.IndexedStakeState
|
|
|
3861
4026
|
| nonce | `string` |
|
|
3862
4027
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3863
4028
|
|
|
4029
|
+
### GraphQLClient.IndexedTokenFactoryState : `object`
|
|
4030
|
+
|
|
4031
|
+
Structure of GraphQLClient.IndexedTokenFactoryState
|
|
4032
|
+
|
|
4033
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4034
|
+
**Properties**
|
|
4035
|
+
|
|
4036
|
+
| Name | Type |
|
|
4037
|
+
| --------------- | ------------------------------------------------------- |
|
|
4038
|
+
| address | `string` |
|
|
4039
|
+
| owner | `string` |
|
|
4040
|
+
| tokenAddress | `string` |
|
|
4041
|
+
| reserveAddress | `string` |
|
|
4042
|
+
| ...curve | [`CurveConfig`](#GraphQLClient.CurveConfig) |
|
|
4043
|
+
| feeRate | `number` |
|
|
4044
|
+
| currentSupply | `string` |
|
|
4045
|
+
| reserveBalance | `string` |
|
|
4046
|
+
| status | `string` |
|
|
4047
|
+
| genesisTime | `string` |
|
|
4048
|
+
| renaissanceTime | `string` |
|
|
4049
|
+
| ...token | [`IndexedTokenInput`](#GraphQLClient.IndexedTokenInput) |
|
|
4050
|
+
| ...reserveToken | [`IndexedTokenInput`](#GraphQLClient.IndexedTokenInput) |
|
|
4051
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4052
|
+
|
|
3864
4053
|
### GraphQLClient.IndexedTokenFlow : `object`
|
|
3865
4054
|
|
|
3866
4055
|
Structure of GraphQLClient.IndexedTokenFlow
|
|
@@ -3897,21 +4086,22 @@ Structure of GraphQLClient.IndexedTokenState
|
|
|
3897
4086
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3898
4087
|
**Properties**
|
|
3899
4088
|
|
|
3900
|
-
| Name
|
|
3901
|
-
|
|
|
3902
|
-
| name
|
|
3903
|
-
| description
|
|
3904
|
-
| symbol
|
|
3905
|
-
| unit
|
|
3906
|
-
| decimal
|
|
3907
|
-
| issuer
|
|
3908
|
-
| icon
|
|
3909
|
-
| totalSupply
|
|
3910
|
-
| address
|
|
3911
|
-
| genesisTime
|
|
3912
|
-
| renaissanceTime
|
|
3913
|
-
| ...foreignToken
|
|
3914
|
-
|
|
|
4089
|
+
| Name | Type |
|
|
4090
|
+
| ------------------- | --------------------------------------------- |
|
|
4091
|
+
| name | `string` |
|
|
4092
|
+
| description | `string` |
|
|
4093
|
+
| symbol | `string` |
|
|
4094
|
+
| unit | `string` |
|
|
4095
|
+
| decimal | `number` |
|
|
4096
|
+
| issuer | `string` |
|
|
4097
|
+
| icon | `string` |
|
|
4098
|
+
| totalSupply | `string` |
|
|
4099
|
+
| address | `string` |
|
|
4100
|
+
| genesisTime | `string` |
|
|
4101
|
+
| renaissanceTime | `string` |
|
|
4102
|
+
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
4103
|
+
| tokenFactoryAddress | `string` |
|
|
4104
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3915
4105
|
|
|
3916
4106
|
### GraphQLClient.IndexedTransaction : `object`
|
|
3917
4107
|
|
|
@@ -4496,6 +4686,18 @@ Checkout the following snippet for the format of ResponseGetTokenDistribution:
|
|
|
4496
4686
|
| code | `string` |
|
|
4497
4687
|
| ...data | [`TokenDistribution`](#GraphQLClient.TokenDistribution) |
|
|
4498
4688
|
|
|
4689
|
+
### GraphQLClient.ResponseGetTokenFactoryState : `object`
|
|
4690
|
+
|
|
4691
|
+
Structure of GraphQLClient.ResponseGetTokenFactoryState
|
|
4692
|
+
|
|
4693
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4694
|
+
**Properties**
|
|
4695
|
+
|
|
4696
|
+
| Name | Type |
|
|
4697
|
+
| -------- | ------------------------------------------------------- |
|
|
4698
|
+
| code | `string` |
|
|
4699
|
+
| ...state | [`TokenFactoryState`](#GraphQLClient.TokenFactoryState) |
|
|
4700
|
+
|
|
4499
4701
|
### GraphQLClient.ResponseGetTokenState : `object`
|
|
4500
4702
|
|
|
4501
4703
|
Structure of GraphQLClient.ResponseGetTokenState
|
|
@@ -4662,6 +4864,19 @@ Structure of GraphQLClient.ResponseListStakes
|
|
|
4662
4864
|
| ...page | [`PageInfo`](#GraphQLClient.PageInfo) |
|
|
4663
4865
|
| stakes | `Array.<...GraphQLClient.IndexedStakeState>` |
|
|
4664
4866
|
|
|
4867
|
+
### GraphQLClient.ResponseListTokenFactories : `object`
|
|
4868
|
+
|
|
4869
|
+
Structure of GraphQLClient.ResponseListTokenFactories
|
|
4870
|
+
|
|
4871
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4872
|
+
**Properties**
|
|
4873
|
+
|
|
4874
|
+
| Name | Type |
|
|
4875
|
+
| -------------- | --------------------------------------------------- |
|
|
4876
|
+
| code | `string` |
|
|
4877
|
+
| ...page | [`PageInfo`](#GraphQLClient.PageInfo) |
|
|
4878
|
+
| tokenFactories | `Array.<...GraphQLClient.IndexedTokenFactoryState>` |
|
|
4879
|
+
|
|
4665
4880
|
### GraphQLClient.ResponseListTokenFlows : `object`
|
|
4666
4881
|
|
|
4667
4882
|
Structure of GraphQLClient.ResponseListTokenFlows
|
|
@@ -5038,6 +5253,27 @@ Structure of GraphQLClient.TokenDistribution
|
|
|
5038
5253
|
| revokedStake | `string` |
|
|
5039
5254
|
| gasStake | `string` |
|
|
5040
5255
|
|
|
5256
|
+
### GraphQLClient.TokenFactoryState : `object`
|
|
5257
|
+
|
|
5258
|
+
Structure of GraphQLClient.TokenFactoryState
|
|
5259
|
+
|
|
5260
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5261
|
+
**Properties**
|
|
5262
|
+
|
|
5263
|
+
| Name | Type |
|
|
5264
|
+
| --------------- | --------------------------------------------- |
|
|
5265
|
+
| address | `string` |
|
|
5266
|
+
| tokenAddress | `string` |
|
|
5267
|
+
| reserveAddress | `string` |
|
|
5268
|
+
| currentSupply | `string` |
|
|
5269
|
+
| reserveBalance | `string` |
|
|
5270
|
+
| feeRate | `number` |
|
|
5271
|
+
| ...curve | [`CurveConfig`](#GraphQLClient.CurveConfig) |
|
|
5272
|
+
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
5273
|
+
| ...token | [`TokenState`](#GraphQLClient.TokenState) |
|
|
5274
|
+
| ...reserveToken | [`TokenState`](#GraphQLClient.TokenState) |
|
|
5275
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
5276
|
+
|
|
5041
5277
|
### GraphQLClient.TokenInfo : `object`
|
|
5042
5278
|
|
|
5043
5279
|
Structure of GraphQLClient.TokenInfo
|
|
@@ -5094,20 +5330,21 @@ Structure of GraphQLClient.TokenState
|
|
|
5094
5330
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5095
5331
|
**Properties**
|
|
5096
5332
|
|
|
5097
|
-
| Name
|
|
5098
|
-
|
|
|
5099
|
-
| address
|
|
5100
|
-
| issuer
|
|
5101
|
-
| name
|
|
5102
|
-
| description
|
|
5103
|
-
| symbol
|
|
5104
|
-
| unit
|
|
5105
|
-
| decimal
|
|
5106
|
-
| icon
|
|
5107
|
-
| totalSupply
|
|
5108
|
-
| ...foreignToken
|
|
5109
|
-
|
|
|
5110
|
-
| ...
|
|
5333
|
+
| Name | Type |
|
|
5334
|
+
| ------------------- | --------------------------------------------- |
|
|
5335
|
+
| address | `string` |
|
|
5336
|
+
| issuer | `string` |
|
|
5337
|
+
| name | `string` |
|
|
5338
|
+
| description | `string` |
|
|
5339
|
+
| symbol | `string` |
|
|
5340
|
+
| unit | `string` |
|
|
5341
|
+
| decimal | `number` |
|
|
5342
|
+
| icon | `string` |
|
|
5343
|
+
| totalSupply | `string` |
|
|
5344
|
+
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
5345
|
+
| tokenFactoryAddress | `string` |
|
|
5346
|
+
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
5347
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
5111
5348
|
|
|
5112
5349
|
### GraphQLClient.TokenSymbol : `object`
|
|
5113
5350
|
|
|
@@ -5764,6 +6001,25 @@ Checkout the following snippet for the format of GetForgeStateParams:
|
|
|
5764
6001
|
| height | `string` |
|
|
5765
6002
|
| keys | `Array.<string>` |
|
|
5766
6003
|
|
|
6004
|
+
### GraphQLClient.GetTokenFactoryStateParams : `object`
|
|
6005
|
+
|
|
6006
|
+
Structure of GraphQLClient.GetTokenFactoryStateParams
|
|
6007
|
+
|
|
6008
|
+
Checkout the following snippet for the format of GetTokenFactoryStateParams:
|
|
6009
|
+
|
|
6010
|
+
```json
|
|
6011
|
+
{
|
|
6012
|
+
"address": "abc"
|
|
6013
|
+
}
|
|
6014
|
+
```
|
|
6015
|
+
|
|
6016
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6017
|
+
**Properties**
|
|
6018
|
+
|
|
6019
|
+
| Name | Type |
|
|
6020
|
+
| ------- | -------- |
|
|
6021
|
+
| address | `string` |
|
|
6022
|
+
|
|
5767
6023
|
### GraphQLClient.GetTxParams : `object`
|
|
5768
6024
|
|
|
5769
6025
|
Structure of GraphQLClient.GetTxParams
|
|
@@ -5960,21 +6216,22 @@ Checkout the following snippet for the format of ListTransactionsParams:
|
|
|
5960
6216
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5961
6217
|
**Properties**
|
|
5962
6218
|
|
|
5963
|
-
| Name
|
|
5964
|
-
|
|
|
5965
|
-
| ...addressFilter
|
|
5966
|
-
| ...paging
|
|
5967
|
-
| ...timeFilter
|
|
5968
|
-
| ...typeFilter
|
|
5969
|
-
| ...validityFilter
|
|
5970
|
-
| ...factoryFilter
|
|
5971
|
-
| ...tokenFilter
|
|
5972
|
-
| ...assetFilter
|
|
5973
|
-
| ...accountFilter
|
|
5974
|
-
| ...txFilter
|
|
5975
|
-
| ...rollupFilter
|
|
5976
|
-
| ...stakeFilter
|
|
5977
|
-
| ...delegationFilter
|
|
6219
|
+
| Name | Type |
|
|
6220
|
+
| --------------------- | ------------------------------------------------------------------- |
|
|
6221
|
+
| ...addressFilter | [`AddressFilterInput`](#GraphQLClient.AddressFilterInput) |
|
|
6222
|
+
| ...paging | [`PageInput`](#GraphQLClient.PageInput) |
|
|
6223
|
+
| ...timeFilter | [`TimeFilterInput`](#GraphQLClient.TimeFilterInput) |
|
|
6224
|
+
| ...typeFilter | [`TypeFilterInput`](#GraphQLClient.TypeFilterInput) |
|
|
6225
|
+
| ...validityFilter | [`ValidityFilterInput`](#GraphQLClient.ValidityFilterInput) |
|
|
6226
|
+
| ...factoryFilter | [`FactoryFilterInput`](#GraphQLClient.FactoryFilterInput) |
|
|
6227
|
+
| ...tokenFilter | [`TokenFilterInput`](#GraphQLClient.TokenFilterInput) |
|
|
6228
|
+
| ...assetFilter | [`AssetFilterInput`](#GraphQLClient.AssetFilterInput) |
|
|
6229
|
+
| ...accountFilter | [`AccountFilterInput`](#GraphQLClient.AccountFilterInput) |
|
|
6230
|
+
| ...txFilter | [`TxFilterInput`](#GraphQLClient.TxFilterInput) |
|
|
6231
|
+
| ...rollupFilter | [`RollupFilterInput`](#GraphQLClient.RollupFilterInput) |
|
|
6232
|
+
| ...stakeFilter | [`StakeFilterInput`](#GraphQLClient.StakeFilterInput) |
|
|
6233
|
+
| ...delegationFilter | [`DelegationFilterInput`](#GraphQLClient.DelegationFilterInput) |
|
|
6234
|
+
| ...tokenFactoryFilter | [`TokenFactoryFilterInput`](#GraphQLClient.TokenFactoryFilterInput) |
|
|
5978
6235
|
|
|
5979
6236
|
### GraphQLClient.ListTokensParams : `object`
|
|
5980
6237
|
|
|
@@ -6338,6 +6595,31 @@ Checkout the following snippet for the format of GetTokenDistributionParams:
|
|
|
6338
6595
|
| ------------ | -------- |
|
|
6339
6596
|
| tokenAddress | `string` |
|
|
6340
6597
|
|
|
6598
|
+
### GraphQLClient.ListTokenFactoriesParams : `object`
|
|
6599
|
+
|
|
6600
|
+
Structure of GraphQLClient.ListTokenFactoriesParams
|
|
6601
|
+
|
|
6602
|
+
Checkout the following snippet for the format of ListTokenFactoriesParams:
|
|
6603
|
+
|
|
6604
|
+
```json
|
|
6605
|
+
{
|
|
6606
|
+
"tokenAddress": "abc",
|
|
6607
|
+
"reserveAddress": "abc",
|
|
6608
|
+
"owner": "abc"
|
|
6609
|
+
}
|
|
6610
|
+
```
|
|
6611
|
+
|
|
6612
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6613
|
+
**Properties**
|
|
6614
|
+
|
|
6615
|
+
| Name | Type |
|
|
6616
|
+
| -------------- | --------------------------------------------------- |
|
|
6617
|
+
| tokenAddress | `string` |
|
|
6618
|
+
| reserveAddress | `string` |
|
|
6619
|
+
| owner | `string` |
|
|
6620
|
+
| ...paging | [`PageInput`](#GraphQLClient.PageInput) |
|
|
6621
|
+
| ...timeFilter | [`TimeFilterInput`](#GraphQLClient.TimeFilterInput) |
|
|
6622
|
+
|
|
6341
6623
|
### GraphQLClient.SendTxParams : `object`
|
|
6342
6624
|
|
|
6343
6625
|
Structure of GraphQLClient.SendTxParams
|
|
@@ -6422,6 +6704,25 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6422
6704
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6423
6705
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6424
6706
|
|
|
6707
|
+
### GraphQLClient.BurnTokenTxInput : `Object`
|
|
6708
|
+
|
|
6709
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6710
|
+
**Properties**
|
|
6711
|
+
|
|
6712
|
+
| Name | Type | Description |
|
|
6713
|
+
| --------------------- | --------------------------- | --------------------------------------------------------------------------------------------- |
|
|
6714
|
+
| input | `object` | |
|
|
6715
|
+
| input.tx | `object` | data of the transaction |
|
|
6716
|
+
| input.tx.itx | `GraphQLClient.BurnTokenTx` | the actual transaction object |
|
|
6717
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
6718
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6719
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6720
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
6721
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
6722
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6723
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6724
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6725
|
+
|
|
6425
6726
|
### GraphQLClient.ClaimBlockRewardTxInput : `Object`
|
|
6426
6727
|
|
|
6427
6728
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
@@ -6574,6 +6875,25 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6574
6875
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6575
6876
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6576
6877
|
|
|
6878
|
+
### GraphQLClient.CreateTokenFactoryTxInput : `Object`
|
|
6879
|
+
|
|
6880
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6881
|
+
**Properties**
|
|
6882
|
+
|
|
6883
|
+
| Name | Type | Description |
|
|
6884
|
+
| --------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------- |
|
|
6885
|
+
| input | `object` | |
|
|
6886
|
+
| input.tx | `object` | data of the transaction |
|
|
6887
|
+
| input.tx.itx | `GraphQLClient.CreateTokenFactoryTx` | the actual transaction object |
|
|
6888
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
6889
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6890
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6891
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
6892
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
6893
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6894
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6895
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6896
|
+
|
|
6577
6897
|
### GraphQLClient.CreateTokenTxInput : `Object`
|
|
6578
6898
|
|
|
6579
6899
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
@@ -6745,6 +7065,25 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6745
7065
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6746
7066
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6747
7067
|
|
|
7068
|
+
### GraphQLClient.MintTokenTxInput : `Object`
|
|
7069
|
+
|
|
7070
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
7071
|
+
**Properties**
|
|
7072
|
+
|
|
7073
|
+
| Name | Type | Description |
|
|
7074
|
+
| --------------------- | --------------------------- | --------------------------------------------------------------------------------------------- |
|
|
7075
|
+
| input | `object` | |
|
|
7076
|
+
| input.tx | `object` | data of the transaction |
|
|
7077
|
+
| input.tx.itx | `GraphQLClient.MintTokenTx` | the actual transaction object |
|
|
7078
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
7079
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
7080
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
7081
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
7082
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
7083
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
7084
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
7085
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
7086
|
+
|
|
6748
7087
|
### GraphQLClient.PauseRollupTxInput : `Object`
|
|
6749
7088
|
|
|
6750
7089
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
@@ -6973,6 +7312,25 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6973
7312
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6974
7313
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6975
7314
|
|
|
7315
|
+
### GraphQLClient.UpdateTokenFactoryTxInput : `Object`
|
|
7316
|
+
|
|
7317
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
7318
|
+
**Properties**
|
|
7319
|
+
|
|
7320
|
+
| Name | Type | Description |
|
|
7321
|
+
| --------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------- |
|
|
7322
|
+
| input | `object` | |
|
|
7323
|
+
| input.tx | `object` | data of the transaction |
|
|
7324
|
+
| input.tx.itx | `GraphQLClient.UpdateTokenFactoryTx` | the actual transaction object |
|
|
7325
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
7326
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
7327
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
7328
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
7329
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
7330
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
7331
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
7332
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
7333
|
+
|
|
6976
7334
|
### GraphQLClient.UpgradeNodeTxInput : `Object`
|
|
6977
7335
|
|
|
6978
7336
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|