Skip to main content

resolve_session_signer

Function resolve_session_signer 

Source
fn resolve_session_signer(
    session_id: B256,
    expected_sender: Option<Address>,
    expected_chain_id: u64,
) -> Result<ResolvedSessionSigner>
Expand description

Loads the live session signer and validates it against the command context.

The session must be active on the requested chain, and any explicit sender must match the session root account.