0.0.4 • Published 4 years ago
@gxchain2/rpc v0.0.4
@gxchain2/rpc
Rpc call interface of websocket and http.
debug: Debug api for tracing blocks and transactions, includes:debug_traceBlock,debug_traceTransaction...etcwarning: Debug api is very dangerous, public nodes shouldn't open
ethETH api for getting information from blockchain, includes:eth_coinbase,eth_gasPrice...etcnetETH api for getting network statetxpoolTxpool api for getting information from txpoolweb3Web3 api
INSTALL
npm install @gxchain2/rpcUSAGE
const server = new RpcServer(34456, "127.0.0.1", "eth,net,txpool,web3", node);
await server.start();
await server.abort();License
0.0.3
4 years ago
0.0.4
4 years ago
0.0.1
4 years ago
0.0.2
4 years ago
0.0.7-alpha.0
4 years ago
0.0.6-alpha.0
4 years ago
0.0.5-alpha.0
4 years ago
0.0.4-alpha.0
4 years ago
0.0.3-alpha.0
4 years ago
0.0.2-alpha.0
5 years ago
0.0.1-alpha.0
5 years ago