UNPKG

multichain-api

Version:
21 lines (20 loc) 579 B
import { RpcRequest } from '../RpcRequest'; import { RpcResponse } from '../RpcResponse'; /** * JSON-RPC request for the *getblock* command. */ export interface GetBlockRequest extends RpcRequest { readonly method: 'getblock'; readonly params?: any[]; } /** * JSON-RPC response for the *getblock* command. */ export interface GetBlockResponse extends RpcResponse { readonly result: GetBlockResult | null; } /** * Result of the *getblock* command. */ export declare type GetBlockResult = any; export declare function GetBlock(...params: any[]): GetBlockRequest;