UNPKG

postchain-client

Version:

Client library for accessing a Postchain node through REST.

5 lines (4 loc) 281 B
/// <reference types="node" /> import { Method } from "./enums"; import { PostRequestObjects, ResponseObject } from "./types"; export declare function handleRequest(method: Method, path: string, endpoint: string, postObject?: PostRequestObjects | Buffer): Promise<ResponseObject>;