Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documents wallet:transaction:view #686

Merged
merged 5 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions content/get-started/cli-cmd-wallet-transaction-view.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: wallet:transaction:view
seo: Wallet Transaction View Command
---

You can use the command line to view transaction details for an account. The `wallet:transaction:view` command currently supports raw transactions and unsigned transactions.

The serialized transaction in the example below is truncated for readability.

<Terminal
command="ironfish wallet:transaction:view -f MyAccount -t 01010000000000000002000000000000...630b0773fe862dab8ffd51d081490800b"
output={`
==================
Notes sent:
==================

Amount: $IRON 1.00000000
Memo: spend wisely
Recipient: dcd9e197f9526faf7046136d24e694a1ac4db1ff17c01af76f9717e81ca26df1
Sender: 6c7a03154ddca1417f20287fa73fa914ff70cf23bfa402eae6d4f379cfd4862a


==================
Notes received:
==================

Amount: $IRON 999.99999999
Memo:
Recipient: 6c7a03154ddca1417f20287fa73fa914ff70cf23bfa402eae6d4f379cfd4862a
Sender: 6c7a03154ddca1417f20287fa73fa914ff70cf23bfa402eae6d4f379cfd4862a
`}

/>


# Flags

| Flag | Description |
| ---- | ----------- |
| `-f, --account` | The name of the account to use to for viewing transaction details |
| `-t, --transaction` | The hex-encoded raw transaction or unsigned transaction to view |
1 change: 1 addition & 0 deletions content/get-started/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const sidebar: SidebarDefinition = [
"cli-cmd-wallet-transactions",
"cli-cmd-wallet-transaction",
"cli-cmd-wallet-transaction-watch",
"cli-cmd-wallet-transaction-view",
"cli-cmd-wallet-use",
"cli-cmd-wallet-which",
{
Expand Down
2 changes: 1 addition & 1 deletion search/indexes/documentation-index.json

Large diffs are not rendered by default.

Loading