エンドポイント
ヘッダー
| ヘッダー | 必須 | 説明 |
|---|---|---|
x-api-key | はい | LaserSell APIキー |
クエリパラメータ
| パラメータ | 型 | デフォルト | 説明 |
|---|---|---|---|
limit | number | 50 | 返す取引の最大数(上限200)。 |
offset | number | 0 | ページネーション用にスキップする取引数。 |
mint | string | — | 特定のトークンミントアドレスでフィルター(base58)。 |
wallet | string | — | 特定のウォレット公開鍵でフィルター(base58)。 |
レスポンス: TradeHistoryResponse
| フィールド | 型 | 説明 |
|---|---|---|
trades | TradeHistoryItem[] | 最新のものから順に並んだ取引レコードの配列。 |
total | number | null | ページネーション用の一致する取引の推定合計数。 |
TradeHistoryItemオブジェクト
| フィールド | 型 | 説明 |
|---|---|---|
id | number | 一意の取引レコード識別子。 |
session_id | number | この取引を生成したストリームセッション。 |
position_id | number | セッション内のポジション識別子。 |
wallet_pubkey | string | ポジションを保有するウォレット公開鍵(base58)。 |
mint | string | トークンミントアドレス(base58)。 |
entry_quote_units | number | クォートアセットのatomic unitsでのポジションオープン時の使用金額。 |
exit_quote_units | number | null | クォートアセットのatomic unitsでのクローズ時の受取収益。 |
profit_quote_units | number | null | クォートアセットのatomic unitsでの純損益。 |
tokens | number | atomic unitsでのエントリー時の取得トークン数。 |
exit_reason | string | null | ポジションがクローズされた理由(例: target_profit、stop_loss、trailing_stop、manual)。 |
market_kind | string | null | トークンが取引されたDEXまたはローンチパッド(例: PumpFun、RaydiumCpmm)。 |
strategy_target_profit_pct | number | null | ポジションオープン時に設定されたテイクプロフィットパーセンテージ。 |
strategy_stop_loss_pct | number | null | ポジションオープン時に設定されたストップロスパーセンテージ。 |
strategy_trailing_stop_pct | number | null | ポジションオープン時に設定されたトレーリングストップパーセンテージ。 |
opened_at | string | ポジションがオープンされたISO 8601タイムスタンプ。 |
closed_at | string | null | ポジションがクローズされたISO 8601タイムスタンプ。 |

