diff --git a/rust/src/lib.rs b/rust/src/lib.rs index adc20fd..b0c00e4 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -2084,6 +2084,10 @@ impl ScriptRef { pub fn plutus_script(&self) -> Option { self.0.as_plutus().clone() } + + pub fn script(&self) -> Script { + self.0.clone() + } } #[derive(