title: Solana rpc subscribe to account transactions
body: <p>I am trying to listen for transactions for an account, I need to know when a transaction is received and get the hash of that transaction.</p>
  <p>I am using Solana's json rpc api on <a href="https://api.testnet.solana.com" rel="nofollow noreferrer">https://api.testnet.solana.com</a></p>
  <p>What I tried so far:</p>
  <p><a href="https://docs.solana.com/developing/clients/jsonrpc-api#blocksubscribe---unstable-disabled-by-default" rel="nofollow noreferrer">blockSubscribe</a>: is unstable and disabled by default.</p>
  <p><a href="https://docs.solana.com/developing/clients/jsonrpc-api#accountsubscribe" rel="nofollow noreferrer">accountSubscribe</a>: this will send the account balance but not the transaction.</p>
  <p><a href="https://docs.solana.com/developing/clients/jsonrpc-api#logssubscribe" rel="nofollow noreferrer">logsSubscribe</a>: tried passing account address as mentions but didn't work.</p>