Updated on March 5, 2020
Creating and sending transactions
You can send signed transactions using Hyperledger Besu the
eth_sendRawTransaction JSON-RPC API
Signed transactions can be simple value transfers, contract creation, or contract invocation.
Do not use the accounts in the examples on mainnet or any public network except for testing. The private keys are displayed which means the accounts are not secure.
All accounts and private keys in the examples are from the
dev.json genesis file in the
eth_call vs eth_sendRawTransaction
|Invokes contract function locally||Broadcasts to the network|
|Does not change state of blockchain||Updates the blockchain (for example, transfers ether between accounts)|
|Does not consume gas||Requires gas|
|Returns the value of a contract function available immediately||Returns transaction hash only. A block might not include all possile transactions (for example, if the gas price is too low).|