Closed lcswillems closed 3 months ago
If an account has a huge state, I might want to fetch only one value, i.e. to use /address/[address]/key/[key].
/address/[address]/key/[key]
Right now, there is no method dedicated to this with Proxy.
Let's add a method Proxy.getAccountValue(address: string, key: string): string that returns the hex value associated to the key.
Proxy.getAccountValue(address: string, key: string): string
Let's also implement the endpoint /address/[address]/key/[key] in the light simulnet and add tests both for the light simulnet and the full simulnet.
If an account has a huge state, I might want to fetch only one value, i.e. to use
/address/[address]/key/[key]
.Right now, there is no method dedicated to this with Proxy.
Let's add a method
Proxy.getAccountValue(address: string, key: string): string
that returns the hex value associated to the key.Let's also implement the endpoint
/address/[address]/key/[key]
in the light simulnet and add tests both for the light simulnet and the full simulnet.