Struct iota_client::api::ClientMessageBuilder[][src]

pub struct ClientMessageBuilder<'a> { /* fields omitted */ }
Expand description

Builder of the message API

Implementations

Create message builder

Sets the seed.

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 inputs. Default: 0..100

Set a transfer to the builder

Set a dust allowance transfer to the builder, address needs to be Bech32 encoded

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

Set indexation to the builder

Set data to the builder

Set 1-8 custom parent message ids

Consume the builder and get the API result

Get output amount and address from an OutputDto (bool true == SignatureLockedSingle, false == SignatureLockedDustAllowance)

Prepare a transaction

Sign the transaction

Consume the builder and get the API result

Builds the final message 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

Performs the conversion.

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

Performs the conversion.

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.