> For the complete documentation index, see [llms.txt](https://docs.ready.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ready.co/aa-use-cases/session-keys/types.md).

# Types

The types used by the Session Keys project.

```tsx
export type SessionKey = {
  publicKey: string
  privateKey: string
}

export interface AllowedMethod {
  "Contract Address": string
  selector: string
}

export type MetadataTxFee = {
  tokenAddress: string
  maxAmount: string
}

export type SessionMetadata = {
  projectID: string
  txFees: MetadataTxFee[]
  projectSignature?: Signature
}

export type BuildSessionAccountParams = {
  session: Session
  sessionKey: SessionKey
  provider: ProviderInterface
  useCacheAuthorisation?: boolean
  argentSessionServiceBaseUrl?: string
}

export type CreateSessionParams = {
  sessionKey: SessionKey
  allowedMethods: AllowedMethod[]
  expiry: bigint
  metaData: SessionMetadata
}

```

<br>
