pub async fn get_input_note_with_id_prefix<AUTH>(
client: &Client<AUTH>,
note_id_prefix: &str,
) -> Result<InputNoteRecord, IdPrefixFetchError>where
AUTH: TransactionAuthenticator + Sync,Expand description
Returns the client input note whose ID starts with note_id_prefix.
ยงErrors
- Returns
IdPrefixFetchError::NoMatchif we were unable to find any note wherenote_id_prefixis a prefix of its ID. - Returns
IdPrefixFetchError::MultipleMatchesif there were more than one note found wherenote_id_prefixis a prefix of its ID.