Function getSingleSessionTxParams

  • getSingleSessionTxParams

    Retrieves the transaction parameters for a batched session.

    Parameters

    • conditionalSession: SessionSearchParam

      SessionSearchParam The session data that contains the sessionID and sessionSigner. If not provided, The default session storage (localStorage in browser, fileStorage in node backend) is used to fetch the sessionIDInfo

    • chain: Chain

      The chain.

    • Optional correspondingIndex: null | number

      An index for the transaction corresponding to the relevant session. If not provided, the last session index is used.

    Returns Promise<SingleSessionParamsPayload>

    Promise<BatchSessionParamsPayload> - session parameters.