◆ getDerivationPath()
◆ isValid()
bool ledger::core::api::Address::isValid |
( |
const std::string & |
address, |
|
|
const Currency & |
currency |
|
) |
| |
|
static |
Checks if the given string formatted address is valid or not.
- Parameters
-
address | The string to parse |
currency | The currency used to parse the address |
- Returns
- If successful returns true, false otherwise.
◆ parse()
std::shared_ptr< api::Address > ledger::core::api::Address::parse |
( |
const std::string & |
address, |
|
|
const Currency & |
currency |
|
) |
| |
|
static |
Attempt to parse a string address. If the address can be parse return it otherwise return a NONE (depending on you host this may be a null, nil, None...).
- Parameters
-
address | The string to parse |
currency | The currency used to parse the address |
- Returns
- If successful returns the address object otherwise null.
◆ toString()
virtual std::string ledger::core::api::Address::toString |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files:
- src/api/Address.hpp
- src/wallet/common/AbstractAddress.cpp