Skip to content

Create Router for RPC requests #15

@mpaulucci

Description

@mpaulucci

Ideally we would have a RPC router similar to the one describen in this video

https://www.youtube.com/watch?v=Gc5Nj5LJe1U

We should be able to do something like

   RpcRouter::new()
      .add("engine_exchangeCapabilities", engine::exchange_capabilities)

Ideally it would pass the rpc params field into the appropriate types to pass to the router function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engine-apiCommunication between Consensus and Executionrpc-apiPublic rpc-json api for users

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions