macro_rules! input {
($id:literal, $index:expr $(,)?) => { ... };
($id:literal, $index:expr, _ $(,)?) => { ... };
($id:literal, $index:expr, $redeemer:expr $(,)?) => { ... };
}Expand description
Construct Input from base16-encoded text strings & plain numbers.
The macro is variadic. It always requires a Hash<32> for transaction id, and a
u64 index. It may also take in an optional PlutusData redeemer or
‘_’ to indicate none, in cases where the input is spending from a script.