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
This commit is contained in:
Stephen Buttolph 2026-01-23 16:02:08 -05:00 committed by GitHub
parent 6726b055f3
commit 24462f0085
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)