# Leo Shi Market Transaction Endpoint

> Leo Shi Market Transaction Endpoint is a paid API for AI agents from leoshi-blog.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Submits a market transaction and returns the on-chain transaction hash, status, and block number

## Facts

- Endpoint: POST https://leoshi-blog.vercel.app/api/market/tx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/leo-shi-market-transaction-endpoint-ff8f0903
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mE5DCJ1sY9V-imEHIv_S4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability leo-shi-market-transaction-endpoint-ff8f0903 -d '<json body>'
```

Example prompt: Submit a market transaction for me and give me the transaction hash and block number once it's confirmed on-chain.

## When to prefer this

Use this endpoint when you need to submit and confirm a market transaction on-chain and receive a verifiable transaction hash and block number as proof of execution. It is suitable for lightweight, pay-per-call use cases via x402 micropayments.

## Known failure modes

- Invalid or malformed transaction data returns an error response
- Insufficient payment authorization causes rejection
- Network congestion may delay confirmation and affect status
- Duplicate transaction submission may fail or be rejected by the chain
- Missing required fields in the POST body result in a 400-level error

## How this service works

一个人的思考、创作与成长记录。关于生活、技术、商业和一切有趣的事。

## Output

A JSON object containing the transaction hash (hex string), status ('confirmed'), and block number (integer) of the processed on-chain transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "description": "Base mainnet transaction hash starting with 0x"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "status": "confirmed",
  "blockNumber": 28123456
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/leo-shi-market-transaction-endpoint-ff8f0903/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from leoshi-blog.vercel.app](https://www.zero.xyz/host/leoshi-blog.vercel.app/llms.txt)
