setContractAccessControlType
Sets the access control type for the contract and returns the current instance for method chaining.
Import
import { SessionKeyPermissionsBuilder } from "@account-kit/smart-contracts";
Usage
import { SessionKeyPermissionsBuilder } from "@account-kit/smart-contracts";
const builder = new SessionKeyPermissionsBuilder();
builder.setContractAccessControlType(SessionKeyAccessListType.ALLOWLIST);
Parameters
aclType
SessionKeyAccessListType
The access control type for the session key
Returns
SessionKeyPermissionsBuilder
The current instance for method chaining