pub struct SendParams {
pub outputs: Vec<Value>,
pub conf_target: Option<i64>,
pub estimate_mode: Option<String>,
pub fee_rate: Option<Value>,
pub options: Option<Value>,
pub version: Option<i64>,
}Expand description
EXPERIMENTAL warning: this call may be changed in future releases. Send a transaction.
Fields§
§outputs: Vec<Value>The outputs specified as key-value pairs. Each key may only appear once, i.e. there can only be one ‘data’ output, and no address may be duplicated. At least one output of either type must be specified. For convenience, a dictionary, which holds the key-value pairs directly, is also accepted.
conf_target: Option<i64>Confirmation target in blocks
estimate_mode: Option<String>The fee estimate mode, must be one of (case insensitive): unset, economical, conservative unset means no mode set (economical mode is used if the transaction is replaceable; otherwise, conservative mode is used). economical estimates use a shorter time horizon, making them more responsive to short-term drops in the prevailing fee market. This mode potentially returns a lower fee rate estimate. conservative estimates use a longer time horizon, making them less responsive to short-term drops in the prevailing fee market. This mode potentially returns a higher fee rate estimate.
fee_rate: Option<Value>Specify a fee rate in sat/vB.
options: Option<Value>§version: Option<i64>Transaction version