onflow / flow-go

A fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them.
GNU Affero General Public License v3.0
531 stars 175 forks source link

Add Keys option to accounts gRPC endpoint #4592

Open peterargue opened 1 year ago

peterargue commented 1 year ago

Problem Definition

https://github.com/onflow/flow-go/issues/4564 adds support for a new Account keys endpoint to the REST API. To keep the APIs consistent, add endpoints to support the same queries to the gRPC API.

Proposed Solution

Add GetAccountKeyAtLatestBlock and GetAccountKeyAtBlockHeight which take the following arguments:

and return the entities.AccountKey for the key belonging to that provide address at key_index.

Definition of Done

m-Peter commented 1 year ago

As I have already done related work for https://github.com/onflow/flow-go/issues/4564, I am assigning this to myself :pray:

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

peterargue commented 1 month ago

This will be addressed by https://github.com/onflow/flow-go/issues/5999