Skip to main content

validate_execution_authorization

Function validate_execution_authorization 

Source
pub fn validate_execution_authorization(
    challenge: &ExecutionChallengeResponse,
    quote: &QuoteResponse,
    owner_wallet: &str,
    session_public_key: &str,
    account_sequence: Option<u64>,
) -> Result<ExecutionAuthorization, SdkError>
Expand description

Two-step path helper: check a challenge’s authorization payload binds exactly this quote, owner, and session before signing it. The one-call StrataClient::execute_quote no longer needs it (one signature over the transaction).