> For the complete documentation index, see [llms.txt](https://docs.unix.market/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unix.market/rest-api/explorer.md).

# Explorer

## Get Block

> Return block details by height, including the transactions contained in that block.

```json
{"openapi":"3.0.3","info":{"title":"UniX API","version":"1.11.0"},"tags":[{"name":"Explorer"}],"servers":[{"url":"https://api.unixtrade.pro/v1","description":"Production"}],"paths":{"/explorer/block/{height}":{"get":{"tags":["Explorer"],"summary":"Get Block","operationId":"getBlock","description":"Return block details by height, including the transactions contained in that block.","parameters":[{"name":"height","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Block details","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"height":{"type":"integer","format":"int64"},"block_hash":{"type":"string"},"block_time":{"type":"integer","format":"int64"},"parent_hash":{"type":"string"},"state_root":{"type":"string"},"proposer":{"type":"string"},"num_txs":{"type":"integer"},"txs":{"type":"array","items":{"$ref":"#/components/schemas/ExplorerTx"}}}}}}]}}}}}}}},"components":{"schemas":{"ResponseEnvelope":{"type":"object","description":"Standard response envelope shared by every endpoint.","required":["code","msg","data"],"properties":{"code":{"type":"string","description":"`\"0\"` for success. Non-zero indicates an error code — see [Error Codes](/reference/error-codes)."},"msg":{"type":"string","description":"Empty on success; human-readable error description on failure."},"data":{"description":"Endpoint-specific payload on success; `null` on failure.","nullable":true},"trace_code":{"type":"string","description":"Backend trace identifier. Empty on success; populated on failure for support diagnostics."}}},"ExplorerTx":{"type":"object","properties":{"tx_hash":{"type":"string","description":"EIP-712 signing hash."},"address":{"type":"string"},"action_type":{"type":"string"},"action":{"type":"object","description":"Original action parameters."},"seq_no":{"type":"integer","description":"Within-block sequence number."},"time":{"type":"integer","format":"int64"},"error":{"type":"string","nullable":true,"description":"`null` = success."},"block_height":{"type":"integer","format":"int64","description":"Present when fetched via /tx or /address/txs."}}}}}}
```

## Get Transaction

> Return transaction details by hash, including its block reference.

```json
{"openapi":"3.0.3","info":{"title":"UniX API","version":"1.11.0"},"tags":[{"name":"Explorer"}],"servers":[{"url":"https://api.unixtrade.pro/v1","description":"Production"}],"paths":{"/explorer/tx/{tx_hash}":{"get":{"tags":["Explorer"],"summary":"Get Transaction","operationId":"getTransaction","description":"Return transaction details by hash, including its block reference.","parameters":[{"name":"tx_hash","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Transaction details","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ExplorerTx"}}}]}}}}}}}},"components":{"schemas":{"ResponseEnvelope":{"type":"object","description":"Standard response envelope shared by every endpoint.","required":["code","msg","data"],"properties":{"code":{"type":"string","description":"`\"0\"` for success. Non-zero indicates an error code — see [Error Codes](/reference/error-codes)."},"msg":{"type":"string","description":"Empty on success; human-readable error description on failure."},"data":{"description":"Endpoint-specific payload on success; `null` on failure.","nullable":true},"trace_code":{"type":"string","description":"Backend trace identifier. Empty on success; populated on failure for support diagnostics."}}},"ExplorerTx":{"type":"object","properties":{"tx_hash":{"type":"string","description":"EIP-712 signing hash."},"address":{"type":"string"},"action_type":{"type":"string"},"action":{"type":"object","description":"Original action parameters."},"seq_no":{"type":"integer","description":"Within-block sequence number."},"time":{"type":"integer","format":"int64"},"error":{"type":"string","nullable":true,"description":"`null` = success."},"block_height":{"type":"integer","format":"int64","description":"Present when fetched via /tx or /address/txs."}}}}}}
```

## Get Address Transactions

> Return recent on-chain transactions for a given address.

```json
{"openapi":"3.0.3","info":{"title":"UniX API","version":"1.11.0"},"tags":[{"name":"Explorer"}],"servers":[{"url":"https://api.unixtrade.pro/v1","description":"Production"}],"paths":{"/explorer/address/{address}/txs":{"get":{"tags":["Explorer"],"summary":"Get Address Transactions","operationId":"getAddressTransactions","description":"Return recent on-chain transactions for a given address.","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}}],"responses":{"200":{"description":"Address transactions (time desc, ≤ 500)","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"list":{"type":"array","items":{"$ref":"#/components/schemas/ExplorerTx"}}}}}}]}}}}}}}},"components":{"schemas":{"ResponseEnvelope":{"type":"object","description":"Standard response envelope shared by every endpoint.","required":["code","msg","data"],"properties":{"code":{"type":"string","description":"`\"0\"` for success. Non-zero indicates an error code — see [Error Codes](/reference/error-codes)."},"msg":{"type":"string","description":"Empty on success; human-readable error description on failure."},"data":{"description":"Endpoint-specific payload on success; `null` on failure.","nullable":true},"trace_code":{"type":"string","description":"Backend trace identifier. Empty on success; populated on failure for support diagnostics."}}},"ExplorerTx":{"type":"object","properties":{"tx_hash":{"type":"string","description":"EIP-712 signing hash."},"address":{"type":"string"},"action_type":{"type":"string"},"action":{"type":"object","description":"Original action parameters."},"seq_no":{"type":"integer","description":"Within-block sequence number."},"time":{"type":"integer","format":"int64"},"error":{"type":"string","nullable":true,"description":"`null` = success."},"block_height":{"type":"integer","format":"int64","description":"Present when fetched via /tx or /address/txs."}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.unix.market/rest-api/explorer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
