addContractAddressAccessEntry
Adds a contract access entry to the internal list of contract address access entries.
Import
import { SessionKeyPermissionsBuilder } from "@account-kit/smart-contracts";
Usage
import { SessionKeyPermissionsBuilder } from "@account-kit/smart-contracts";
const builder = new SessionKeyPermissionsBuilder();
builder.addContractAddressAccessEntry({
contractAddress: "0x1234",
isOnList: true,
checkSelectors: true,
});
Parameters
entry
ContractAccessEntry
the contract access entry to be added
Returns
SessionKeyPermissionsBuilder
the instance of the current class for chaining