pub struct ClientBlockBuilderOptions {
Show 13 fields pub coin_type: Option<u32>, pub account_index: Option<u32>, pub initial_address_index: Option<u32>, pub inputs: Option<Vec<UtxoInputDto>>, pub input_range: Option<Range<u32>>, pub output: Option<ClientBlockBuilderOutputAddress>, pub output_hex: Option<ClientBlockBuilderOutputAddress>, pub outputs: Option<Vec<OutputDto>>, pub custom_remainder_address: Option<String>, pub tag: Option<String>, pub data: Option<String>, pub parents: Option<Vec<BlockId>>, pub allow_burning: Option<bool>,
}
Expand description

Options for generating block

Fields

coin_type: Option<u32>

Coin type

account_index: Option<u32>

Account index

initial_address_index: Option<u32>

Initial address index

inputs: Option<Vec<UtxoInputDto>>

Inputs

input_range: Option<Range<u32>>

Input range

output: Option<ClientBlockBuilderOutputAddress>

Bech32 encoded output address and amount

output_hex: Option<ClientBlockBuilderOutputAddress>

Hex encoded output address and amount

outputs: Option<Vec<OutputDto>>

Outputs

custom_remainder_address: Option<String>

Custom remainder address

tag: Option<String>

Hex encoded tag

data: Option<String>

Hex encoded data

parents: Option<Vec<BlockId>>

Parents

allow_burning: Option<bool>

Allow burning of native tokens

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more