Transactions

Your node doesn't have to be running at the same time as the sender to send or receive a transaction.

Send a transaction

Interactive mode

Send a transaction by running the following command using your default account:

ironfish wallet:send
Restart the animation
ironfish wallet:send200.00000001ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 You are about to send: $IRON 20 to ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 from the account IronFishGenesisAccount YCreating the transaction: Sending 20 to ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 from MyNewAccount Transaction Hash: e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166 Transaction Fee: 0.00000001 Find the transaction on https://explorer.ironfish.network/transaction/ee32e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166

If you want to send a transaction from a different account, you can use the `-f` flag.

E.g.

ironfish wallet:send -f MyOtherAccount

Noninteractive mode

Run ironfish wallet:send --help to see the different options available.

E.g. To send 2 coins from the account Savings

ironfish wallet:send -a 2 -o 0.00000001 -t 997c...7fc52ed -f Savings

Receive a transaction

To receive a transaction, you just need to communicate the public key of your account to the sender. If you don't know your public key, run the following command:

ironfish wallet:address

E.g. To get the public key of a different account on your node

ironfish wallet:address Savings

View transactions

To view transactions from the current account

ironfish wallet:transactions
Restart the animation
ironfish wallet:transactions Timestamp Status Type Hash Expiration Fee Paid ($IRON) Asset Net Amount ─────────────────────── ───────── ─────── ──────── ────────── ──────────────── ───────────── ─────────── 3/9/2023 6:08:57 PM PST confirmed send aa72c... 75076 0.00000001 $IRON (d7c86) -0.00000003 3/9/2023 2:26:48 PM PST confirmed receive a4360... 74854 $IRON (d7c86) 0.00000001

Balance

You can check your balance at any time by running the following command:

ironfish wallet:balance

Next steps

You can now track your transaction on the network, or start mining $IRON.