How to send ICP from one account to another using motoko?

The dfx command to check the ICP balance is dfx ledger balance <account id> (maybe with --network ic).

To figure out the account identifier, use dfx ledger account-id to produce the identifier. Use dfx ledger account-id --help to see how to use the command.

dfx wallet balance shows you the (cycles) balance of your cycles wallet.

1 Like