GET
/
api
/
trades
/
{tradeId}
curl --request GET \
  --url https://hyperrich.fun/api/trades/{tradeId}
{
  "status": "completed",
  "trade": {
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "token_id": "<string>",
    "user_id": "<string>",
    "trade_type": "buy",
    "token_amount": 123,
    "usdc_amount": 123,
    "price": 123,
    "wallet_address": "<string>",
    "trade_status": "pending",
    "timestamp": "2023-11-07T05:31:56Z",
    "tx_hash": "<string>",
    "fee_amount": 123,
    "fee_tx_hash": "<string>"
  }
}

Path Parameters

tradeId
string
required

The unique identifier of the trade

Response

200
application/json
Trade details successfully retrieved
status
enum<string>

The status of the trade

Available options:
completed
trade
object