UNPKG

ordinalsbot

Version:
17 lines 1.36 kB
import { ClientOptions, InscriptionEnv } from "../types"; import { AccountBalanceResponse, AccountWithdrawRequest, AccountWithdrawResponse, CheckTransactionAsTxidRequest, CheckTransactionAsTxidResponse, CreatePaymentPSBTRequest, CreatePaymentPSBTResponse, CreateRuneOrderRequest, GetAccountWithdrawRequest, GetOrderRequest, GetOrderResponse, RuneOrderResponse } from "../types/tokenpay_types"; export declare class TokenPayClient { env: InscriptionEnv; private api_key; private instanceV1; private tokenpay_api_key; constructor(key?: string, environment?: InscriptionEnv, tokenPayApiKey?: string, options?: ClientOptions); createRuneOrder(createRuneOrderRequest: CreateRuneOrderRequest): Promise<RuneOrderResponse>; createPaymentPSBT(createPaymentRequest: CreatePaymentPSBTRequest): Promise<CreatePaymentPSBTResponse>; checkTransactionAsTxid(checkTransactionAsTxidRequest: CheckTransactionAsTxidRequest): Promise<CheckTransactionAsTxidResponse>; getOrder(getOrderRequest: GetOrderRequest): Promise<GetOrderResponse>; accountWithdraw(accountWithdrawRequest: AccountWithdrawRequest): Promise<AccountWithdrawResponse>; getAccountWithdraw(getAccountWithdrawRequest: GetAccountWithdrawRequest): Promise<AccountWithdrawResponse>; getAccountBalance(): Promise<AccountBalanceResponse>; } //# sourceMappingURL=client.d.ts.map