ledger-core
Public Member Functions | List of all members
ledger::core::AbstractAddress Class Reference
+ Inheritance diagram for ledger::core::AbstractAddress:
+ Collaboration diagram for ledger::core::AbstractAddress:

Public Member Functions

 AbstractAddress (const api::Currency &currency, const Option< std::string > &path)
 
api::Currency getCurrency () override
 
optional< std::string > getDerivationPath () override
 
std::shared_ptr< api::BitcoinLikeAddressasBitcoinLikeAddress () override
 
bool isInstanceOfBitcoinLikeAddress () override
 
- Public Member Functions inherited from ledger::core::api::Address
virtual std::string toString ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from ledger::core::api::Address
static std::shared_ptr< Addressparse (const std::string &address, const Currency &currency)
 
static bool isValid (const std::string &address, const Currency &currency)
 

Member Function Documentation

◆ getDerivationPath()

optional< std::string > ledger::core::AbstractAddress::getDerivationPath ( )
overridevirtual

Gets an optional derivation path (if the address is owned by an account).

Returns
The derivation path of the address

Implements ledger::core::api::Address.


The documentation for this class was generated from the following files: