1
Technical Support / Re: Api question (get_account_history)
« on: November 23, 2015, 09:51:09 am »
It did not happen to realize the decoding in C #.
temp solution, add method to wallet_api
string wallet_api::get_memo(operation_history_id_type operation_id)const
{
auto obj = my->_remote_db->get_objects({ operation_id }).front();
auto t = obj.template as<operation_history_object>();
std::stringstream ss;
auto memo = t.op.visit(detail::operation_printer(ss, *my, t.result));
return memo;
}
temp solution, add method to wallet_api
string wallet_api::get_memo(operation_history_id_type operation_id)const
{
auto obj = my->_remote_db->get_objects({ operation_id }).front();
auto t = obj.template as<operation_history_object>();
std::stringstream ss;
auto memo = t.op.visit(detail::operation_printer(ss, *my, t.result));
return memo;
}