Skip to content

setRequiredPaymaster

Sets the required paymaster address.

Import

import { SessionKeyPermissionsBuilder } from "@account-kit/smart-contracts";

Usage

import { SessionKeyPermissionsBuilder } from "@account-kit/smart-contracts";
 
const builder = new SessionKeyPermissionsBuilder();
builder.setRequiredPaymaster("0x1234");

Parameters

paymaster

Address the address of the paymaster to be set

Returns

SessionKeyPermissionsBuilder the current instance for method chaining