Documentation exported from Syscoin Core 4.4.1

protx_register_fund (4.4.1 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

protx_register_fund "collateralAddress" "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" operatorReward "payoutAddress" ( "fundAddress" submit legacy )

Creates, funds and sends a ProTx to the network. The resulting transaction will move 100000 Syscoin
to the address specified by collateralAddress and will then function as the collateral of your
masternode.

Arguments:
1. collateralAddress    (string, required) The Syscoin address to send the collateral to.
2. ipAndPort            (string, required) IP and port in the form "IP:PORT".
                        Must be unique on the network. Can be set to 0, which will require a ProUpServTx afterwards.
3. ownerAddress         (string, required) The Syscoin address to use for payee updates and proposal voting.
                        The corresponding private key does not have to be known by your wallet.
                        The address must be unused and must differ from the collateralAddress.
4. operatorPubKey       (string, required) The operator BLS public key. The BLS private key does not have to be known.
                        It has to match the BLS private key which is later used when operating the masternode.
5. votingAddress        (string, required) The voting key address. The private key does not have to be known by your wallet.
                        It has to match the private key which is later used when voting on proposals.
                        If set to an empty string, ownerAddress will be used.
                        
6. operatorReward       (numeric, required) The fraction in %% to share with the operator. The value must be
                        between 0.00 and 100.00.
7. payoutAddress        (string, required) The Syscoin address to use for masternode reward payments.
8. fundAddress          (string, optional, default="") If specified wallet will only use coins from this address to fund ProTx.
                        If not specified, payoutAddress is the one that is going to be used.
                        The private key belonging to this address must be known in your wallet.
9. submit               (boolean, optional) If true, the resulting transaction is sent to the network.
10. legacy              (boolean, optional) Use Legacy BLS scheme (false by default

Result:
"hex"    (string) The transaction hash in hex

Examples:
> syscoin-cli protx_register_fund "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r" 173.249.49.9:18369 tsys1q2j57a4rtserh9022a63pvk3jqmg7un55stux0v 003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63 tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r 5 tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "protx_register_fund", "params": ["tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r", "173.249.49.9:18369", "tsys1q2j57a4rtserh9022a63pvk3jqmg7un55stux0v", "003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63", "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r", 5, "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/