Part Node
getNodePart
Retrieve participating node information by wallet address.
Params
- wallet : String - Wallet address (participate, mined)
Result
- Returns a JSON Object with a "Part Node Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"getNodePart","params":{"wallet":"YourWallet"},"id":123456}' http://localhost:8121
{"result":{"result":{"nodeIndex":100,"penalty":30,"nodeWallet":"YourParticipateWallet","minerWallet":"YourMinedWallet","state":"MN","startTimestamp":1640995812,"lockTime":31536000,"code":"24D0970AE467D1F272"},"id":100,"jsonrpc":"2.0"},"id":"123456","jsonrpc":"2.0"}
nodeStep1
Participate in TOP Node.
Params
- wallet : String - Wallet address to participate
- amount : String - Coins to participate (SNC)
- passphrase : String - Participating wallet password
- miner : String - Wallet address to be mined
- penalty : Integer - Penalty for Cancellation (%). (Option, Dafault:0)
- extension : Boolean - Automatically extend when the period expires. (Option, Dafault:False)
:::info Information Even if extension is False, it is automatically extended if it has a child nodes. :::
Result
- Returns a JSON Object with Node Code.
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep1","params":{"wallet":"YourParticipateWallet","amount":"5000000","passphrase":"YourPassword","miner":"YourMineWallet","penalty":30},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":8,"subtype":0,"nopsp":329,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":1,"amount":"5000000","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Participate in nodes TOP step Code: 24D0970AE467D1F272 ","ophash":"000000000B000000010000007D7C16950DB3578C3EC1900DAFADDE5C95D61F31"},"id":"123456","jsonrpc":"2.0"}
nodeStep2
Check TOP Node H/W.
Params
- code : String - Node participation code
- wallet : String - Wallet address to participate
- passphrase : String - Participating wallet password
Result
- Returns a JSON Object with H/W Specs.
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep2","params":{"code":"24D0970AE467D1F272","wallet":"YourParticipateWallet","passphrase":"YourPassword"},"id":123456}' http://localhost:8121
{"result":{"CPU":"{"ProcessorInfo":[{YourCPUInfo}]}","RAM":"{"MemoryInfo":[{YourRAMInfo}]}","GPU":"[{YourGPUInfo}]","DISK":"{"DiskInfo":[{YourDISKInfo}]}","block":0,"time":0,"opblock":0,"maturation":null,"optype":9,"subtype":0,"nopsp":379,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":2,"amount":"0","senders":[{"account":"YourParticipateWallet","amount":"0","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet","amount":"0"}],"optxt":"H\/W Verify in nodes TOP step Code: 24D0970AE467D1F272 ","ophash":"0000000001000000020000006EECDE7063C7E72522AD4DC0FAE49AFA285AA7B2"},"id":"123456","jsonrpc":"2.0"}
nodeStepMDList
Check Middle Node participation status.
Params
- code : String - Node participation code
- wallet : String - Wallet address to participate TOP Node
Result
- Returns a JSON Array with a "Part Sub Node Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStepMDList","params":{"code":"24D0970AE467D1F272","wallet":"YourParticipateTopWallet"},"id":123456}' http://localhost:8121
{"result":[{"wallet":"...E1CD5E...","amount":"1000000","state":"Waiting for approval."}],"id":"123456","jsonrpc":"2.0"}
nodeStep3_1
Participate in MIDDLE Node.
Params
- code : String - Node participation code
- wallet : String - Wallet address to participate
- amount : String - Coins to participate (SNC)
- passphrase : String - Participating wallet password
- miner : String - Wallet address to be mined
- confirmer : String - TOP Node participation wallet that can approve Middle Node participation
- extension : Boolean - Automatically extend when the period expires. (Option, Dafault:False)
:::info Information Even if extension is False, it is automatically extended if it has a child nodes. :::
Result
- Returns a JSON Object with Node Code.
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep3_1","params":{"code":"ParticipateNodeCode","wallet":"YourParticipateWallet","amount":"1000000","passphrase":"YourPassword","miner":"YourMineWallet","confirmer":"TopNodeWallet"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":14,"subtype":0,"nopsp":349,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":1,"amount":"1000000","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Participate in nodes Middle step Code: 24D0970AE467D1F272 ","ophash":"000000000300000001000000C2B3D0AEDBC96D081C6B1536CFC7033783FAFE84"},"id":"123456","jsonrpc":"2.0"}
nodeStep3_2
Top node's request for approval/rejection of Middle node participation.
Params
- select : Boolean - approval/rejection
- code : String - Node participation code
- confirmer : String - Wallet address to participate Top Node.
- passphrase : String - Participating Top Node wallet(confirmer) password
- target : String - Wallet address to approve/reject.(Wallet address awaiting approval - "nodeStepMDList")
Result
- Returns a JSON Object with a "Operation Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep3_2","params":{"select":false,"code":"ParticipateNodeCode","confirmer":"YourParticipateTopWallet","passphrase":"YourPassword","target":"MidNodeWallet"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":15,"subtype":0,"nopsp":359,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":1,"amount":"0","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Reject for participation Middle step Code: 24D0970AE467D1F272 ","ophash":"000000000100000003000000A730BFD19FB1AA7BCC2FE206A4C912954BCAE61D"},"id":"123456","jsonrpc":"2.0"}
nodeStep4_1
Check MIDDLE Node H/W.
Params
- code : String - Node participation code
- wallet : String - Wallet address to participate
- passphrase : String - Participating wallet password
- confirmer : String - TOP Node participation wallet that can approve Middle Node participation
Result
- Returns a JSON Object with H/W Specs.
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep4_1","params":{"code":"ParticipateNodeCode","wallet":"YourParticipateWallet","passphrase":"YourPassword","confirmer":"TopNodeWallet"},"id":123456}' http://localhost:8121
{"result":{"CPU":"{"ProcessorInfo":[{YourCPUInfo}]}","RAM":"{"MemoryInfo":[{YourRAMInfo}]}","GPU":"[{YourGPUInfo}]","DISK":"{"DiskInfo":[{YourDISKInfo}]}","block":0,"time":0,"opblock":0,"maturation":null,"optype":16,"subtype":0,"nopsp":379,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":3,"amount":"0","senders":[{"account":"YourParticipateWallet","amount":"0","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet","amount":"0"}],"optxt":"Required H\/W Verify in nodes Middle step Code: 24D0970AE467D1F272 ","ophash":"0000000003000000030000008FFDD9DEC0326E7B6B0B4910CEAD290897DA7E51"},"id":"123456","jsonrpc":"2.0"}
nodeStep4_2
Top node's request for approval/rejection of Middle node H/W Specs.
Params
- select : Boolean - approval/rejection
- code : String - Node participation code
- confirmer : String - Wallet address to participate Top Node.
- passphrase : String - Participating Top Node wallet(confirmer) password
- target : String - Wallet address to approve/reject.(Wallet address Waiting for H/W approval - "nodeStepMDList")
Result
- Returns a JSON Object with a "Operation Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep4_2","params":{"select":false,"code":"ParticipateNodeCode","confirmer":"YourParticipateTopWallet","passphrase":"YourPassword","target":"MidNodeWallet"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":17,"subtype":0,"nopsp":359,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":5,"amount":"0","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Reject H\/W Verify in nodes Middle step Code: 24D0970AE467D1F272 ","ophash":"000000000100000005000000FE36A65954858B0BB58DA2CBC7DDDED557C01696"},"id":"123456","jsonrpc":"2.0"}
nodeStepBTList
Check Bottom Node participation status.
Params
- code : String - Node participation code
- main : String - Wallet address to participate TOP Node
- wallet : String - Wallet address to participate Middle Node
Result
- Returns a JSON Array with a "Part Sub Node Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStepBTList","params":{"code":"24D0970AE467D1F272","main":"YourParticipateTopWallet","wallet":"YourParticipateMiddleWallet"},"id":123456}' http://localhost:8121
{"result":[{"wallet":"...E1CD5E...","amount":"1000000","state":"Waiting for approval."}],"id":"123456","jsonrpc":"2.0"}
nodeStep5_1
Participate in BOTTOM Node.
Params
- code : String - Node participation code
- wallet : String - Wallet address to participate
- amount : String - Coins to participate (SNC)
- passphrase : String - Participating wallet password
- miner : String - Wallet address to be mined
- main : String - TOP Node participation wallet
- confirmer : String - MIDDLE Node participation wallet that can approve Bottom Node participation
- extension : Boolean - Automatically extend when the period expires. (Option, Dafault:False)
Result
- Returns a JSON Object with Node Code.
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep5_1","params":{"code":"ParticipateNodeCode","wallet":"YourParticipateWallet","amount":"100000","passphrase":"YourPassword","miner":"YourMineWallet","main":"TopNodeWallet","confirmer":"MiddleNodeWallet"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":18,"subtype":0,"nopsp":359,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":1,"amount":"100000","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Participate in nodes Bottom step Code: 24D0970AE467D1F272 ","ophash":"000000000500000001000000EF39AD5174653A4EBDBF6761DBC5FEB2E05DB369"},"id":"123456","jsonrpc":"2.0"}
nodeStep5_2
Middle node's request for approval/rejection of Bottom node participation.
Params
- select : Boolean - approval/rejection
- code : String - Node participation code
- main : String - Wallet address to participate Top Node.
- confirmer : String - Wallet address to participate Middle Node.
- passphrase : String - Participating Top Node wallet(confirmer) password
- target : String - Wallet address to approve/reject.(Wallet address awaiting approval - "nodeStepMDList")
Result
- Returns a JSON Object with a "Operation Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeStep5_2","params":{"select":false,"code":"ParticipateNodeCode","main":"YourParticipateTopWallet","confirmer":"YourParticipateMiddleWallet","passphrase":"YourPassword","target":"BottomNodeWallet"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":19,"subtype":0,"nopsp":359,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":5,"amount":"0","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Reject for participation Bottom step Code: 24D0970AE467D1F272 ","ophash":"000000000300000005000000B583E358222E057A7E248B092CFEF6C970BBCAAA"},"id":"123456","jsonrpc":"2.0"}
blockchainStart
Start of final blockchain mining.
Params
- code : String - Node participation code
- wallet : String - Wallet address(TOP Node) to participate
- passphrase : String - Participating wallet password
- mine : String - Mine wallet
- minepass : String - Mine wallet password
- share : String - Share wallet
- nodes : String - Sub Node IP(contains ip's in format) "ip1;ip2 ...".
Result
- Returns a JSON Object with a "Operation Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"blockchainStart","params":{"code":"ParticipateNodeCode","wallet":"YourParticipateTopWallet","passphrase":"YourPassword","mine":"MineWallet","minepass":"MineWalletPassword","mine":"ShareWallet","nodes":"1.1.1.1;8.8.8.8;"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":19,"subtype":0,"nopsp":359,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":5,"amount":"0","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Blockchain Mine Start","ophash":"000000000300000005000000B583E358222E057A7E248B092CFEF6C970BBCAAA"},"id":"123456","jsonrpc":"2.0"}
nodeCancel
Request cancellation from the participating node.
:::danger Important It cannot be canceled while subnodes are participating. In case of cancellation, the set penalty is received. Penalty volumes are distributed to all participating nodes. :::
Params
- code : String - Node participation code
- wallet : String - Wallet address to participate
- passphrase : String - Participating wallet password
Result
- Returns a JSON Object with a "Operation Object"
Example
curl -X POST --data '{"jsonrpc":"2.0","method":"nodeCancel","params":{"code":"ParticipateNodeCode","wallet":"YourParticipateWallet","passphrase":"YourPassword"},"id":123456}' http://localhost:8121
{"result":{"block":0,"time":1644208478,"opblock":0,"maturation":null,"optype":19,"subtype":0,"nopsp":359,"niopsp":0,"oprice":"3076923076230769","ioprice":"3076923076230769","signer_account":"YourParticipateWallet","n_operation":5,"amount":"0","senders":[{"account":"YourParticipateWallet","payload":"","payload_type":0}],"receivers":[{"account":"YourParticipateWallet"}],"optxt":"Cancel node participation","ophash":"000000000300000005000000B583E358222E057A7E248B092CFEF6C970BBCAAA"},"id":"123456","jsonrpc":"2.0"}