UNPKG

ordinalsbot

Version:
17 lines 1.55 kB
import { ClientOptions, InscriptionEnv } from "../types"; import { SignTransactionPayload, SignTransactionResponse } from "sats-connect"; import { AccountBalanceResponse, AccountWithdrawRequest, AccountWithdrawResponse, CheckTransactionAsTxidRequest, CheckTransactionAsTxidResponse, CreatePaymentPSBTRequest, CreatePaymentPSBTResponse, CreateRuneOrderRequest, GetAccountWithdrawRequest, GetOrderRequest, GetOrderResponse, RuneOrderResponse, SatsConnectWrapperResponse } from "../types/tokenpay_types"; export declare class TokenPay { private network; private tokenpayClientInstance; constructor(key?: string, environment?: InscriptionEnv, tokenPayApiKey?: string, options?: ClientOptions); createRuneOrder(CreateRuneOrderRequest: CreateRuneOrderRequest): Promise<RuneOrderResponse>; createPaymentPSBT(createPaymentPSBTRequest: CreatePaymentPSBTRequest): Promise<CreatePaymentPSBTResponse | SignTransactionResponse>; satsConnectWrapper(payload: SignTransactionPayload): Promise<SatsConnectWrapperResponse>; checkTransactionAsTxid(CheckTransactionAsTxidRequest: CheckTransactionAsTxidRequest): Promise<CheckTransactionAsTxidResponse>; getOrder(getOrderRequest: GetOrderRequest): Promise<GetOrderResponse>; accountWithdraw(accountWithdrawRequest: AccountWithdrawRequest): Promise<AccountWithdrawResponse>; getAccountWithdraw(getAccountWithdrawRequest: GetAccountWithdrawRequest): Promise<AccountWithdrawResponse>; getAccountBalance(): Promise<AccountBalanceResponse>; } //# sourceMappingURL=index.d.ts.map