Skip to content
Alchemy Logo

PermissionType

const PermissionType: object;

Defined in: packages/smart-accounts/src/ma-v2/permissionBuilder.ts:53

A pseudo-enum for permission types.

NameTypeDefault value

ACCOUNT_FUNCTIONS

"account-functions"

"account-functions"

CONTRACT_ACCESS

"contract-access"

"contract-access"

ERC20_TOKEN_TRANSFER

"erc20-token-transfer"

"erc20-token-transfer"

FUNCTIONS_ON_ALL_CONTRACTS

"functions-on-all-contracts"

"functions-on-all-contracts"

FUNCTIONS_ON_CONTRACT

"functions-on-contract"

"functions-on-contract"

GAS_LIMIT

"gas-limit"

"gas-limit"

NATIVE_TOKEN_TRANSFER

"native-token-transfer"

"native-token-transfer"

ROOT

"root"

"root"

Was this page helpful?