Sending Transactions
Overview
Sending a transaction
Using the Binary:
./hmy transfer --node="<endpoint-address>" \
--from <ONE_address> --to <ONE_address> \
--from-shard <shard> --to-shard <shard> \
--amount <amount> --chain-id <chain-id> --passphraseUsing the Shell Wrapper:
./hmy.sh -- transfer --node="<endpoint-address>" \
--from <ONE_address> --to <ONE_address> \
--from-shard <shard> --to-shard <shard> \
--amount <amount> --chain-id <chain-id> --passphraseExample:
./hmy --node="https://api.s0.t.hmny.io" \
transfer --from one1yc06ghr2p8xnl2380kpfayweguuhxdtupkhqzw \
--to one1q6gkzcap0uruuu8r6sldxuu47pd4ww9w9t7tg6 \
--from-shard 0 --to-shard 1 --amount 12.5 --chain-id mainnet --passphrase mypasswordChecking the transaction hash
Using the Binary:
Using the Shell Wrapper:
Example:
Detail
ChainIDs
Using the Binary:
Using the Shell Wrapper:
Example:
Our first transaction
Using the Binary:
Using the Shell Wrapper:
Example:
Result of the transaction
Using the Binary:
Using the Shell Wrapper:
Example:
Last updated
Was this helpful?