Skip to content

types.TransactionPermissions

prashantasdeveloper edited this page Sep 18, 2024 · 49 revisions

Interface: TransactionPermissions

types.TransactionPermissions

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

Hierarchy

Table of contents

Properties

Properties

exceptions

Optional exceptions: TxTag[]

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.registerTicker transaction. We could add both modules to values, and add TxTags.asset.registerTicker to exceptions

Defined in

types/index.ts:1007


type

type: PermissionType

Whether the permissions are inclusive or exclusive

Inherited from

SectionPermissions.type

Defined in

types/index.ts:994


values

values: (TxTag | ModuleName)[]

Values to be included/excluded

Inherited from

SectionPermissions.values

Defined in

types/index.ts:990

Clone this wiki locally