mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-22 14:44:30 +00:00
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:
parent
6726b055f3
commit
24462f0085
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue