Update wallet market functions to use transaction_builder

NEEDS TESTING