llamanodes / web3-proxy

Fast loadbalancing and caching proxy for Ethereum or chains with similar JSON-RPC methods
https://llamanodes.com
GNU General Public License v3.0
153 stars 34 forks source link

Aggregate rpc_keys in user/rpc_keys #104

Closed yenicelik closed 1 year ago

yenicelik commented 1 year ago

GET /subuser/rpc_keys Retrieves RPC keys for the subuser (i.e. all RPC-keys that were shared with me, being the subuser) could we aggregate subuser keys directly in GET /user/keys endpoint and add the role there ? or at least return the same payload ? it’s missing a lot of fields that can be updated in the dashboard. I expect we can modify these if we have the “Admin” role ? interface IApiKey { active: boolean allowed_ips: string | null allowed_origins: string | null allowed_referers: string | null allowed_user_agents: string | null description: string | null id: number log_level: TLogLevel | null log_revert_chance: number | null private_txs: boolean secret_key: string user_id: number }

yenicelik commented 1 year ago

should be included now in the PR that i referenced