ledger-core
Public Member Functions | List of all members
ledger::core::api::InternalTransaction Class Referenceabstract

#include <InternalTransaction.hpp>

+ Inheritance diagram for ledger::core::api::InternalTransaction:

Public Member Functions

virtual std::shared_ptr< BigIntgetGasLimit ()=0
 
virtual std::shared_ptr< BigIntgetUsedGas ()=0
 
virtual std::string getSender ()=0
 
virtual std::string getReceiver ()=0
 
virtual std::shared_ptr< BigIntgetValue ()=0
 
virtual std::vector< uint8_t > getData ()=0
 
virtual OperationType getOperationType ()=0
 

Detailed Description

Class representing an Ethereum internal transaction.

Member Function Documentation

◆ getData()

virtual std::vector<uint8_t> ledger::core::api::InternalTransaction::getData ( )
pure virtual

Get binary data payload.

Implemented in ledger::core::InternalTransaction.

◆ getGasLimit()

virtual std::shared_ptr<BigInt> ledger::core::api::InternalTransaction::getGasLimit ( )
pure virtual

Get start gas (in wei) : maximum amount of gas the originator is willing to pay.

Implemented in ledger::core::InternalTransaction.

◆ getOperationType()

virtual OperationType ledger::core::api::InternalTransaction::getOperationType ( )
pure virtual

Get operation type : whether it is a SEND or RECEIVE.

Implemented in ledger::core::InternalTransaction.

◆ getReceiver()

virtual std::string ledger::core::api::InternalTransaction::getReceiver ( )
pure virtual

Get destination ETH address.

Implemented in ledger::core::InternalTransaction.

◆ getSender()

virtual std::string ledger::core::api::InternalTransaction::getSender ( )
pure virtual

Get source ETH address.

Implemented in ledger::core::InternalTransaction.

◆ getUsedGas()

virtual std::shared_ptr<BigInt> ledger::core::api::InternalTransaction::getUsedGas ( )
pure virtual

Used gas (in wei) : used gas during this transaction:

Implemented in ledger::core::InternalTransaction.

◆ getValue()

virtual std::shared_ptr<BigInt> ledger::core::api::InternalTransaction::getValue ( )
pure virtual

Get amount of ether to send.

Implemented in ledger::core::InternalTransaction.


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