pub struct ClientBlockBuilder<'a> { /* private fields */ }
Expand description

Builder of the block API

Implementations

Prepare a transaction

Sign the transaction

Create block builder

Allow burning of native tokens when custom inputs are provided.

Sets the seed.

Sets the coin type.

Sets the account index.

Sets the index of the address to start looking for balance.

Set a custom input(transaction output)

Set a custom range in which to search for addresses for custom provided inputs. Default: 0..100

Set a transfer to the builder

Set outputs to the builder

Set a transfer to the builder, address needs to be hex encoded

Set a custom remainder address

Set tagged_data to the builder

Set data to the builder

Set 1-8 custom parent block ids

Set multiple options from client block builder options type Useful for bindings

Consume the builder and get the API result

Get output amount and address from an OutputDto, governance_transition for Alias Outputs so we get the unlock condition we’re interested in

Consume the builder and get the API result

Builds the final block and posts it to the node

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 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