Type Alias GrantPermissionsParameters

GrantPermissionsParameters: {
    expiry: number;
    permissions: readonly Permission[];
} & OneOf<{
    signer?: Signer;
} | {
    account?: `0x${string}`;
}>

Type declaration

  • expiry: number

    Timestamp (in seconds) that specifies the time by which this session MUST expire.

  • permissions: readonly Permission[]

    Set of permissions to grant to the user.