pub struct BasicTransaction<'a>(_);
Expand description

Represents the on-chain notification mode and provides functionality for constructing an on-chain notification message.

Implementations

Derives the notification pubkey belonging to this payment code. This is exposed in case the consumer needs the notification pubkey for any reason, such as for manual blinding operations. Under normal circumstances, it is sufficient to use notification_address.

Derives the notification address belonging to this payment code.

Generates output scripts (scriptpubkeys) for a v1 notification transaction. Both outputs must be included and the notification input and key must not be easily associated with the sender.

Derives the notification private key belonging to a private payment code. Needed if spending from a notification address etc.

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.

Calls U::from(self).

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

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.