Skip to content

Commit

Permalink
Implementation of the Accounts method (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
novosandara authored Jul 3, 2024
1 parent c2deba0 commit 2688bb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jsonrpc/eth_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ func (e *Eth) ChainId() (interface{}, error) {
return argUintPtr(e.chainID), nil
}

// Accounts returns the collection of accounts this node manages.
func (e *Eth) Accounts() (interface{}, error) {
return e.accManager.Accounts(), nil
}

func (e *Eth) Syncing() (interface{}, error) {
if syncProgression := e.store.GetSyncProgression(); syncProgression != nil {
// Node is bulk syncing, return the status
Expand Down

0 comments on commit 2688bb3

Please sign in to comment.