Skip to main content

get_association_state_with_verifier

Function get_association_state_with_verifier 

Source
pub async fn get_association_state_with_verifier(
    conn: &impl DbQuery,
    inbox_id: &str,
    to_sequence_id: Option<i64>,
    scw_verifier: &impl SmartContractSignatureVerifier,
) -> Result<AssociationState, ClientError>
Expand description

Get the association state for a given inbox_id up to the (and inclusive of) the to_sequence_id If no to_sequence_id is provided, use the latest value in the database