stakeat

stakeat recipient test_fee coin_control

Delegate staking to the provided recipient. The funds will still be spendable by the current node.

Argument #1 - recipient

Type: json, required

{
  "address": "address", (string, required) The Unit-e address to send to.
  "amount": x.xxx,      (numeric or string, required) The amount in UTE to send, e.g. 0.1
  "subfee": b           (boolean, optional, default=false) Deduct the fee from the amount being sent.
}

Argument #2 - test_fee

Type: bool, optional, default=false

Only return the fee it would cost to send, txn is discarded.

Argument #3 - coin_control

Type: json, optional

Coincontrol object.

{
  "changeaddress": "address", (string, optional) The Address for receiving change
  "inputs":                   (json, optional)
     [{"tx":, "n":},...],
  "replaceable": b,           (boolean, optional)  Allow this transaction to be replaced by a transaction
                              with higher fees via BIP 125
  "conf_target": n,           (numeric, optional) Confirmation target (in blocks)
  "estimate_mode": "xxx",     (string, optional) The fee estimate mode, must be one of:
      "UNSET"
      "ECONOMICAL"
      "CONSERVATIVE"
  "fee_rate": n,              (numeric, optional, default not set: makes wallet determine the fee) Set a specific
                              feerate (UTE per KB)
  "ignore_remote_staked": b   (boolean, optional, default=false) Exclude coins that are currently staked on other nodes.
}

Result

Name

Type

Description

txid

string

The transaction id.

Examples

unit-e-cli stakeat "{\"address\":\"2NDoNG8nR57LDs9m2VKV4wzYVR9YBJ2L5Nd\",\"amount\":0.1}"