Delegate
The experimental::staking::delegate
method initiates your node's staking of a compatible coin. Currently QTUM and tQTUM (test tokens avalable at https://testnet-faucet.qtum.info/
), along with Cosmos/Tendermint coins are supported.
After running experimental::staking::delegate
, you will need to broadcast the returned hex via send_raw_transaction
to complete the process.
Only UTXOs of 100 QTUM / tQTUM will be actively staked. It is recomended to consolidate your balance into a single UTXO before initiating delegated staking. Staking will only work with legacy QTUM addresses (segwit addresses are not supported).
Structure | Type | Description |
---|---|---|
coin | string | the coin being staked |
staking_details | object | A standard StakingDetails object. |
POST
experimental::staking::delegate{
"userpass": "RPC_UserP@SSW0RD",
"method": "experimental::staking::delegate",
"mmrpc": "2.0",
"params": {
"coin": "tQTUM",
"staking_details": {
"type": "Qtum",
"address": "qbgHcqxXYHVJZXHheGpHwLJsB5epDUtWxe"
}
}
}
POST
experimental::staking::delegate{
"userpass": "RPC_UserP@SSW0RD",
"method": "experimental::staking::delegate",
"mmrpc": "2.0",
"params": {
"coin": "IRIS",
"staking_details": {
"type": "Cosmos",
"validator_address": "iva1qq93sapmdcx36uz64vvw5gzuevtxsc7lcfxsat",
"amount": "7.77"
}
}
}