Eth sendTransaction

Creates new message call transaction or a contract creation, if the data field contains code.

post

Request body sample: { "id": 1, "jsonrpc": "2.0", "method": "eth_sendTransaction", "params": [{ "from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675" }] }

Body
idintegerOptional
jsonrpcstringOptional
methodstringOptional
paramsany[] | nullableOptional
Responses
application/json
objectOptional
post
POST / HTTP/1.1
Host: eth_sendTransaction
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "id": 1,
  "jsonrpc": "text",
  "method": "text",
  "params": []
}
200

OK

{
  "id": 1,
  "jsonrpc": "text",
  "result": "text"
}