import * as yup from 'yup'; import { RpcBlock } from './types'; export type GetBlocksRequest = { /** * The starting block sequence (inclusive). Negative numbers start from the end of the chain (with 0 being the latest block). */ start: number; /** * The ending block sequence (inclusive). If past the end of the chain, will return at most the latest block. */ end: number; /** * Additionally return block transactions in serialized format. */ serialized?: boolean; }; export type GetBlocksResponse = { blocks: { block: RpcBlock; }[]; }; export declare const GetBlocksRequestSchema: yup.ObjectSchema; export declare const GetBlocksResponseSchema: yup.ObjectSchema; //# sourceMappingURL=getBlocks.d.ts.map