Skip to main content
Version: 31.0.x

Interface: TransactionPermissions

Defined in: src/api/entities/types.ts:656

Permissions related to Transactions. Can include/exclude individual transactions or entire modules

Extends

Properties

exceptions?

optional exceptions?: TxTag[]

Defined in: src/api/entities/types.ts:663

Transactions to be exempted from inclusion/exclusion. This allows more granularity when setting permissions. For example, let's say we want to include only the asset and staking modules, but exclude the asset.registerUniqueTicker transaction. We could add both modules to values, and add TxTags.asset.RegisterUniqueTicker to exceptions


type

type: PermissionType

Defined in: src/api/entities/types.ts:650

Whether the permissions are inclusive or exclusive

Inherited from

SectionPermissions.type


values

values: (TxTag | ModuleName)[]

Defined in: src/api/entities/types.ts:646

Values to be included/excluded

Inherited from

SectionPermissions.values