or the recipient of the input message, if it is a message.
index
: [u64] - The index of the input to check.index
, if the input’s type is Input::Coin
, or the recipient of the input message, if the input’s type is Input::Message
, else None
.use std::inputs::input_address;
fn foo() {
let input_address = input_address(0).unwrap();
assert(input_address != Address::zero());
}