github.com/Cleverse/go-ethereum@v0.0.0-20220927095127-45113064e7f2/arbitrum/txpool.go (about) 1 package arbitrum 2 3 // PublicNetAPI offers network related RPC methods 4 type PublicTxPoolAPI struct{} 5 6 // NewPublicNetAPI creates a new net API instance. 7 func NewPublicTxPoolAPI() *PublicTxPoolAPI { 8 return &PublicTxPoolAPI{} 9 } 10 11 // Version returns the current ethereum protocol version. 12 func (s *PublicTxPoolAPI) Content() map[string]map[string]map[string]*struct{} { 13 return map[string]map[string]map[string]*struct{}{ 14 "pending": make(map[string]map[string]*struct{}), 15 "queued": make(map[string]map[string]*struct{}), 16 } 17 }