Delegateavalancheproof

delegateavalancheproof "proof" "privatekey" "publickey" ( "delegation" )

Delegate the avalanche proof to another public key.

Arguments:
1. proof         (string, required) The proof to be delegated.
2. privatekey    (string, required) The private key in base58-encoding. Must match the proof master public key or the upper level parent delegation public key if  supplied.
3. publickey     (string, required) The public key to delegate the proof to.
4. delegation    (string) A string that is the serialized, hex-encoded delegation for the proof and which is a parent for the delegation to build.

Result:
"hex"    (string) A string that is a serialized, hex-encoded delegation.

Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "delegateavalancheproof", "params": ["<proof>" "<privkey>" "<pubkey>"]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/