Undelegate
The experimental::staking::undelegate
method stops your node's staking of a compatible coin. Currently QTUM and tQTUM (test tokens avalable at https://testnet-faucet.qtum.info/
) have been integrated, but this functionality will be expanded to more coins in future.
Note: After running experimental::staking::undelegate
, you will need to broadcast the returned hex via send_raw_transaction
to complete the process.
Structure | Type | Description |
---|---|---|
coin | string | the coin being staked |
POST
experimental::staking::undelegate{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "experimental::staking::undelegate",
"params": {
"coin": "tQTUM"
},
"id": 0
}
POST
experimental::staking::undelegate{
"userpass": "RPC_UserP@SSW0RD",
"method": "experimental::staking::undelegate",
"mmrpc": "2.0",
"params": {
"coin": "ATOM",
"staking_details": {
"type": "Cosmos",
"validator_address": "cosmosvaloper1c4k24jzduc365kywrsvf5ujz4ya6mwympnc4en",
"amount": "0.777"
}
}
}