> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# suix_subscribeTransaction

> Subscribe to a stream of Sui transaction effects

### Parameters

<ParamField query="chainId" type="string" default="sui" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="suix_subscribeTransaction" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[{"eventType":"Transfer","sender":"0xabc123...","recipient":"0xdef456..."}]} placeholder="[{&#x22;eventType&#x22;:&#x22;Transfer&#x22;,&#x22;sender&#x22;:&#x22;0xabc123...&#x22;,&#x22;recipient&#x22;:&#x22;0xdef456...&#x22;}]" required>
  Parameters for suix\_subscribeTransaction: \[filter]. The filter object specifies the criteria for subscription to a stream of Sui transaction effects.

  Positional parameters for <code>suix\_subscribeTransaction</code>:

  <ul>
    <li><code>params\[]</code>: Transaction filter criteria.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  SuiTransactionBlockEffects object that represents the effects of a transaction block.
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "suix_subscribeTransaction",
      "params": [
        {
          "eventType": "Transfer",
          "sender": "0xabc123...",
          "recipient": "0xdef456..."
        }
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "transactionHash": "0x123abc456def789...",
      "effects": {
        "gasUsed": "123456",
        "events": [
          {
            "__truncated": true
          }
        ]
      }
    }
  }
  ```
</ResponseExample>
