Skip to main content

remaining_limit

Function remaining_limit 

Source
async fn remaining_limit<P: Provider<TempoNetwork>>(
    provider: &P,
    root_account: Address,
    key_address: Address,
    token: Address,
    is_t3: bool,
) -> Result<(U256, Option<u64>)>
Expand description

Remaining spending limit for token and, on T3+, the current period end.