0.17.0-rc8.17 • Published 2 years ago
@ximingwang/rpc v0.17.0-rc8.17
@ximingwang/rpc
RPC module for lumos. Provide type definitions for CKB RPC interface.
Usage
import { RPC } from "@ximingwang/rpc";
const rpc = new RPC("http://localhost:8114");
await rpc.get_tip_header();
// Or provide an optional indexer param, if provided, will wait for sync after every RPC call.
const rpc = new RPC("http://localhost:8114", indexer);
await rpc.get_tip_header(); // before it return, will sync indexer to tip.
0.18.0-rc5.1
2 years ago
0.16.1-next.105
2 years ago
0.17.0-rc8.17
2 years ago
0.17.0-rc8.16
2 years ago
0.17.0-rc8.15
2 years ago
0.17.0-rc8.14
2 years ago
0.17.0-rc8.13
2 years ago
0.17.0-rc8.11
2 years ago
0.17.0-rc8.10
2 years ago