diff --git a/skills/gmgn-portfolio/SKILL.md b/skills/gmgn-portfolio/SKILL.md index afc5b66..a9e2cef 100644 --- a/skills/gmgn-portfolio/SKILL.md +++ b/skills/gmgn-portfolio/SKILL.md @@ -186,7 +186,7 @@ gmgn-cli portfolio token-balance \ | `--token
` | Filter by token | | `--limit ` | Page size | | `--cursor ` | Pagination cursor (pass the `next` value from the previous response) | -| `--type ` | Repeatable: `buy` / `sell` / `add` / `remove` / `transfer` | +| `--type ` | Repeatable: `buy` / `sell` / `transferIn` / `transferOut` / `add` / `remove` | The activity response includes a `next` field. Pass it to `--cursor` to fetch the next page. diff --git a/src/commands/portfolio.ts b/src/commands/portfolio.ts index 95ba6d7..45973d3 100644 --- a/src/commands/portfolio.ts +++ b/src/commands/portfolio.ts @@ -51,7 +51,7 @@ export function registerPortfolioCommands(program: Command): void { .option("--token
", "Filter by token contract address") .option("--limit ", "Page size", parseInt) .option("--cursor ", "Pagination cursor") - .option("--type ", "Activity type filter, repeatable: buy / sell / add / remove / transfer") + .option("--type ", "Activity type filter, repeatable: buy / sell / transferIn / transferOut / add / remove") .option("--raw", "Output raw JSON") .action(async (opts) => { validateChain(opts.chain);