0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
29 stars 25 forks source link

refactor: change return type for `get_account_update` #272

Closed tomyrd closed 2 months ago

tomyrd commented 3 months ago

Closes #251

The rpc endpoint for GetAccountDetails behaves differently for on and off chain accounts. The previous get_account_update implementation only worked for onchain accounts. By modifying its implementation and adjusting the return type, we can utilize it to retrieve the hash of a specific account.