|
rippled
|
Ledger Entry: AccountRoot. More...
#include <AccountRoot.h>


Public Member Functions | |
| AccountRoot (std::shared_ptr< SLE const > sle) | |
| Construct a AccountRoot ledger entry wrapper from an existing SLE object. | |
| SF_ACCOUNT::type::value_type | getAccount () const |
| Get sfAccount (soeREQUIRED) | |
| SF_UINT32::type::value_type | getSequence () const |
| Get sfSequence (soeREQUIRED) | |
| SF_AMOUNT::type::value_type | getBalance () const |
| Get sfBalance (soeREQUIRED) | |
| SF_UINT32::type::value_type | getOwnerCount () const |
| Get sfOwnerCount (soeREQUIRED) | |
| SF_UINT256::type::value_type | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeREQUIRED) | |
| SF_UINT32::type::value_type | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeREQUIRED) | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getAccountTxnID () const |
| Get sfAccountTxnID (soeOPTIONAL) | |
| bool | hasAccountTxnID () const |
| Check if sfAccountTxnID is present. | |
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > | getRegularKey () const |
| Get sfRegularKey (soeOPTIONAL) | |
| bool | hasRegularKey () const |
| Check if sfRegularKey is present. | |
| protocol_autogen::Optional< SF_UINT128::type::value_type > | getEmailHash () const |
| Get sfEmailHash (soeOPTIONAL) | |
| bool | hasEmailHash () const |
| Check if sfEmailHash is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getWalletLocator () const |
| Get sfWalletLocator (soeOPTIONAL) | |
| bool | hasWalletLocator () const |
| Check if sfWalletLocator is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getWalletSize () const |
| Get sfWalletSize (soeOPTIONAL) | |
| bool | hasWalletSize () const |
| Check if sfWalletSize is present. | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getMessageKey () const |
| Get sfMessageKey (soeOPTIONAL) | |
| bool | hasMessageKey () const |
| Check if sfMessageKey is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getTransferRate () const |
| Get sfTransferRate (soeOPTIONAL) | |
| bool | hasTransferRate () const |
| Check if sfTransferRate is present. | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getDomain () const |
| Get sfDomain (soeOPTIONAL) | |
| bool | hasDomain () const |
| Check if sfDomain is present. | |
| protocol_autogen::Optional< SF_UINT8::type::value_type > | getTickSize () const |
| Get sfTickSize (soeOPTIONAL) | |
| bool | hasTickSize () const |
| Check if sfTickSize is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getTicketCount () const |
| Get sfTicketCount (soeOPTIONAL) | |
| bool | hasTicketCount () const |
| Check if sfTicketCount is present. | |
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > | getNFTokenMinter () const |
| Get sfNFTokenMinter (soeOPTIONAL) | |
| bool | hasNFTokenMinter () const |
| Check if sfNFTokenMinter is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getMintedNFTokens () const |
| Get sfMintedNFTokens (soeDEFAULT) | |
| bool | hasMintedNFTokens () const |
| Check if sfMintedNFTokens is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getBurnedNFTokens () const |
| Get sfBurnedNFTokens (soeDEFAULT) | |
| bool | hasBurnedNFTokens () const |
| Check if sfBurnedNFTokens is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getFirstNFTokenSequence () const |
| Get sfFirstNFTokenSequence (soeOPTIONAL) | |
| bool | hasFirstNFTokenSequence () const |
| Check if sfFirstNFTokenSequence is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getAMMID () const |
| Get sfAMMID (soeOPTIONAL) | |
| bool | hasAMMID () const |
| Check if sfAMMID is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getVaultID () const |
| Get sfVaultID (soeOPTIONAL) | |
| bool | hasVaultID () const |
| Check if sfVaultID is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getLoanBrokerID () const |
| Get sfLoanBrokerID (soeOPTIONAL) | |
| bool | hasLoanBrokerID () const |
| Check if sfLoanBrokerID is present. | |
| bool | validate () const |
| Validate the ledger entry. | |
| LedgerEntryType | getType () const |
| Get the ledger entry type. | |
| uint256 const & | getKey () const |
| Get the key (index) of this ledger entry. | |
| std::optional< uint256 > | getLedgerIndex () const |
| Get the ledger index (sfLedgerIndex). | |
| bool | hasLedgerIndex () const |
| Check if the ledger entry has a ledger index. | |
| uint16_t | getLedgerEntryType () const |
| Get the ledger entry type field (sfLedgerEntryType). | |
| std::uint32_t | getFlags () const |
| Get the flags field (sfFlags). | |
| std::shared_ptr< SLE const > | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltACCOUNT_ROOT |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: AccountRoot.
Type: ltACCOUNT_ROOT (0x0061) RPC Name: account
Immutable wrapper around SLE providing type-safe field access. Use AccountRootBuilder to construct new ledger entries.
Definition at line 27 of file AccountRoot.h.
|
explicit |
Construct a AccountRoot ledger entry wrapper from an existing SLE object.
| std::runtime_error | if the ledger entry type doesn't match. |
Definition at line 36 of file AccountRoot.h.
| SF_ACCOUNT::type::value_type xrpl::ledger_entries::AccountRoot::getAccount | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::AccountRoot::getSequence | ( | ) | const |
| SF_AMOUNT::type::value_type xrpl::ledger_entries::AccountRoot::getBalance | ( | ) | const |
| SF_UINT32::type::value_type xrpl::ledger_entries::AccountRoot::getOwnerCount | ( | ) | const |
| SF_UINT256::type::value_type xrpl::ledger_entries::AccountRoot::getPreviousTxnID | ( | ) | const |
Get sfPreviousTxnID (soeREQUIRED)
Definition at line 98 of file AccountRoot.h.
| SF_UINT32::type::value_type xrpl::ledger_entries::AccountRoot::getPreviousTxnLgrSeq | ( | ) | const |
Get sfPreviousTxnLgrSeq (soeREQUIRED)
Definition at line 109 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::AccountRoot::getAccountTxnID | ( | ) | const |
Get sfAccountTxnID (soeOPTIONAL)
Definition at line 120 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasAccountTxnID | ( | ) | const |
Check if sfAccountTxnID is present.
Definition at line 133 of file AccountRoot.h.
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > xrpl::ledger_entries::AccountRoot::getRegularKey | ( | ) | const |
Get sfRegularKey (soeOPTIONAL)
Definition at line 144 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasRegularKey | ( | ) | const |
Check if sfRegularKey is present.
Definition at line 157 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT128::type::value_type > xrpl::ledger_entries::AccountRoot::getEmailHash | ( | ) | const |
Get sfEmailHash (soeOPTIONAL)
Definition at line 168 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasEmailHash | ( | ) | const |
Check if sfEmailHash is present.
Definition at line 181 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::AccountRoot::getWalletLocator | ( | ) | const |
Get sfWalletLocator (soeOPTIONAL)
Definition at line 192 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasWalletLocator | ( | ) | const |
Check if sfWalletLocator is present.
Definition at line 205 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::AccountRoot::getWalletSize | ( | ) | const |
Get sfWalletSize (soeOPTIONAL)
Definition at line 216 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasWalletSize | ( | ) | const |
Check if sfWalletSize is present.
Definition at line 229 of file AccountRoot.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::AccountRoot::getMessageKey | ( | ) | const |
Get sfMessageKey (soeOPTIONAL)
Definition at line 240 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasMessageKey | ( | ) | const |
Check if sfMessageKey is present.
Definition at line 253 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::AccountRoot::getTransferRate | ( | ) | const |
Get sfTransferRate (soeOPTIONAL)
Definition at line 264 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasTransferRate | ( | ) | const |
Check if sfTransferRate is present.
Definition at line 277 of file AccountRoot.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::AccountRoot::getDomain | ( | ) | const |
Get sfDomain (soeOPTIONAL)
Definition at line 288 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasDomain | ( | ) | const |
Check if sfDomain is present.
Definition at line 301 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT8::type::value_type > xrpl::ledger_entries::AccountRoot::getTickSize | ( | ) | const |
Get sfTickSize (soeOPTIONAL)
Definition at line 312 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasTickSize | ( | ) | const |
Check if sfTickSize is present.
Definition at line 325 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::AccountRoot::getTicketCount | ( | ) | const |
Get sfTicketCount (soeOPTIONAL)
Definition at line 336 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasTicketCount | ( | ) | const |
Check if sfTicketCount is present.
Definition at line 349 of file AccountRoot.h.
| protocol_autogen::Optional< SF_ACCOUNT::type::value_type > xrpl::ledger_entries::AccountRoot::getNFTokenMinter | ( | ) | const |
Get sfNFTokenMinter (soeOPTIONAL)
Definition at line 360 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasNFTokenMinter | ( | ) | const |
Check if sfNFTokenMinter is present.
Definition at line 373 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::AccountRoot::getMintedNFTokens | ( | ) | const |
Get sfMintedNFTokens (soeDEFAULT)
Definition at line 384 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasMintedNFTokens | ( | ) | const |
Check if sfMintedNFTokens is present.
Definition at line 397 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::AccountRoot::getBurnedNFTokens | ( | ) | const |
Get sfBurnedNFTokens (soeDEFAULT)
Definition at line 408 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasBurnedNFTokens | ( | ) | const |
Check if sfBurnedNFTokens is present.
Definition at line 421 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::AccountRoot::getFirstNFTokenSequence | ( | ) | const |
Get sfFirstNFTokenSequence (soeOPTIONAL)
Definition at line 432 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasFirstNFTokenSequence | ( | ) | const |
Check if sfFirstNFTokenSequence is present.
Definition at line 445 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::AccountRoot::getAMMID | ( | ) | const |
Get sfAMMID (soeOPTIONAL)
Definition at line 456 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasAMMID | ( | ) | const |
Check if sfAMMID is present.
Definition at line 469 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::AccountRoot::getVaultID | ( | ) | const |
Get sfVaultID (soeOPTIONAL)
Definition at line 480 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasVaultID | ( | ) | const |
Check if sfVaultID is present.
Definition at line 493 of file AccountRoot.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::AccountRoot::getLoanBrokerID | ( | ) | const |
Get sfLoanBrokerID (soeOPTIONAL)
Definition at line 504 of file AccountRoot.h.
| bool xrpl::ledger_entries::AccountRoot::hasLoanBrokerID | ( | ) | const |
Check if sfLoanBrokerID is present.
Definition at line 517 of file AccountRoot.h.
|
inherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
inherited |
Get the key (index) of this ledger entry.
The key uniquely identifies this ledger entry in the ledger state.
Definition at line 70 of file LedgerEntryBase.h.
|
inherited |
Get the ledger index (sfLedgerIndex).
This field is OPTIONAL and represents the index of the ledger entry.
Definition at line 85 of file LedgerEntryBase.h.
|
inherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type field (sfLedgerEntryType).
This field is REQUIRED for all ledger entries and indicates the type of the ledger entry (e.g., AccountRoot, RippleState, Offer, etc.).
Definition at line 114 of file LedgerEntryBase.h.
|
inherited |
Get the flags field (sfFlags).
This field is REQUIRED for all ledger entries and contains type-specific flags that modify the behavior of the ledger entry.
Definition at line 128 of file LedgerEntryBase.h.
|
inherited |
Get the underlying SLE object.
Provides direct access to the wrapped serialized ledger entry object for cases where the type-safe accessors are insufficient.
Definition at line 142 of file LedgerEntryBase.h.
|
staticconstexpr |
Definition at line 30 of file AccountRoot.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.