-
Notifications
You must be signed in to change notification settings - Fork 82
pos_api
Pos-api is the pos-related API interface that can be called after the user links to the gwan node through IPC or RPC.
This manual enumerates and explains all POS-APIs.
- 1. POS-API Manual for Wanchain Galaxy
- 2. Content
-
3. PoS-API
-
3.1. Basic information query
- 3.1.1. version
- 3.1.2. getPosInfo
- 3.1.3. getEpochID
- 3.1.4. getEpochBlkCnt
- 3.1.5. getEpochIDByTime
- 3.1.6. getEpochIdByBlockNumber
- 3.1.7. getSlotID
- 3.1.8. getSlotCount
- 3.1.9. getSlotIDByTime
- 3.1.10. getSlotTime
- 3.1.11. getChainQuality
- 3.1.12. getLocalPK
- 3.1.13. getMaxStableBlkNumber
- 3.1.14. getReorgState
- 3.1.15. getTimeByEpochID
- 3.1.16. getWhiteListConfig
- 3.1.17. getWhiteListbyEpochID
- 3.2. Reward information query
-
3.3. Election information enquiry
- 3.3.1. getEpochStakerInfo
- 3.3.2. getEpochStakerInfoAll
- 3.3.3. GetEpochLeadersAddrByEpochID
- 3.3.4. GetEpochLeadersByEpochID
- 3.3.5. CalProbability
- 3.3.6. GetEpochStakeOut
- 3.3.7. getLeaderGroupByEpochID
- 3.3.8. getRandomProposersAddrByEpochID
- 3.3.9. getRandomProposersByEpochID
- 3.3.10. getSlStage
- 3.3.11. getRbSignatureCount
- 3.3.12. getRbStage
- 3.3.13. getSlotLeaderByEpochIDAndSlotID
- 3.3.14. getStakerInfo
- 3.3.15. getValidRBCnt
- 3.3.16. getValidSMACnt
- 3.4. Random number query
- 3.5. Activity query
- 3.6. Abandoned the API
-
3.1. Basic information query
Get version information for POS-API
> pos.version()
"1.0"
>
Gets the upgrade position information from the POW protocol to the POS protocol
> pos.getPosInfo()
{
firstBlockNumber: 3560000,
firstEpochId: 18078
}
Where 'firstBlockNumber' is the first block number of POS
'firstEpochId' is the Epoch ID under the first POS protocol, and in the POW phase, the value is 0
Get the current Epoch ID
> pos.getEpochID()
18108
Get the number of epochs specified and enter the epoch ID as the input parameter
> pos.getEpochBlkCnt(18107)
13753
Calculate the Epoch ID according to the time, enter the UTC time seconds, and return the Epoch ID
> Date.now()
1564546408833
> Date.now()/1000
1564546412.857
> pos.getEpochIDByTime(1564546412)
18108
Get the Epoch ID from the block number
> eth.blockNumber
4017608
> pos.getEpochIdByBlockNumber(4017608)
18108
Gets the current Slot ID
> pos.getSlotID()
3072
Get the number of slot within an epoch
> pos.getSlotCount()
17280
Calculate Slot ID based on time, input UTC time seconds, and return Slot ID
> Date.now()
1564546408833
> Date.now()/1000
1564546412.857
> pos.getSlotIDByTime(1564546412)
3042
Gets the time span of a slot in seconds
> pos.getSlotTime()
5
Get chain quality information. Enter epoch ID and slot ID, and the value is returned in thousands, for example 770 means 77.0%
> pos.getChainQuality(18108,3072)
770
Gets the public key of the mining account of the local node
> pos.getLocalPK()
"04088b71907178ad7392736e7b817f1945364d0798665279f9d829299726828285366a0107a75c53d1e0f90b5251f0e33ab3abf4ef907fe28d0493bfeaa81ba676"
>
Get the current maximum stable block number (no rollback)
> pos.getMaxStableBlkNumber()
4018017
Get the rollback status of the current epoch, enter the epoch id, and return the rollback times and the maximum rollback length
> pos.getReorgState(18108)
[0, 0]
>
Get the specified epoch start time and return UTC time seconds
> pos.getTimeByEpochID(18108)
1564531200
> t=new Date(1564531200000)
<Date Wed, 31 Jul 2019 08:00:00 CST>
>
Obtain the configuration information of the controlled node, which is the effective epochID, the number of controlled nodes, and the starting sequence number, respectively
> pos.getWhiteListConfig()
[{
EpochId: 0,
WlCount: 26,
WlIndex: 0
}]
Gets the public key list of the controlled node specifying the epoch
> pos.getWhiteListbyEpochID(18108)
["0x0451cffffa2fb947261efca509564768d909a4fefd450c0e00effc8d7cb848dbd08939e163a6a41bde571f4ae0056b876c2b01c18e1e2d6b7a4745b49f5f5912c0",
......
"0x04fdb485b566c2ddb40e2f4341b1e5746479a7c45e3d8101b1360b8bdba6206deee520ceecc9e9897e3b05b53e3ffa6fa659bef47c384984c0bc021a843df10847"]
Get the reward information of the designated epoch, enter epochID, and return the reward payment details (including RNP reward, EL reward and chunk reward) for all the verification nodes and clients working in the epoch.
>pos.getEpochIncentivePayDetail(18106)
[{
address: "0xfb3b101776390f993f118cb959f38135c562c52a",
delegators: [{
address: "0x19ac9bb112cb2f903fe866b35c5eb59c4278fcbd",
incentive: "0x71e72f24a7e92afe",
type: "delegator"
}],
incentive: "0x271dbee21dc6d3e17",
stakeInFromAddr: "0x56664f3b65cc5daf4098ed10b66c4a86e58e21a4",
type: "validator"
},
......
]
Get the incentive pay block number of the input epoch
> pos.getEpochIncentiveBlockNumber(18106)
4003788
Obtain the total bonus amount issued by the designated epoch, and enter epochID to return the bonus amount in Wei
> pos.getEpochIncentive(18106)
"3710904768743286494978"
> web3.fromWin(3710904768743286494978)
"3710.9047687432865"
Get the total amount of the designated epoch transaction fee in Wei
> pos.getEpochGasPool(18106)
"22306530114000000000"
Obtain the remaining bonus not issued by the designated epoch. This award will be accumulated over the next year
> pos.getEpochRemain(18106)
"3160716829863864189953"
Get the bonus pool size of the specified epoch, and return values are respectively the total award, foundation award and transaction fee award
> pos.getIncentivePool(18106)
["6871621598607150684931", "6849315068493150684931", "22306530114000000000"]
Get the election weight information of the designated epochID and the verifier address of the designated epoch
The TotalProbability is the total weight value selected by the verifier
The Infors field contains each item in the total weight, the first item being the verifier itself and the rest being its clients
> pos.getEpochStakerInfo(18106,'0x17d47c6ac4f72d43420f5e9533b526b2dee626a6')
{
Addr: "0x17d47c6ac4f72d43420f5e9533b526b2dee626a6",
FeeRate: 1000,
Infors: [{
Addr: "0x17d47c6ac4f72d43420f5e9533b526b2dee626a6",
Probability: "0x297116712be7b468800000"
}, {
Addr: "0x4e6b5f1abdd517739889334df047113bd736c546",
Probability: "0x849d149d594bdae800000"
}],
TotalProbability: "0x31bae7bb017c7217000000"
}
Get all the verification node information specified epochID, and enter epochID as the input parameter
The field has the same meaning as getEpochStakerInfo
>pos.getEpochStakerInfoAll(18106)
[{
Addr: "0xa36576c856fe69faf1be738252febc3268075619",
FeeRate: 10000,
Infors: [{
Addr: "0xa36576c856fe69faf1be738252febc3268075619",
Probability: "0x84a079b60afeadbe80000"
}],
TotalProbability: "0x84a079b60afeadbe80000"
}, {
Addr: "0x158bae682e6278a16d09d7c7311074585d38b54d",
FeeRate: 1,
Infors: [{
Addr: "0x158bae682e6278a16d09d7c7311074585d38b54d",
Probability: "0x29db4e3b8931016a000000"
}],
TotalProbability: "0x29db4e3b8931016a000000"
}]
Get the address list of the epoch leader specified as EpochID
Get the public key list of the epoch leader specifying EpochID with the input parameter as EpochID
The election weight is calculated. Input parameters are amount and locking time, and the units are wan and day respectively
Get the principal refund record for the specified epoch
> pos.getEpochStakeOut(18106)
[{
address: "0x74b7505ef4ee4a4783f446df8964b6cdd4c61843",
amount: "0x8f1d5c1cae3740000"
}]
Get the EL and RNP addresses and public key lists specifying the epoch
Type 0 represents the Epoch Leader and 1 represents the Random Number Proposer
A pubBn256 value of 0x is a controlled node
pos.getLeaderGroupByEpochID(18106)
[{
pubBn256: "0x26f35218edefaf8e1547e9a463d14dd884cdc3dfc7e56b26167a50cb038367a10b9e3eaca8fa11624845f3d29f57219661df5b1ae388879815a01f920e838704",
pubSec256: "0x0459ce8b55d547f24c2c88a4a642a755ca714f5749e5f0e0d8ea5237f8efdb36063c449a8883bc3c36bd263fc1256f3484b33b1598340ab176faecd4499e9bcbba",
secAddr: "0x882c9c16c05496d7b5374840936aec1af2a16553",
type: 0
}]
Gets the address list of the Random Number Proposer that specifies the epoch
Gets the public key 2 list of the Random Number Proposer that specifies the epoch
Gets the EL working phase of the specified slot with the input parameter slotID
if slotId <= posconfig.Sma1End {
return 1
} else if slotId < posconfig.Sma2Start {
return 2
} else if slotId <= posconfig.Sma2End {
return 3
} else if slotId < posconfig.Sma3Start {
return 4
} else if slotId <= posconfig.Sma3End {
return 5
} else {
return 6
}
Get the number of RNP signatures in the specified epoch, enter epochID and blockNumber, and use the latest block if blockNumber is -1
> pos.getRbSignatureCount(18106, -1)
15
Obtain the RNP working phase of the specified slot with the input parameter slotID. There are 6 stages in total
RbDkg1Stage
RbDkg1ConfirmStage
RbDkg2Stage
RbDkg2ConfirmStage
RbSignStage
RbSignConfirmStage
Gets the slot Leader public key for the specified epoch specified slot
> pos.getSlotLeaderByEpochIDAndSlotID(18106,1)
"0484caedf55f668c4cbd966f4aa3c0c1a064e33b1c3ab6c0bc4de7323583893e0fc2cbfe6f4fa3a53f2b57a24f0420b337bcc2f7fa9f9fc4e5e9d95b5c3874360d"
>
Gets the verifier details of the specified blockNumber
Amount: amount of principal
Clients: is the client list
VotingPower: voting weight
Epoch: refund the epoch for the client
FeeRate: the commission rate is ten thousand points
FeeRateChangedEpoch: last modified feeRate epochID
From: register the source account of funds
LockEpochs: the current lock cycle, in epochs
MaxFeeRate: the maximum commission rate
NextLockEpochs: lock cycle for the next cycle. When this value is 0, it exits the next cycle and returns the principal
StakingEpoch: the epochID from which this locking cycle began
> pos.getStakerInfo(eth.blockNumber)
[{
address: "0xf92ba56ac2506cb97c1d9ce55a54c595e0599ebd",
amount: 5e+22,
clients: [{
address: "0x28f86db797a302b46fa04749faafb1b1c901ff19",
amount: 100000000000000000000,
quitEpoch: 0,
votingPower: 1.002e+23
}, {
address: "0xc91e50c0ce32bb024e7e359ae2e829c7f2451e0b",
amount: 1.248e+21,
quitEpoch: 0,
votingPower: 1.250496e+24
}, {
address: "0x7ed6135f81453059776ecbf3a838853103f3bf9d",
amount: 2e+21,
quitEpoch: 0,
votingPower: 2.004e+24
}, {
address: "0xb3850a2c15c208075197645fc9a4010f8f7634a0",
amount: 1.11e+22,
quitEpoch: 0,
votingPower: 1.11222e+25
}, {
address: "0x13944221112c8109be7dcd2adb6d47545dc45be3",
amount: 1.249e+21,
quitEpoch: 0,
votingPower: 1.251498e+24
}, {
address: "0x4e6b5f1abdd517739889334df047113bd736c546",
amount: 2.1e+23,
quitEpoch: 18109,
votingPower: 2.1042e+26
}],
feeRate: 2000,
feeRateChangedEpoch: 18088,
from: "0xf92ba56ac2506cb97c1d9ce55a54c595e0599ebd",
lockEpochs: 30,
maxFeeRate: 2000,
nextLockEpochs: 30,
partners: [],
pubBn256: "0x1c466cedd50c33fac011ad4a8f14a177ef5d243e0d7add5c231935f545b30eb80015184d74bc7295b512ffdf9c69824c9db536ae07f1ab14f7eb2eed9a4f1b19",
pubSec256: "0x041cd717ce3d97ff93d5dcd5f80d78897956dcded35dbaf7c7180bdaff3beb84b900c48b1fbd0c52feaef9aa5e3aae87707cc02eb0a0203b3b6f7911c2fb2bccdf",
stakingEpoch: 18088,
votingPower: 5.7e+25
}
Get the amount of RNP executed protocols within the specified epoch
Enter epochID, and the return value is the effective participation quantity of RNP in the three stages: DKG1, DKG2, SIGN.
> pos.getValidRBCnt(18106)
[14, 14, 15]
Get the number of EL participating in POS protocol execution specified epoch, and return the number of valid participants of SMA1 and SMA2 respectively
> pos.getValidSMACnt(18106)
[40, 40]
Query the random number specifying epochID and blockNumber to generate the result. If blockNumber is -1, use the latest block
If the random number does not exist, the Error: no random number exists, indicating that the random number of the epoch has not been generated, or the generation fails because it is lower than the threshold value. Default random Numbers are used when failure occurs.
> pos.getRandom(18106,-1)
Error: no random number exists
at web3.js:3145:20
at web3.js:6381:15
at web3.js:5083:36
at <anonymous>:1:1
> pos.getRandom(18107,-1)
"0x7241916d8f2a68937783cc577a373e22d74686a6a36b72937c2cbe3c6b58529c"
>
Get the activity information of the specified epoch, the historical epoch is a fixed value, and the current epoch will update the latest current value in real time
Among them, epLeader refers to the list of epoch leaders of the epoch, while epActivity refers to whether the epoch leader in the corresponding list has completed all EL protocol work
RpLeader is the random number proposer list of this epoch, and rpActivity is whether or not the random number proposer in the corresponding list completes all RNP protocol work
SltLeader is the selected block maker list, which does not contain the controlled node. SlBlocks corresponds to the actual number of blocks produced by each person in the sltLeader list.
For this epoch, slActivity is the amount of outgoing blocks divided by the total number of epoch slots.
SlCtrlCount the number of blocks of controlled nodes in the epoch.
> pos.getActivity(18106)
{
epActivity: [0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1],
epLeader: ["0x882c9c16c05496d7b5374840936aec1af2a16553", "0x3628bf135f36c6e26a824ec9152885505f3fbc2a", "0x4add297a1c2eea65e1ab5fd67e79647ecea8f36c", "0x4bf9fd7308d0849a62c3a7dd71c5190e57c28756", "0xb58230a7923a6a1941016aa1682e212def899ed1", "0x1779a2002402319821e05977ad989e1cc0d3fbc3", "0x93c8ea0326ef334bdc3011e74cd1a6d78ce0594d", "0x2bfd98be771eeeb4d69dd8767d200ba58252d925", "0x28c12c7b51860b9d5aec3a0ceb63c6e187c00aac", "0x882c9c16c05496d7b5374840936aec1af2a16553", "0x1b7740df685f9d34773d5a2aba6ab3a2c1407f40", "0xee1ad9c4f9d81f900221e95ee04246b6254b0c6f", "0x6273ce1f6f32e129f295f138d6e4ba6f0e19333e", "0x0b80f69fcb2564479058e4d28592e095828d24aa", "0x9ce4664e9d7346869797b7d9fc8c7a0212d5ff44", "0x2f78203c3161f1139edf2ba4b17b4e430ad2cbfa", "0x17d47c6ac4f72d43420f5e9533b526b2dee626a6", "0x742d898d2ee28a338f03af79c47762a908281a6a", "0xb901829c7e8b7d1de44d8bce086e7a5b0bcc7957", "0x39140deffdbd7c3b2415c29a40e0571365819f57", "0x60528316c553df7cae86d1294ca0d381ebb65cf0", "0x052e421be8e93d6f6c4d3d99defed914920fb3c4", "0x2c72d7a8c02752fcfafbaea5a63c53056cfaf547", "0x3dabf8331afbc553a1e458e37a6c9c819c452d55"],
rpActivity: [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1],
rpLeader: ["0x20e5203a97b2e08c3dcc22c1c32e0dde3cc41da8", "0xbdada4f58d17ce602cb0d2db2a55c3e4f47e397f", "0xa923ac48439add7124763b3682f4505044c81ae3", "0x94ecbf26582455f5a7c88ab65a5a4ac05f6fe231", "0xdcefae3fdb94815f5d15111b46a5761a39b6ec9d", "0xf92ba56ac2506cb97c1d9ce55a54c595e0599ebd", "0x1b7740df685f9d34773d5a2aba6ab3a2c1407f40", "0xa4ebf5bbb131179b69bbf33319257728cdada5cf", "0x1a95e85e8ffcfd28eb61ee53a542dc98c57b337a", "0x266ddcfdbe3ded75e0e511e6356bca052b221c6b", "0xa4626e2bb450204c4b34bcc7525e585e8f678c0d", "0x533c13658591caa8a188211e73097adea7b94010", "0x0b80f69fcb2564479058e4d28592e095828d24aa", "0x1b7740df685f9d34773d5a2aba6ab3a2c1407f40", "0xa4626e2bb450204c4b34bcc7525e585e8f678c0d", "0xeeb157fdf2a72959f2f8be75ff500cf7a2104fbb", "0x4729672067e1ad8ca7f5770e3273747fe52affad", "0xcf34eb7f491fa7d18ba132938d7208e39da4b509", "0xcd54e0c35b122860d8fe2eb41f2e8e3e79c085ba", "0x28c12c7b51860b9d5aec3a0ceb63c6e187c00aac", "0xb64b60ba915bc16dc71ea59c9950c1538dcead9c", "0x36fad9acaf51a13527375b1ffc3d5a749153efdb", "0xdfd7aa554653ca236c197ad746edc2954ca172df", "0x4add297a1c2eea65e1ab5fd67e79647ecea8f36c", "0xc7afae3c9e99af27fe3eaa10f6ec73cd2dbe003b"],
slActivity: 0.794675925925926,
slBlocks: [331, 1338, 666, 338, 338, 323, 341, 364, 349, 368],
slCtrlCount: 8976,
sltLeader: ["0xfb3b101776390f993f118cb959f38135c562c52a", "0xee1ad9c4f9d81f900221e95ee04246b6254b0c6f", "0x026e37c00451428027ebbbc2c81dce7e280ae97d", "0x1a95e85e8ffcfd28eb61ee53a542dc98c57b337a", "0xc7afae3c9e99af27fe3eaa10f6ec73cd2dbe003b", "0x533c13658591caa8a188211e73097adea7b94010", "0x4bf9fd7308d0849a62c3a7dd71c5190e57c28756", "0xda8fa1aee77709d37f59fb96afd4cf10ccaeb6ce", "0xb019a99f0653973ddb2d983a26e0970587d08447", "0x2f78203c3161f1139edf2ba4b17b4e430ad2cbfa"]
}
>
Get the active information of the specified epoch
SltLeader is the selected block maker list, which does not contain the controlled node. SlBlocks corresponds to the actual number of blocks produced by each person in the sltLeader list.
For this epoch, slActivity is the amount of outgoing blocks divided by the total number of epoch slots.
SlCtrlCount the number of blocks of controlled nodes in the epoch.
> pos.getSlotActivity(18106)
{
slActivity: 0.794675925925926,
slBlocks: [338, 364, 349, 341, 331, 368, 323, 1338, 666, 338],
slCtrlCount: 8976,
sltLeader: ["0x1a95e85e8ffcfd28eb61ee53a542dc98c57b337a", "0xda8fa1aee77709d37f59fb96afd4cf10ccaeb6ce", "0xb019a99f0653973ddb2d983a26e0970587d08447", "0x4bf9fd7308d0849a62c3a7dd71c5190e57c28756", "0xfb3b101776390f993f118cb959f38135c562c52a", "0x2f78203c3161f1139edf2ba4b17b4e430ad2cbfa", "0x533c13658591caa8a188211e73097adea7b94010", "0xee1ad9c4f9d81f900221e95ee04246b6254b0c6f", "0x026e37c00451428027ebbbc2c81dce7e280ae97d", "0xc7afae3c9e99af27fe3eaa10f6ec73cd2dbe003b"]
}
Get the active information of the EL and RNP specified in the Epoch, and return null for the current Epoch or future Epoch
Among them, epLeader refers to the list of epoch leaders of the epoch, while epActivity refers to whether the epoch leader in the corresponding list has completed all EL protocol work
RpLeader is the random number proposer list of this epoch, and rpActivity is whether or not the random number proposer in the corresponding list completes all RNP protocol work
> pos.getValidatorActivity(18106)
{
epActivity: [0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1],
epLeader: ["0x882c9c16c05496d7b5374840936aec1af2a16553", "0x3628bf135f36c6e26a824ec9152885505f3fbc2a", "0x4add297a1c2eea65e1ab5fd67e79647ecea8f36c", "0x4bf9fd7308d0849a62c3a7dd71c5190e57c28756", "0xb58230a7923a6a1941016aa1682e212def899ed1", "0x1779a2002402319821e05977ad989e1cc0d3fbc3", "0x93c8ea0326ef334bdc3011e74cd1a6d78ce0594d", "0x2bfd98be771eeeb4d69dd8767d200ba58252d925", "0x28c12c7b51860b9d5aec3a0ceb63c6e187c00aac", "0x882c9c16c05496d7b5374840936aec1af2a16553", "0x1b7740df685f9d34773d5a2aba6ab3a2c1407f40", "0xee1ad9c4f9d81f900221e95ee04246b6254b0c6f", "0x6273ce1f6f32e129f295f138d6e4ba6f0e19333e", "0x0b80f69fcb2564479058e4d28592e095828d24aa", "0x9ce4664e9d7346869797b7d9fc8c7a0212d5ff44", "0x2f78203c3161f1139edf2ba4b17b4e430ad2cbfa", "0x17d47c6ac4f72d43420f5e9533b526b2dee626a6", "0x742d898d2ee28a338f03af79c47762a908281a6a", "0xb901829c7e8b7d1de44d8bce086e7a5b0bcc7957", "0x39140deffdbd7c3b2415c29a40e0571365819f57", "0x60528316c553df7cae86d1294ca0d381ebb65cf0", "0x052e421be8e93d6f6c4d3d99defed914920fb3c4", "0x2c72d7a8c02752fcfafbaea5a63c53056cfaf547", "0x3dabf8331afbc553a1e458e37a6c9c819c452d55"],
rpActivity: [0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1],
rpLeader: ["0x20e5203a97b2e08c3dcc22c1c32e0dde3cc41da8", "0xbdada4f58d17ce602cb0d2db2a55c3e4f47e397f", "0xa923ac48439add7124763b3682f4505044c81ae3", "0x94ecbf26582455f5a7c88ab65a5a4ac05f6fe231", "0xdcefae3fdb94815f5d15111b46a5761a39b6ec9d", "0xf92ba56ac2506cb97c1d9ce55a54c595e0599ebd", "0x1b7740df685f9d34773d5a2aba6ab3a2c1407f40", "0xa4ebf5bbb131179b69bbf33319257728cdada5cf", "0x1a95e85e8ffcfd28eb61ee53a542dc98c57b337a", "0x266ddcfdbe3ded75e0e511e6356bca052b221c6b", "0xa4626e2bb450204c4b34bcc7525e585e8f678c0d", "0x533c13658591caa8a188211e73097adea7b94010", "0x0b80f69fcb2564479058e4d28592e095828d24aa", "0x1b7740df685f9d34773d5a2aba6ab3a2c1407f40", "0xa4626e2bb450204c4b34bcc7525e585e8f678c0d", "0xeeb157fdf2a72959f2f8be75ff500cf7a2104fbb", "0x4729672067e1ad8ca7f5770e3273747fe52affad", "0xcf34eb7f491fa7d18ba132938d7208e39da4b509", "0xcd54e0c35b122860d8fe2eb41f2e8e3e79c085ba", "0x28c12c7b51860b9d5aec3a0ceb63c6e187c00aac", "0xb64b60ba915bc16dc71ea59c9950c1538dcead9c", "0x36fad9acaf51a13527375b1ffc3d5a749153efdb", "0xdfd7aa554653ca236c197ad746edc2954ca172df", "0x4add297a1c2eea65e1ab5fd67e79647ecea8f36c", "0xc7afae3c9e99af27fe3eaa10f6ec73cd2dbe003b"]
}
The following API interfaces have been deprecated and will be removed in future releases
Home
Getting started
- Install the Wanchain Wallet
- Launch the Wanchain Wallet
- Create a WAN Account
- Send and Receive WAN
- Send and Receive Private Transactions
- View your account with the Wanchain Explorer
- Backing up your account and data
- Restoring your account
- Uninstall the Wanchain Wallet
- Wanwallet 2.0 Cross-chain transactions
Developer Tools
- Getting WANs from Wanchain's Testnet Faucet
- How to deploy smart contracts on Wanchain
- Using the Wanchain Command Line Wallet
- Install and build
- Gwan common JSON RPC
- Gwan pos JSON RPC
- Gwan wan JSON RPC
FAQ