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

# eth_getWork

> Returns the hash of the current block, the seedHash, and the boundary condition to be met (“target”).

### Parameters

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

This method does not require any parameters.

### Returns

<ResponseField name="result" type="array">
  Array returned by eth\_getWork. Contains \[powHash, seedHash, boundary, blockNumber].

  <Expandable title="items">
    <ResponseField name="items[]" type="oneOf">
      32-byte current block header pow-hash.

      <Expandable title="variants">
        <ResponseField name="variant1" type="string">
          32-byte current block header pow-hash.
        </ResponseField>

        <ResponseField name="variant2" type="string">
          32-byte seed hash used for the DAG.
        </ResponseField>

        <ResponseField name="variant3" type="string">
          32-byte boundary condition (target = 2^256 / difficulty).
        </ResponseField>

        <ResponseField name="variant4" type="string">
          Quantity - current block number (hex string).
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

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

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
      "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
      "0x5EED00000000000000000000000000005EED0000000000000000000000000000",
      "0xd1ff1c01710000000000000000000000d1ff1c01710000000000000000000000",
      "0x1"
    ]
  }
  ```
</ResponseExample>
