Skip to content

[Task]: Explore usage of the new iota_view method for read-only queries #180

@itsyaasir

Description

@itsyaasir

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 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions