UNPKG

rchain-toolkit

Version:

Node JS utils and methods to interact with rchain's rnode api and proto interfaces

50 lines (47 loc) 804 B
import { PrivateNamePreviewResponse, EitherSuccess } from "./api"; import * as rnodeProtos from "../rnode-protos"; export const privateNamePreviewResponse: any = { names: ["fc60308a5512c265b978b46d7283f2d5f7aa12f64a5b1874df26ef3be827f57e"], blockNumber: 6 }; export const privateNamePreviewResponse2: any = { message: "payload", payload: { ids: [ Buffer.from([ 145, 79, 72, 91, 227, 162, 74, 195, 45, 139, 30, 13, 129, 250, 118, 169, 41, 99, 44, 225, 167, 214, 40, 87, 62, 68, 234, 184, 159, 181, 165, 117 ]) ] } };