TypeScript SDK
CreateSessionKeyOptions
type CreateSessionKeyOptions = {  callPolicies?: Array<CallSpecInput>;  durationInSeconds: number;  grantFullPermissions?: boolean;  sessionKeyAddress: string;  transferPolicies?: Array<TransferSpecInput>;};The admin account that will perform the operation.
Smart contract interaction policies to apply to the session key, ignored if grantFullPermissions is true.
type callPolicies = Array<CallSpecInput>;How long the session key should be valid for, in seconds.
type durationInSeconds = number;Whether to grant full execution permissions to the session key.
type grantFullPermissions = boolean;The address to add as a session key.
type sessionKeyAddress = string;Value transfer policies to apply to the session key, ignored if grantFullPermissions is true.
type transferPolicies = Array<TransferSpecInput>;