Show / Hide Table of Contents

Enum GranularPermission

A granular permission: the right to perform part of a transaction type rather than all of it, granted to a delegate through DelegateSet.

Namespace: Xrpl.BinaryCodec.Enums
Assembly: Xrpl.BinaryCodec.dll
Syntax
public enum GranularPermission : uint
Remarks

Mirrors rippled's GranularPermissionType, declared in include/xrpl/protocol/detail/permissions.macro. The values start above ushort.MaxValue by design, so that they can never collide with a transaction-type permission, which is the transaction type code plus one.

A granular permission may be delegated even when the transaction it belongs to may not: AccountDomainSet is grantable although AccountSet as a whole is not.

Unlike the other protocol enumerations, this one is not generated - definitions.json does not carry granular permissions. It is held against the vendored macro by TestUGranularPermissionConformance.

It lives in the codec rather than in the models because the codec is what has to name a permission when it decodes one, and the dependency runs one way: Xrpl sees Xrpl.BinaryCodec, never the reverse.

Fields

Name Description
AccountDomainSet

Set the account's domain (AccountSet).

AccountEmailHashSet

Set the account's email hash (AccountSet).

AccountMessageKeySet

Set the account's message key (AccountSet).

AccountTickSizeSet

Set the account's tick size (AccountSet).

AccountTransferRateSet

Set the account's transfer rate (AccountSet).

MPTokenIssuanceLock

Lock an MPT issuance (MPTokenIssuanceSet).

MPTokenIssuanceUnlock

Unlock an MPT issuance (MPTokenIssuanceSet).

PaymentBurn

Redeem tokens through a payment back to the issuer (Payment).

PaymentMint

Issue tokens through a payment from the issuer (Payment).

TrustlineAuthorize

Authorize a trustline (TrustSet, LimitAmount).

TrustlineFreeze

Freeze a trustline (TrustSet).

TrustlineUnfreeze

Unfreeze a trustline (TrustSet).

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX