From 24462f0085b04a43dc438d89c3d8cb3c553b861a Mon Sep 17 00:00:00 2001 From: Stephen Buttolph Date: Fri, 23 Jan 2026 16:02:08 -0500 Subject: [PATCH] feat: expose ethapi.RPCTransaction (#258) ## Why this should be merged Supports testing `txpool` APIs in SAE. ## How this works Exposes the type. ## How this was tested N/A --- libevm/ethapi/ethapi.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libevm/ethapi/ethapi.go b/libevm/ethapi/ethapi.go index 7882d4364b..5d1ed7aabb 100644 --- a/libevm/ethapi/ethapi.go +++ b/libevm/ethapi/ethapi.go @@ -40,6 +40,11 @@ type ( DebugAPI = ethapi.DebugAPI ) +// Type aliases for types used as arguments or responses to the APIs. +type ( + RPCTransaction = ethapi.RPCTransaction +) + // NewEthereumAPI is identical to [ethapi.NewEthereumAPI]. func NewEthereumAPI(b Backend) *EthereumAPI { return ethapi.NewEthereumAPI(b)