跳转到主要内容
GET
/
api
/
v1
/
transactions
/
{chainId}
/
hash
/
{hash}
获取交易详情
curl --request GET \
  --url https://api.example.com/api/v1/transactions/{chainId}/hash/{hash}
{
  "code": 0,
  "msg": "ok",
  "data": {
    "hash": "0x123",
    "chainId": 8453,
    "from": "0xabc1230000000000000000000000000000000000",
    "to": "0xdef4560000000000000000000000000000000000",
    "value": "1000000000000000000",
    "tokenAddress": "native",
    "symbol": "ETH",
    "status": "success",
    "timestamp": "2026-05-11T10:00:00.000Z",
    "kind": "send",
    "blockNumber": 29123456,
    "explorerUrl": "https://basescan.org/tx/0x123"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt

Use this file to discover all available pages before exploring further.

路径参数

chainId
integer
必填

目标链 ID。

示例:

8453

hash
string
必填

交易哈希。

示例:

"0x123"

响应

成功返回交易详情

统一响应包裹结构。

code
integer
必填

业务状态码,0 表示成功。

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object

交易列表项与交易详情载荷。