Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreateSessionRequest

Index

Constructors

Properties

address: string

The address of the session key.

chainId: number

The chain ID. Must be a supported chain.

externalOwnerAddress?: string

If no account exists for a given player, create one with this address.

limit?: number

Maximum number of times the session key can be used.

optimistic?: boolean

Set to true to indicate that the transactionIntent request should be resolved as soon as possible, after the transactionIntent is created and simulated and before it arrives on chain.

player?: string

The player ID (starts with pla_).

policy?: string

ID of the Policy that defines the gas sponsorship strategy (starts with pol_). If no Policy is provided, the own Account native token funds will be used to pay for gas.

validAfter: number

The unix timestamp in seconds when the session key becomes valid.

validUntil: number

The unix timestamp in seconds when the session key expires.

whitelist?: string[]

The list of whitelisted addresses (contracts the session key can interact with).

attributeTypeMap: { baseName: string; format: string; name: string; type: string }[] = ...
discriminator: undefined | string = undefined

Methods

  • getAttributeTypeMap(): { baseName: string; format: string; name: string; type: string }[]

Generated using TypeDoc