ethereum / execution-apis

Collection of APIs provided by Ethereum execution layer clients
Creative Commons Zero v1.0 Universal
908 stars 352 forks source link

Add eth_fillTransaction #508

Open s1na opened 6 months ago

s1na commented 6 months ago

This helps users fill in transaction fields when the signing is supposed to take place outside the node. This has been implemented in Geth since EoY 2019 but unfortunately was never proposed for inclusion in the specs.

The input to the method is a GenericTransaction object. The response in the following form:

{
  "raw": "0x...", // RLP-encoded tx
  "tx": {
      ..., // filled in tx fields
  }
}