makeMultiChainEnableData
Gets the data required to enable a session.
Usage
EnableSession memory enableData = instance.makeMultiChainEnableData({
session: session,
mode: SmartSessionMode.ENABLE,
});
Parameters
instance
- Type:
AccountInstance
The instance of the account used for testing.
session
- Type:
Session
The session to enable.
mode
- Type:
SmartSessionMode
The mode of enabling the session, either USE
, ENABLE
or UNSAFE_ENABLE
.
Returns
enableData
- Type:
EnableSession
The data required to enable the session.