Skip to main content

build_session_entry

Function build_session_entry 

Source
async fn build_session_entry(
    root_account: Address,
    chain_id: u64,
    expires: u64,
    scope: Vec<CallScope>,
    spend_limits: Vec<SessionSpendLimit>,
    wallet: WalletOpts,
) -> Result<SessionEntry>
Expand description

Builds an active session entry from CLI policy inputs and a root signature.