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:

btcinu accounts:pay
Restart the animation
btcinu accounts:pay200.00000001ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 You are about to send: $IRON 20 to ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 from the account btcinuGenesisAccount * This action is NOT reversible * YCreating the transaction: Sending 20 to ab518b8c908d7157eaebdf8159c5813894074d3136826daba4a485598de1b86a597af2821f8400bbfe70c1 from MyNewAccount Transaction Hash: e032e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166 Transaction Fee: 0.00000001 Find the transaction on https://explorer.btcinu.xyz/transaction/ee32e78268a1097288503e18510e48d140292ff5ce91d0914ae00f733ad8d166

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

E.g.

btcinu accounts:pay -f MyOtherAccount

Noninteractive mode

Run btcinu accounts:pay --help to see the different options available.

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

btcinu accounts:pay -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:

btcinu accounts:publickey

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

btcinu accounts:publickey -a Savings

Balance

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

btcinu accounts:balance

Next steps

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