Skip to content
Data workflowsWorking example

Wallet activity to CSV

Turn supplied wallet activity into a clean, spreadsheet-ready CSV.

By Reusable examples Marketplace preview

The outcome

A CSV with signatures, timestamps, activity types and exact integer amounts in lamports. Text cells are escaped for spreadsheet use.

Intended agents

CodexClaude Code

Compatibility has not been verified.

Execution

Local Node.js script

See the transformation

One synthetic transfer

Example input

[
  {
    "signature": "synthetic-transfer-001",
    "timestamp": "2026-10-01T12:00:00Z",
    "type": "transfer",
    "amountLamports": -500000000,
    "feeLamports": 5000
  }
]

Example output

signature,timestamp,type,amount_lamports,fee_lamports
synthetic-transfer-001,2026-10-01T12:00:00Z,transfer,-500000000,5000

Synthetic activity only. The script formats records you supply; it does not fetch wallet history.

Before you use it

Requirements

  • An agent that can read SKILL.md and run Node.js
  • Node.js 22 or newer
  • Wallet activity supplied as a JSON array

Permissions

  • Read the input records you select
  • Write the CSV to a location you choose

Included files

  • SKILL.mdInstructions, input requirements and limitations
  • scripts/export-csv.mjsLocal JSON-to-CSV conversion script
  • examples/input.jsonSynthetic activity for trying the workflow

Testing & limitations

No recorded agent compatibility results.

  • Formats supplied records; it does not fetch blockchain history.
  • Does not calculate taxes or prove the records are complete.
  • No recorded agent compatibility test is attached to this example.

Usage & support

Usage rights
Marketplace usage rights have not been specified by the creator.
Updates
No update commitment specified by the creator.
Support
No support commitment specified by the creator.
← Explore more examples