personal_sendTransaction
Validates the given passphrase and submits a TxTypeLegacy transaction. The transaction object must have from and to except the case of contract deployment. to should be omitted if the transaction deploys a smart contract. If value is not specified, it will be set to zero internally. Other fields such as gas, gasPrice, and nonce are set to appropriate values internally if unspecified. If the passphrase is able to decrypt the private key belonging to tx.from and the transaction is verified, the transaction is signed and submitted onto the network. The account is not unlocked globally in the node and cannot be used in other RPC calls.
JSONRPC: personal_sendTransaction
Request
- application/json
Body
Array [
]
params
undefined[]
required
A transaction object. from is a required field. to, value, gas, gasPrice and nonce are optional fields.
The passphrase to decrypt the private key of tx.from.