Skip to content

Commit b6d83bd

Browse files
authored
adding documentation on how to export transactions in CSV (#788)
1 parent bf551af commit b6d83bd

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

content/documentation/cli/cli-cmd-wallet-transactions.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,21 @@ Timestamp Status Type Hash Expiration Fee Paid ($IRON) A
1717
3/9/2023 2:26:48 PM PST confirmed receive a4360... 74854 $IRON (d7c86) 0.00000001
1818
`}
1919
/>
20+
21+
To export transactions as a CSV for a specific account:
22+
23+
```sh
24+
ironfish wallet:transactions --account <account_name> --output csv --format transfers
25+
```
26+
27+
To export transactions as a CSV for a specific account with an _optional_ filter for start and end date:
28+
29+
```sh
30+
ironfish wallet:transactions --account <account_name> --filter.start 2024-01-01 --filter.end 2024-12-31 --output csv --format transfers
31+
```
32+
33+
You can also export *all* transactions in a given wallet by replacing the `--account <account_name>` flag with `--no-account` and you can also pipe it into a file given a path:
34+
35+
```sh
36+
ironfish wallet:transactions --no-account --filter.start 2024-01-01 --filter.end 2024-12-31 --output csv --format transfers > <path_to_where_you_want_it_saved>
37+
```

search/indexes/documentation-index.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)