rpc for transaction state