Skip to content

[Feature] embed consensus transaction types in eth_getTransaction #1165

@mattsse

Description

@mattsse

Component

rpc

Describe the feature you would like

according to the spec https://ethereum.github.io/execution-apis/api-documentation/

eth_getTransaction returns the full transaction object

image

so we should be able to fully embed the consensus tx objects in the response object, like TxEnvelope

This likely requires manual serde, we could use the existing rpc::Transaction as the initial deserialize target and then do the conversion in deserialize internally, this is most likely the easiest solution because it should be more efficient than untagged.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions