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

# アクティビティ

> activity ツール：最近のスワップ、送金、受け取り、ブリッジ、承認、ステーキング、無期限先物のトレード、ファンディング。

`activity` · 読み取り · `GET /v1/activity`

最大90日間の最近の取引を、新しい順に返します：スワップ、送金と受け取り、ブリッジ、承認、ステーキング、無期限先物のトレード、ファンディング。

## 質問の例

* 「今週は何をスワップした？」
* 「直近10件の取引を見せて。」
* 「今月ファンディングにいくら払った？」

## 入力

すべて省略できます。

| 入力 | 型 | デフォルト | 内容 |
| - | - | - | - |
| `days` | integer、1–90 | `30` | さかのぼる日数 |
| `kind` | `swap`、`send`、`receive`、`bridge`、`approve`、`stake`、`claim`、`revoke`、`mint`、`call`、`perp`、`funding`、`move` のいずれか | すべての種類 | 1つの種類 |
| `account` | string | すべてのアカウント | 名前で指定する1つのアカウント |
| `limit` | integer、1–50 | `20` | 1ページあたりの行数 |
| `cursor` | string | 最初のページ | 前のページの `next_cursor` |

## 返す内容

| フィールド | 内容 |
| - | - |
| `rows` | 各取引：種類、何が起きたか、アカウント、チェーン、ドル建ての価値、実現損益、取引手数料とネットワーク手数料、ステータス（`confirmed`、`pending`、`failed`）、時刻 |
| `read_reaches_back_to` | Burokku の読み取りがどこまでさかのぼっているか |
| `next_cursor` | 次のページを取得するときに `cursor` として渡します。最後のページでは `null` |

`read_at`、`refreshing`、`currency` も返します。

## 読み取りか書き込みか

読み取りのみです。送金、署名、キャンセルは一切行いません。

## REST API で使う

同じ操作は `GET /v1/activity` で、入力はクエリパラメーターとして渡します。REST では、オンチェーンの行に取引ハッシュも付きます。[API リファレンス](https://docs.burokku.app/ja/api-reference/introduction.md)と [MCP サーバー](https://docs.burokku.app/ja/developers/mcp.md#activity)を参照してください。


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