31 #ifndef LEDGER_CORE_BITCOINLIKEOUTPUTAPI_H 32 #define LEDGER_CORE_BITCOINLIKEOUTPUTAPI_H 34 #include <api/BitcoinLikeOutput.hpp> 35 #include <wallet/bitcoin/explorers/BitcoinLikeBlockchainExplorer.hpp> 36 #include <wallet/common/api_impl/OperationApi.h> 37 #include <utils/Either.hpp> 38 #include <wallet/common/Amount.h> 49 const std::shared_ptr<api::DerivationPath>& path
53 std::shared_ptr<api::Amount>
getValue()
override;
54 std::vector<uint8_t>
getScript()
override;
57 std::shared_ptr<api::BitcoinLikeScript> parseScript()
override;
59 std::shared_ptr<api::DerivationPath> getDerivationPath()
override;
70 std::shared_ptr<api::DerivationPath> _path;
78 #endif //LEDGER_CORE_BITCOINLIKEOUTPUTAPI_H Definition: Either.hpp:43
Definition: BitcoinLikeBlockchainExplorer.hpp:65
int32_t getOutputIndex() override
Definition: BitcoinLikeOutputApi.cpp:60
std::shared_ptr< api::Amount > getValue() override
Definition: BitcoinLikeOutputApi.cpp:64
optional< std::string > getAddress() override
Definition: BitcoinLikeOutputApi.cpp:72
Definition: Currency.hpp:23
Definition: Account.cpp:8
std::vector< uint8_t > getScript() override
Definition: BitcoinLikeOutputApi.cpp:68
std::string getTransactionHash() override
Definition: BitcoinLikeOutputApi.cpp:53
Definition: optional.hpp:177
Definition: BitcoinLikeOutputApi.h:42
Definition: BitcoinLikeOutput.hpp:27