protx
protx "command" ...
Set of commands to execute ProTx related actions. To get help on individual commands, use "help protx command".
# Available commands:
register - Create and send ProTx to network
register_fund - Fund, create and send ProTx to network
register_prepare - Create an unsigned ProTx
register_submit - Sign and submit a ProTx
quick_setup - register_prepare, signmessage and register_submit in one command
list - List ProTxs
info - Return information about a ProTx
update_service - Create and send ProUpServTx to network
update_registrar - Create and send ProUpRegTx to network
revoke - Create and send ProUpRevTx to network
diff - Calculate a diff and a proof between two smartnode lists
Arguments
Argument | Type | Description |
---|---|---|
"command" | (string) | The command to execute |
Arguments:
1. "command" (string, required) The command to execute
Output
Result | Type | Description |
---|---|---|
... | ... | ... |
Result:
{
...
}
Examples
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "protx_register", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d", 0, "173.249.49.9:15420", "tsys1q2j57a4rtserh9022a63pvk3jqmg7un55stux0v", "003bc97fcd6023996f8703b4da34dedd1641bd45ed12ac7a4d74a529dd533ecb99d4fb8ddb04853bb110f0d747ee8e63", "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r", 5, "tsys1qxh8am0c9w0q9kv7h7f9q2c4jrfjg63yawrgm0r"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/