pub async fn get_input_note_with_id_prefix<R: FeltRng>(
client: &Client<R>,
note_id_prefix: &str,
) -> Result<InputNoteRecord, IdPrefixFetchError>Expand description
Returns the client input note whose ID starts with note_id_prefix.
ยงErrors
- Returns IdPrefixFetchError::NoMatch if we were unable to find any note where
note_id_prefixis a prefix of its ID. - Returns IdPrefixFetchError::MultipleMatches if there were more than one note found where
note_id_prefixis a prefix of its ID.