> ## 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.

# tryLocateResultTx

> Locates the resulting outgoing TON transaction of a destination address by incoming message.

### Parameters

<ParamField query="chainId" type="string" default="toncoin" 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="tryLocateResultTx" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={{}} required>
  TON result transaction location request.

  Parameters for <code>tryLocateResultTx</code>:

  <ul>
    <li><code>params.source</code>: Source TON address of the transaction.</li>
    <li><code>params.destination</code>: Recipient TON address of the transaction.</li>
    <li><code>params.created\_lt</code>: Logical time when the transaction was created.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  TON raw transaction.

  <Expandable title="properties">
    <ResponseField name="@type" type="string">
      TON object type marker.
    </ResponseField>

    <ResponseField name="utime" type="integer">
      Transaction Unix timestamp.
    </ResponseField>

    <ResponseField name="data" type="string">
      Serialized transaction data.
    </ResponseField>

    <ResponseField name="transaction_id" type="object">
      TON internal transaction identifier.

      <Expandable title="properties">
        <ResponseField name="@type" type="string">
          TON object type marker.
        </ResponseField>

        <ResponseField name="lt" type="string">
          Transaction logical time.
        </ResponseField>

        <ResponseField name="hash" type="string">
          Transaction hash.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="fee" type="string">
      Total transaction fee in nanotons.
    </ResponseField>

    <ResponseField name="storage_fee" type="string">
      Storage fee in nanotons.
    </ResponseField>

    <ResponseField name="other_fee" type="string">
      Other fees in nanotons.
    </ResponseField>

    <ResponseField name="in_msg" type="object">
      TON raw message.

      <Expandable title="properties">
        <ResponseField name="@type" type="string">
          TON object type marker.
        </ResponseField>

        <ResponseField name="source" type="string">
          Source TON address.
        </ResponseField>

        <ResponseField name="destination" type="string">
          Destination TON address.
        </ResponseField>

        <ResponseField name="value" type="string">
          Message value in nanotons.
        </ResponseField>

        <ResponseField name="fwd_fee" type="string">
          Forwarding fee in nanotons.
        </ResponseField>

        <ResponseField name="ihr_fee" type="string">
          Instant hypercube routing fee.
        </ResponseField>

        <ResponseField name="created_lt" type="string">
          Logical time when the message was created.
        </ResponseField>

        <ResponseField name="body_hash" type="string">
          Message body hash.
        </ResponseField>

        <ResponseField name="msg_data" type="object">
          Decoded or raw message data.

          <Expandable title="properties">
            <ResponseField name="@type" type="string">
              Message data type marker.
            </ResponseField>

            <ResponseField name="body" type="string">
              Base64-encoded message body.
            </ResponseField>

            <ResponseField name="text" type="string">
              Base64-encoded message text.
            </ResponseField>

            <ResponseField name="init_state" type="string">
              Base64-encoded initial state, when present.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="message" type="string">
          Decoded message text when available.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="out_msgs" type="array">
      Outgoing messages emitted by the transaction.

      <Expandable title="items">
        <ResponseField name="items[]" type="object">
          TON raw message.

          <Expandable title="properties">
            <ResponseField name="@type" type="string">
              TON object type marker.
            </ResponseField>

            <ResponseField name="source" type="string">
              Source TON address.
            </ResponseField>

            <ResponseField name="destination" type="string">
              Destination TON address.
            </ResponseField>

            <ResponseField name="value" type="string">
              Message value in nanotons.
            </ResponseField>

            <ResponseField name="fwd_fee" type="string">
              Forwarding fee in nanotons.
            </ResponseField>

            <ResponseField name="ihr_fee" type="string">
              Instant hypercube routing fee.
            </ResponseField>

            <ResponseField name="created_lt" type="string">
              Logical time when the message was created.
            </ResponseField>

            <ResponseField name="body_hash" type="string">
              Message body hash.
            </ResponseField>

            <ResponseField name="msg_data" type="object">
              Decoded or raw message data.

              <Expandable title="properties">
                <ResponseField name="@type" type="string">
                  Message data type marker.
                </ResponseField>

                <ResponseField name="body" type="string">
                  Base64-encoded message body.
                </ResponseField>

                <ResponseField name="text" type="string">
                  Base64-encoded message text.
                </ResponseField>

                <ResponseField name="init_state" type="string">
                  Base64-encoded initial state, when present.
                </ResponseField>
              </Expandable>
            </ResponseField>

            <ResponseField name="message" type="string">
              Decoded message text when available.
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=toncoin \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "tryLocateResultTx",
      "params": {}
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
  }
  ```
</ResponseExample>
