Class MosaicRestrictionTransactionService
Hierarchy
-
MosaicRestrictionTransactionService
Properties
Private Readonly defaultMosaicAddressRestrictionValue
default
MosaicAddressRestrictionValue: UInt64 = UInt64.fromHex('FFFFFFFFFFFFFFFF')
Private Readonly defaultMosaicGlobalRestrictionValue
default
MosaicGlobalRestrictionValue: UInt64 = UInt64.fromUint(0)
Private Readonly namespaceRepository
Private Readonly restrictionMosaicRepository
Methods
createMosaicAddressRestrictionTransaction
-
Parameters
-
-
-
-
restrictionKey: UInt64
-
-
restrictionValue: string
-
Default value maxFee: UInt64 = new UInt64([0, 0])
createMosaicGlobalRestrictionTransaction
-
Parameters
-
-
-
-
restrictionKey: UInt64
-
restrictionValue: string
-
-
Default value referenceMosaicId: UnresolvedMosaicId = new MosaicId(UInt64.fromUint(0).toDTO())
-
Default value maxFee: UInt64 = new UInt64([0, 0])
Private getAddressRestrictionEntry
- getAddressRestrictionEntry(mosaicId: MosaicId, restrictionKey: UInt64, targetAddress: Address): Observable<string | undefined>
-
Parameters
Returns Observable<string | undefined>
Private getGlobalRestrictionEntry
Private validateInput
- validateInput(value: string): void
MosaicRestrictionTransactionService service