satsterminal-sdk
Version:
A TypeScript SDK for interacting with the SatsTerminal ecosystem.
16 lines (15 loc) • 995 B
TypeScript
import { SatsTerminalConfig, QuoteParams, QuoteResponse, GetPSBTParams, PSBTResponse, ConfirmPSBTParams, ConfirmPSBTResponse, SearchParams, SearchResponse, PopularCollectionsParams, PopularCollectionsResponse, SignInParams, SignInResponse, BindResponse, BindParams, PointsResponse, PointsParams } from './types';
export declare class SatsTerminal {
private readonly apiKey;
private readonly baseUrl;
constructor(config: SatsTerminalConfig);
private request;
search(params: SearchParams): Promise<SearchResponse>;
popularCollections(params: PopularCollectionsParams): Promise<PopularCollectionsResponse>;
fetchQuote(params: QuoteParams): Promise<QuoteResponse>;
getPSBT(params: GetPSBTParams): Promise<PSBTResponse>;
confirmPSBT(params: ConfirmPSBTParams): Promise<ConfirmPSBTResponse>;
signIn(params: SignInParams): Promise<SignInResponse>;
bind(params: BindParams): Promise<BindResponse>;
points(params: PointsParams): Promise<PointsResponse>;
}