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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Surf Transaction Details by Hash

> Surf Transaction Details by Hash

> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。

## 请求规范

* **方法与路径:** POST /apis/v1/surf/onchain/tx
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/surf/onchain/tx`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/surf.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "post_surf_apis_v1_surf_onchain_tx",
  "method": "POST",
  "path": "/apis/v1/surf/onchain/tx",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "chain": {
              "enum": [
                "ethereum",
                "polygon",
                "bsc",
                "arbitrum",
                "optimism",
                "base",
                "avalanche",
                "fantom",
                "linea",
                "cyber"
              ],
              "type": "string"
            },
            "hash": {
              "minLength": 1,
              "type": "string"
            },
            "include": {
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "hash",
            "chain"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 已观察到的响应结构

以下结构来自探针或抽样请求的成功结果，只反映已观察到的部分：字段和类型可能变化，不保证每次都有。已有正式响应定义优先；这里不发布真实响应值。

* **HTTP 状态 / 最近观察日期:** 200 / 2026-11-14

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "data": {
      "additionalProperties": true,
      "properties": {
        "data": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "accessList": {
                "items": {},
                "type": "array"
              },
              "blockHash": {
                "type": "string"
              },
              "blockNumber": {
                "type": "string"
              },
              "chainId": {
                "type": "string"
              },
              "from": {
                "type": "string"
              },
              "gas": {
                "type": "string"
              },
              "gasPrice": {
                "type": "string"
              },
              "hash": {
                "type": "string"
              },
              "input": {
                "type": "string"
              },
              "maxFeePerGas": {
                "type": "string"
              },
              "maxPriorityFeePerGas": {
                "type": "string"
              },
              "nonce": {
                "type": "string"
              },
              "r": {
                "type": "string"
              },
              "s": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "transactionIndex": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "v": {
                "type": "string"
              },
              "value": {
                "type": "string"
              },
              "yParity": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "meta": {
          "additionalProperties": true,
          "properties": {
            "cached": {
              "type": "boolean"
            },
            "limit": {
              "type": "integer"
            },
            "offset": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## 费用与请求规则

按实际用量收费。 当前暂无预估金额。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。

## 响应时间

* 通常 10 秒内返回。


## OpenAPI

````yaml openapi-public/zh/surf.json POST /apis/v1/surf/onchain/tx
openapi: 3.1.0
info:
  description: ''
  title: Surf
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    surf:
      description: ''
      title: Surf
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: d96005d64c9f96c9ed25e4a0ac8b1d46dd87c835987c88e74a39e1f863f70a2e
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/surf/dex/token/price
    - /apis/v1/surf/exchange/candles
    - /apis/v1/surf/exchange/coverage
    - /apis/v1/surf/exchange/depth
    - /apis/v1/surf/exchange/funding-history
    - /apis/v1/surf/exchange/klines
    - /apis/v1/surf/exchange/long-short-ratio
    - /apis/v1/surf/exchange/markets
    - /apis/v1/surf/exchange/perp
    - /apis/v1/surf/exchange/price
    - /apis/v1/surf/fund/detail
    - /apis/v1/surf/fund/portfolio
    - /apis/v1/surf/fund/ranking
    - /apis/v1/surf/heatscore/detail
    - /apis/v1/surf/heatscore/projects
    - /apis/v1/surf/heatscore/token-of-the-day
    - /apis/v1/surf/heatscore/token-of-week
    - /apis/v1/surf/hyperliquid/account
    - /apis/v1/surf/hyperliquid/candles
    - /apis/v1/surf/hyperliquid/fills
    - /apis/v1/surf/hyperliquid/leaderboard
    - /apis/v1/surf/hyperliquid/orders
    - /apis/v1/surf/hyperliquid/performance
    - /apis/v1/surf/hyperliquid/positions
    - /apis/v1/surf/hyperliquid/trades
    - /apis/v1/surf/hyperliquid/trades/aggregate
    - /apis/v1/surf/hyperliquid/trades/context
    - /apis/v1/surf/market/etf
    - /apis/v1/surf/market/exchange-flow/exchanges
    - /apis/v1/surf/market/fear-greed
    - /apis/v1/surf/market/futures
    - /apis/v1/surf/market/liquidation/chart
    - /apis/v1/surf/market/liquidation/exchange-list
    - /apis/v1/surf/market/liquidation/order
    - /apis/v1/surf/market/listing
    - /apis/v1/surf/market/options
    - /apis/v1/surf/market/price
    - /apis/v1/surf/market/price-indicator
    - /apis/v1/surf/market/public-sale
    - /apis/v1/surf/market/ranking
    - /apis/v1/surf/market/tge
    - /apis/v1/surf/news/detail
    - /apis/v1/surf/news/feed
    - /apis/v1/surf/onchain/bridge/ranking
    - /apis/v1/surf/onchain/dex/activity
    - /apis/v1/surf/onchain/gas-price
    - /apis/v1/surf/onchain/query
    - /apis/v1/surf/onchain/schema
    - /apis/v1/surf/onchain/sql
    - /apis/v1/surf/onchain/sql/preflight
    - /apis/v1/surf/onchain/tx
    - /apis/v1/surf/onchain/yield/ranking
    - /apis/v1/surf/prediction-market/analytics
    - /apis/v1/surf/prediction-market/correlations
    - /apis/v1/surf/prediction-market/kalshi/events
    - /apis/v1/surf/prediction-market/kalshi/markets
    - /apis/v1/surf/prediction-market/kalshi/open-interest
    - /apis/v1/surf/prediction-market/kalshi/orderbooks
    - /apis/v1/surf/prediction-market/kalshi/prices
    - /apis/v1/surf/prediction-market/kalshi/trades
    - /apis/v1/surf/prediction-market/kalshi/volumes
    - /apis/v1/surf/prediction-market/matching/daily
    - /apis/v1/surf/prediction-market/matching/pairs
    - /apis/v1/surf/prediction-market/polymarket/events
    - /apis/v1/surf/prediction-market/polymarket/leaderboard
    - /apis/v1/surf/prediction-market/polymarket/markets
    - /apis/v1/surf/prediction-market/polymarket/open-interest
    - /apis/v1/surf/prediction-market/polymarket/orderbooks
    - /apis/v1/surf/prediction-market/polymarket/positions
    - /apis/v1/surf/prediction-market/polymarket/price-ohlcv
    - /apis/v1/surf/prediction-market/polymarket/prices
    - /apis/v1/surf/prediction-market/polymarket/smart-money
    - /apis/v1/surf/prediction-market/polymarket/trades
    - /apis/v1/surf/prediction-market/polymarket/volume-split
    - /apis/v1/surf/prediction-market/polymarket/volumes
    - /apis/v1/surf/project/ai-news
    - /apis/v1/surf/project/defi/metrics
    - /apis/v1/surf/project/defi/ranking
    - /apis/v1/surf/project/detail
    - /apis/v1/surf/search/airdrop
    - /apis/v1/surf/search/airdrop/activities
    - /apis/v1/surf/search/events
    - /apis/v1/surf/search/fund
    - /apis/v1/surf/search/fundraising
    - /apis/v1/surf/search/news
    - /apis/v1/surf/search/prediction-market
    - /apis/v1/surf/search/project
    - /apis/v1/surf/search/token
    - /apis/v1/surf/search/wallet
    - /apis/v1/surf/search/web
    - /apis/v1/surf/token/dex-trades
    - /apis/v1/surf/token/holders
    - /apis/v1/surf/token/tokenomics
    - /apis/v1/surf/token/transfer-counterparties
    - /apis/v1/surf/token/transfer-stats
    - /apis/v1/surf/token/transfers
    - /apis/v1/surf/wallet/detail
    - /apis/v1/surf/wallet/history
    - /apis/v1/surf/wallet/labels/batch
    - /apis/v1/surf/wallet/net-worth
    - /apis/v1/surf/wallet/protocols
    - /apis/v1/surf/wallet/transfers
    - /apis/v1/surf/web/fetch
  x-aisa-document:
    composer_version: '31'
    facts_hash: d96005d64c9f96c9ed25e4a0ac8b1d46dd87c835987c88e74a39e1f863f70a2e
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:847874094b3b7b2971889d77245e2c1c7f830017b46b94acde2adf294ccdbbeb
    document_hash: sha256:4aaffafe04792769a375a1c1bb259b6d6faf1d02588334113a219d37633e49fb
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: surf
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/surf/onchain/tx:
    post:
      tags:
        - Surf
      summary: Surf Transaction Details by Hash
      description: >-
        Surf Transaction Details by Hash


        > **请求示例待验证。**
        此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode:
        quote`）查看预估费用。
      operationId: post_surf_apis_v1_surf_onchain_tx
      requestBody:
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              additionalProperties: false
              properties:
                chain:
                  enum:
                    - ethereum
                    - polygon
                    - bsc
                    - arbitrum
                    - optimism
                    - base
                    - avalanche
                    - fantom
                    - linea
                    - cyber
                  type: string
                hash:
                  minLength: 1
                  type: string
                include:
                  minLength: 1
                  type: string
              required:
                - hash
                - chain
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/OwnedResponse_a16359956a203dfb1558b821663262f7eef0de5ac478f2d53e09a3f86bc6934d
          description: Normalized successful response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    OwnedResponse_a16359956a203dfb1558b821663262f7eef0de5ac478f2d53e09a3f86bc6934d:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      properties:
        data:
          additionalProperties: false
          properties:
            data:
              items:
                $ref: >-
                  #/components/schemas/OwnedDefinition_ab9dfd7ef044d9a01f2366884046ceb82557268b8927a2e93adf91e5121d56a6
              type:
                - array
                - 'null'
            meta:
              additionalProperties: false
              properties:
                cached:
                  description: Whether this response was served from cache
                  type: boolean
                empty_reason:
                  description: Hint explaining why the data array is empty, when applicable
                  type: string
                has_more:
                  description: >-
                    Whether more items may exist beyond this response. For
                    offset-paged endpoints, continue with a larger offset. For
                    time-series endpoints without offset/cursor controls, true
                    means the requested time range hit an upstream cap; narrow
                    from/to to continue. Omitted when exhaustion cannot be
                    proven.
                  type: boolean
                limit:
                  description: Maximum number of items returned in this response
                  format: int64
                  type: integer
                offset:
                  description: Number of items skipped (pagination offset)
                  format: int64
                  type: integer
                total:
                  description: >-
                    Total number of matching items (before pagination). Omitted
                    when total is unknown.
                  format: int64
                  type: integer
                watermark:
                  description: >-
                    Warehouse watermark (Unix seconds) this response was
                    computed at, on warehouse-backed endpoints (e.g. Hyperliquid
                    /trades/aggregate) — rows up to this time come from the
                    warehouse, newer rows from the live tail. Omitted elsewhere.
                  format: int64
                  type: integer
              required:
                - limit
                - offset
                - cached
              type: object
          required:
            - data
            - meta
          type: object
      required:
        - data
      type: object
    OwnedDefinition_ab9dfd7ef044d9a01f2366884046ceb82557268b8927a2e93adf91e5121d56a6:
      additionalProperties: false
      properties:
        accessList:
          description: >-
            List of addresses and storage keys. Empty array for legacy;
            populated for EIP-2930+
          items:
            $ref: >-
              #/components/schemas/OwnedDefinition_6cce4fa726ad2c2355f5b3c4924308e95c392a5b9498cb927df2773a15b03c04
          type:
            - array
            - 'null'
        blobVersionedHashes:
          description: Versioned hashes of blob commitments. EIP-4844 only
          items:
            type: string
          type:
            - array
            - 'null'
        blockHash:
          description: Block hash, null if pending
          type:
            - string
            - 'null'
        blockNumber:
          description: Block number (hex), null if pending
          type:
            - string
            - 'null'
        chainId:
          description: Chain ID (hex)
          type: string
        from:
          description: Sender address (0x-prefixed)
          type: string
        from_label:
          $ref: >-
            #/components/schemas/OwnedDefinition_d22fa9de9ae0771d1a6c5d8024304643ad6b36277131fe454f28f8b36a744d44
          description: >-
            Entity labels for the from address. Only present when the request
            sets `include=labels`.
        gas:
          description: Gas limit (hex)
          type: string
        gasPrice:
          description: >-
            Gas price in wei (hex). Present in all types; for EIP-1559 this is
            the effective gas price
          type: string
        hash:
          description: Transaction hash (0x-prefixed)
          type: string
        input:
          description: Call data (hex)
          type: string
        maxFeePerBlobGas:
          description: Max fee per blob gas in wei (hex). EIP-4844 only
          type: string
        maxFeePerGas:
          description: Max fee per gas in wei (hex). EIP-1559/EIP-4844 only
          type: string
        maxPriorityFeePerGas:
          description: Max priority fee per gas in wei (hex). EIP-1559/EIP-4844 only
          type: string
        nonce:
          description: Sender nonce (hex)
          type: string
        r:
          description: Signature R (hex)
          type: string
        s:
          description: Signature S (hex)
          type: string
        to:
          description: Recipient address, null for contract creation
          type:
            - string
            - 'null'
        to_label:
          $ref: >-
            #/components/schemas/OwnedDefinition_d22fa9de9ae0771d1a6c5d8024304643ad6b36277131fe454f28f8b36a744d44
          description: >-
            Entity labels for the to address. Only present when the request sets
            `include=labels` and the transaction is not a contract creation.
        transactionIndex:
          description: Index in block (hex), null if pending
          type:
            - string
            - 'null'
        type:
          description: >-
            Transaction type: 0x0=legacy, 0x1=EIP-2930, 0x2=EIP-1559,
            0x3=EIP-4844
          type: string
        v:
          description: >-
            Signature V (hex). Legacy: recovery ID (0x1b/0x1c); EIP-2930+:
            parity (0x0/0x1)
          type: string
        value:
          description: ETH value in wei (hex)
          type: string
        yParity:
          description: Signature Y parity (hex). Present in EIP-2930+ transactions
          type: string
      required:
        - hash
        - nonce
        - blockHash
        - blockNumber
        - transactionIndex
        - from
        - to
        - value
        - gas
        - input
        - type
        - v
        - r
        - s
        - accessList
      type: object
    OwnedDefinition_6cce4fa726ad2c2355f5b3c4924308e95c392a5b9498cb927df2773a15b03c04:
      additionalProperties: false
      properties:
        address:
          description: Account address (0x-prefixed)
          type: string
        storageKeys:
          description: List of storage slot keys (0x-prefixed hex)
          items:
            type: string
          type:
            - array
            - 'null'
      required:
        - address
        - storageKeys
      type: object
    OwnedDefinition_d22fa9de9ae0771d1a6c5d8024304643ad6b36277131fe454f28f8b36a744d44:
      additionalProperties: false
      properties:
        address:
          description: Wallet address
          type: string
        entity_name:
          description: Name of the associated entity like `Binance` or `Aave`
          type: string
        entity_type:
          description: Type of entity like `exchange`, `fund`, or `whale`
          type: string
        labels:
          description: List of labels assigned to this address
          items:
            $ref: >-
              #/components/schemas/OwnedDefinition_f147cd9749b5d40f84362122e23bc0354cd7c989208916d8e91ff654335c86f1
          type:
            - array
            - 'null'
      required:
        - address
        - labels
      type: object
    OwnedDefinition_f147cd9749b5d40f84362122e23bc0354cd7c989208916d8e91ff654335c86f1:
      additionalProperties: false
      properties:
        confidence:
          description: Confidence score 0.0-1.0
          format: double
          type: number
        label:
          description: Human-readable label for this address like `Binance Hot Wallet`
          type: string
      required:
        - label
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.