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

# Check Transfer Eligibility

> Verify whether a token transfer between two addresses would succeed

Pre-flight check that evaluates on-chain compliance rules, identity verification status, and balance constraints to determine if a transfer would be allowed. Use this before submitting transfer transactions to avoid on-chain reverts.

## Path Parameters

<ParamField path="tokenAddress" type="string" required>
  Address of the stock token contract.
</ParamField>

## Query Parameters

<ParamField query="from" type="string" required>
  Sender wallet address.
</ParamField>

<ParamField query="to" type="string" required>
  Receiver wallet address.
</ParamField>

<ParamField query="amount" type="string" required>
  Transfer amount as a human-readable string. Must be greater than zero.
</ParamField>

## Response Fields

<ResponseField name="success" type="boolean">Request status.</ResponseField>

<ResponseField name="data" type="object">
  Transfer eligibility result.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.trusset.org/stocks/api/fetch/0x1234.../can-transfer?from=0xAbC1...&to=0x9876...&amount=100" \
    -H "X-API-Key: trusset_abc123xy_secret..."
  ```

  ```typescript TypeScript theme={null}
  const params = new URLSearchParams({
    from: '0xAbC123dEf456789012345678901234567890AbCd',
    to: '0x9876543210fedcba9876543210fedcba98765432',
    amount: '100'
  });

  const response = await fetch(
    `https://api.trusset.org/stocks/api/fetch/${tokenAddress}/can-transfer?${params}`,
    {
      headers: { 'X-API-Key': 'trusset_abc123xy_secret...' }
    }
  );
  const { data } = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "allowed": true,
      "from": "0xAbC123dEf456789012345678901234567890AbCd",
      "to": "0x9876543210fedcba9876543210fedcba98765432",
      "amount": "100"
    },
    "metadata": {
      "requestId": "550e8400-e29b-41d4-a716-446655440000",
      "timestamp": "2025-06-15T12:00:00.000Z",
      "instanceId": "inst_abc123"
    }
  }
  ```
</ResponseExample>
