txDetails

post
/info

Request transaction details by transaction hash.

Body

Request transaction details by transaction hash.

typeundefined · enumRequired

Type of request.

Possible values:
hashstring · min: 66 · max: 66Required

Transaction hash.

Pattern: ^0[xX][0-9a-fA-F]+$
Responses
200

Response with transaction details.

application/json
post
/info
POST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "type": "txDetails",
  "hash": "text"
}
{
  "type": "txDetails",
  "tx": {
    "action": {
      "type": "text"
    },
    "block": 1,
    "error": "text",
    "hash": "text",
    "time": 1,
    "user": "text"
  }
}

Last updated