return txn in spend rpc