eth_fillTransaction
POST
/{apiKey}
Fills in default values for a transaction object. This method populates missing fields such as gas, gasPrice, nonce, and chainId based on the current network state and transaction parameters. It returns both the filled transaction object and the RLP-encoded raw transaction data.
This is useful for preparing transactions before signing, as it ensures all required fields are present with appropriate values.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
TransactionobjectrequiredThe transaction object with optional fields to be filled. Fields like gas, gasPrice, nonce, and chainId will be populated if not provided.
Responses
200
An object containing the filled transaction and its RLP-encoded form.
Was this page helpful?