scrypt-ts
Version:
A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.
18 lines (17 loc) • 673 B
TypeScript
import { Action } from "../../core/action";
import { RequestMethod } from "../../core/request-controller";
interface GetFeePerKBRequest {
}
interface GetFeePerKBJSONRequest {
}
interface GetFeePerKBJSONResponse {
satoshis: number;
}
type GetFeePerKBResponse = number;
export declare class GetFeePerKBAction implements Action<GetFeePerKBRequest, GetFeePerKBJSONRequest, GetFeePerKBJSONResponse, GetFeePerKBResponse> {
method: RequestMethod;
pathPattern: string;
serilizeRequest(request: GetFeePerKBRequest): GetFeePerKBJSONRequest;
deserilizeResponse(response: GetFeePerKBJSONResponse, _requestCtx: GetFeePerKBRequest): GetFeePerKBResponse;
}
export {};