iotaledger / iotaledger/notarization
[Task]: Explore usage of the new `iota_view` method for read-only queries
- Dominant language
- Rust
- Stars
- 5
- Forks
- 7
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 11
Description
### Feature description
### Description
#### Background
Currently, the Notarization library uses `dev_inspect_transaction_block` to execute read-only queries against on-chain Move functions. This approach requires significant boilerplate code including manual transaction building, BCS deserialization, and complex error handling.
[IIP-0005](https://github.com/iotaledger/IIPs/blob/main/iips/IIP-0005/iip-0005.md) introduces a standardized Move View Functions interface via the `iota_view` JSON-RPC method, which is specifically designed to simplify read-only queries to on-chain state.
### Motivation
NA
### Requirements
N/A
### Open questions
_No response_
### Are you planning to do it yourself in a pull request?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.