[][src]Struct firma::online::create_tx::CreateTxOptions

pub struct CreateTxOptions {
    pub recipients: Vec<AddressAmount>,
    pub coins: Vec<OutPoint>,
    pub psbt_name: String,
    pub qr_version: i16,
}

Fields

recipients: Vec<AddressAmount>

Address and amount in satoshi of the recipient specified as address:amount, it is possible to use units for amount but is mandatory to enclose quotes eg "address:amount BTC" at least 1 is required

coins: Vec<OutPoint>

Coin to spend, specified as txid:vout see list-coins, if not specified the node will choose coins

psbt_name: String

Name of the PSBT

qr_version: i16

QR code max version to use (max size)

Trait Implementations

impl Debug for CreateTxOptions[src]

impl StructOpt for CreateTxOptions[src]

impl StructOptInternal for CreateTxOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,