Type-safe C++ wrappers for transaction C API. More...

Classes

Type Name
class eosio::transaction_header
class eosio::transaction
struct eosio::onerror

Functions

Detailed Description

Note:

There are some methods from the transactioncapi that can be used directly from C++

Functions Documentation

function get_action

action eosio::get_action(
    uint32_t type,
    uint32_t index
)

Retrieve the indicated action from the active transaction.

Parameters:

  • type - 0 for context free action, 1 for action
  • index - the index of the requested action

Returns:

the indicated action