adding api to get trx id from trx

This commit is contained in:
Daniel Larimer 2015-10-22 10:08:07 -04:00
parent 63c286a769
commit 1ff46f0b29

View file

@ -700,6 +700,12 @@ class wallet_api
}
/**
* This method is used to convert a JSON transaction to its transactin ID.
*/
transaction_id_type get_transaction_id( const signed_transaction& trx )const { return trx.id(); }
/** These methods are used for stealth transfers */
///@{
/**
@ -1483,6 +1489,7 @@ FC_API( graphene::wallet::wallet_api,
(borrow_asset)
(transfer)
(transfer2)
(get_transaction_id)
(create_asset)
(update_asset)
(update_bitasset)