update api to use new account_tx index