pub enum TxScaffoldInput {
PubKeyInput {
output: TransactionOutput,
},
ScriptInput {
output: TransactionOutput,
datum: Option<DatumFromWitness>,
redeemer: Redeemer,
},
}
Expand description
Input to a transaction
Variants§
PubKeyInput
Fields
§
output: TransactionOutput
Input from a public key wallet
ScriptInput
Input from a validator address with the attached datum and redeemer
Auto Trait Implementations§
impl Freeze for TxScaffoldInput
impl RefUnwindSafe for TxScaffoldInput
impl Send for TxScaffoldInput
impl Sync for TxScaffoldInput
impl Unpin for TxScaffoldInput
impl UnwindSafe for TxScaffoldInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more