From e9996cba9b5bd226862e310bc3f2cc7c8fab67ee Mon Sep 17 00:00:00 2001 From: zgrguric Date: Wed, 13 Dec 2023 15:35:03 +0100 Subject: [PATCH] add ClaimReward_tfOptOut flag --- src/Utilities/Flags.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Utilities/Flags.php b/src/Utilities/Flags.php index abc1a0b..89c1128 100644 --- a/src/Utilities/Flags.php +++ b/src/Utilities/Flags.php @@ -58,6 +58,9 @@ final class Flags 'tfDisallowXRP' => 0x00100000, 'tfAllowXRP' => 0x00200000 ], + 'ClaimReward' => [ + 'tfOptOut' => 0x00000001 + ] ]; //todo account set asf flags... https://js.xrpl.org/enums/AccountSetAsfFlags.html @@ -194,6 +197,9 @@ public static function description(string $transactiontype, string $flagname, bo case 'AccountSet_tfAllowXRP': $html = 'XRP is allowed to be sent to this account.'; break; + case 'ClaimReward_tfOptOut': + $html = 'The isOptOut flag in the ClaimReward is used to opt-out an account from rewards by removing reward-related fields from the account object in the ledger if the sfFlags field in the transaction is set to 1.'; + break; } if(!$htmlFormat)