ledger-core
|
#include <BitcoinLikeOutput.hpp>
Public Member Functions | |
virtual std::string | getTransactionHash ()=0 |
virtual int32_t | getOutputIndex ()=0 |
virtual std::shared_ptr< Amount > | getValue ()=0 |
virtual std::vector< uint8_t > | getScript ()=0 |
virtual std::shared_ptr< BitcoinLikeScript > | parseScript ()=0 |
virtual std::experimental::optional< std::string > | getAddress ()=0 |
virtual std::shared_ptr< DerivationPath > | getDerivationPath ()=0 |
virtual std::experimental::optional< int64_t > | getBlockHeight ()=0 |
Class representing Bitcoin outputs.
|
pure virtual |
Get address that spent the output.
Implemented in ledger::core::BitcoinLikeOutputApi.
|
pure virtual |
Get index of output in list of all outputs contained in same transaction.
Implemented in ledger::core::BitcoinLikeOutputApi.
|
pure virtual |
Get script (witness script) cryptographic puzzle that determines the conditions to spend the output.
Implemented in ledger::core::BitcoinLikeOutputApi.
|
pure virtual |
Get transaction hash in which output was 'created'.
Implemented in ledger::core::BitcoinLikeOutputApi.
|
pure virtual |
Get amount of output.
Implemented in ledger::core::BitcoinLikeOutputApi.