ordinalsbot
Version:
Node.js library for OrdinalsBot API
27 lines • 2.29 kB
TypeScript
import { InscriptionClient } from "../client";
import { ClientOptions, InscriptionEnv, v1 } from "../types";
import { RunesEtchOrderRequest, RunesEtchOrderResponse, RunesMintOrderRequest, RunesMintOrderResponse } from "../types/runes_types";
import { CreateParentChildPsbtRequest, CreateParentChildPsbtResponse, CreateSpecialSatsRequest, CreateSpecialSatsResponse } from '../types/v1';
import { SignTransactionResponse } from 'sats-connect';
export declare class Inscription {
instance: InscriptionClient;
private network;
constructor(key?: string, environment?: InscriptionEnv, options?: ClientOptions);
getPrice(priceRequest: v1.InscriptionPriceRequest): Promise<v1.InscriptionPriceResponse>;
createOrder(order: v1.InscriptionOrderRequest): Promise<v1.InscriptionOrder>;
getOrder(id: string): Promise<v1.InscriptionOrder>;
createDirectOrder(order: v1.DirectInscriptionOrderRequest): Promise<v1.DirectInscriptionOrder>;
createCollection(collection: v1.InscriptionCollectionCreateRequest): Promise<v1.InscriptionCollectionCreateResponse>;
updateCollectionPhases(collection: v1.UpdateCollectionPhasesRequest): Promise<v1.InscriptionCollectionCreateResponse>;
getAllocation(allocation: v1.GetAllocationRequest): Promise<v1.GetAllocationResponse>;
createCollectionOrder(collectionOrder: v1.InscriptionCollectionOrderRequest): Promise<v1.InscriptionCollectionOrderResponse>;
createTextOrder(order: v1.InscriptionTextOrderRequest): Promise<v1.InscriptionOrder>;
createRunesEtchOrder(order: RunesEtchOrderRequest): Promise<RunesEtchOrderResponse>;
createRunesMintOrder(order: RunesMintOrderRequest): Promise<RunesMintOrderResponse>;
getInventory(): Promise<v1.InscriptionInventoryResponse[]>;
setReferralCode(referral: v1.InscriptionReferralRequest): Promise<v1.InscriptionReferralSetResponse>;
getReferralStatus(referral: v1.InscriptionReferralRequest): Promise<v1.InscriptionReferralStatusResponse>;
createSpecialSatsPSBT(createSpecialSatsRequest: CreateSpecialSatsRequest): Promise<SignTransactionResponse | CreateSpecialSatsResponse>;
createParentChildPsbt(createParentChildPsbt: CreateParentChildPsbtRequest): Promise<SignTransactionResponse | CreateParentChildPsbtResponse>;
}
//# sourceMappingURL=index.d.ts.map