Skip to main content

is_nonce_used_for_signer

Function is_nonce_used_for_signer 

Source
pub async fn is_nonce_used_for_signer(
    provider: &DynProvider,
    exchange_address: Address,
    signer_address: WalletAddress,
    nonce: u64,
) -> Result<bool, RsmSignerError>
Expand description

Checks the exchange contract for whether nonce is consumed by signer_address.

This helper is read-only and does not mutate DB nonce tracker state.