Skip to content

AccountOperationRestrictionTransactionV1Descriptor⚓︎

AccountOperationRestrictionTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for AccountOperationRestrictionTransactionV1Descriptor.

Allow or block outgoing transactions depending on their transaction type (V1, latest).

Constructors⚓︎

new AccountOperationRestrictionTransactionV1Descriptor()⚓︎

new AccountOperationRestrictionTransactionV1Descriptor(
   restrictionFlags, 
   restrictionAdditions?, 
   restrictionDeletions?): AccountOperationRestrictionTransactionV1Descriptor

Creates a descriptor for AccountOperationRestrictionTransactionV1.

Parameters⚓︎

Parameter Type Description
restrictionFlags AccountRestrictionFlags Type of restriction being applied to the listed transaction types.
restrictionAdditions? TransactionType[] Array of transaction types being added to the restricted list.
restrictionDeletions? TransactionType[] Array of transaction types being rtemoved from the restricted list.

Returns⚓︎

AccountOperationRestrictionTransactionV1Descriptor

Properties⚓︎

Property Type
rawDescriptor object
rawDescriptor.restrictionFlags AccountRestrictionFlags
rawDescriptor.type string

Methods⚓︎

toMap()⚓︎

toMap(): object
AccountOperationRestrictionTransactionV1Descriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.

Returns⚓︎

object

Descriptor that can be passed to a factory function.