pub struct SingleInputBuilder { /* private fields */ }
Implementations§
source§impl SingleInputBuilder
impl SingleInputBuilder
pub fn new(input: &TransactionInput, utxo_info: &TransactionOutput) -> Self
pub fn payment_key(&self) -> Result<InputBuilderResult, JsError>
pub fn native_script(
&self,
native_script: &NativeScript,
witness_info: &NativeScriptWitnessInfo
) -> Result<InputBuilderResult, JsError>
pub fn plutus_script(
&self,
partial_witness: &PartialPlutusWitness,
required_signers: &RequiredSigners,
datum: &PlutusData
) -> Result<InputBuilderResult, JsError>
Trait Implementations§
source§impl Clone for SingleInputBuilder
impl Clone for SingleInputBuilder
source§fn clone(&self) -> SingleInputBuilder
fn clone(&self) -> SingleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more