You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, we have indexed public keys by their addresses: #437
This helps reduce the size of blocks by removing duplicated public keys. Now, we can add a new API in gRPC to get the public key associated with a specific address.
Ideal Solution
We should add a new RPC function named GetPublicKey in blockchain.proto. It will accept an address as input and return the corresponding Public Key as output. If the public key is not indexed yet, it can return a NotFound error.
The text was updated successfully, but these errors were encountered:
kehiy
changed the title
Adding new API to get Publick key by address
Adding new API to get Public key by address
Jul 9, 2023
Describe the problem
Recently, we have indexed public keys by their addresses: #437
This helps reduce the size of blocks by removing duplicated public keys. Now, we can add a new API in gRPC to get the public key associated with a specific address.
Ideal Solution
We should add a new RPC function named
GetPublicKey
inblockchain.proto
. It will accept an address as input and return the corresponding Public Key as output. If the public key is not indexed yet, it can return aNotFound
error.The text was updated successfully, but these errors were encountered: