Skip to content

Typed request/response #46

@mfornet

Description

@mfornet

Looking at [this example](https://github.com/near/near-jsonrpc-client-rs/blob/master/examples/contract_view_method.rs) I wonder if we can have an updated interface, where if a CallFunction was used as a request, then the response is a CallResult and it is not required to match against QueryResponseKind.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions