nmkr-studio-api
Version:
Typesafe API Client to work with the NMKR Studio V2 API
68 lines (67 loc) • 3.32 kB
TypeScript
import type { Blockchain } from '../models/Blockchain';
import type { MintAndSendResultClass } from '../models/MintAndSendResultClass';
import type { ReserveMultipleNftsClassV2 } from '../models/ReserveMultipleNftsClassV2';
import type { CancelablePromise } from '../core/CancelablePromise';
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
export declare class MintService {
readonly httpRequest: BaseHttpRequest;
constructor(httpRequest: BaseHttpRequest);
/**
* Mints random Nfts and sends it to an Address
* When you call this API, random NFTs will be selected, minted and send to an ada address. You will need ADA in your Account for the transaction and minting costs.
* @returns MintAndSendResultClass Returns the Nft Class
* @throws ApiError
*/
getV2MintAndSendRandom({ projectuid, countnft, receiveraddress, blockchain, }: {
projectuid: string;
countnft: number;
receiveraddress: string;
blockchain?: Blockchain;
}): CancelablePromise<MintAndSendResultClass>;
/**
* Mints a specific Nft and sends it to an Address
* When you call this API, a specific NFT will be minted and send to an ada address. You will need ADA in your Account for the transaction and minting costs.
* @returns MintAndSendResultClass Returns the Nft Class
* @throws ApiError
*/
getV2MintAndSendSpecific({ projectuid, nftuid, tokencount, receiveraddress, blockchain, }: {
projectuid: string;
nftuid: string;
tokencount: number;
receiveraddress: string;
blockchain?: Blockchain;
}): CancelablePromise<MintAndSendResultClass>;
/**
* Mints one or more specific Nft and sends it to an Address
* When you call this API, one or more specific NFTs will be minted and send to an ada address. You will need ADA in your Account for the transaction and minting costs.
* @returns MintAndSendResultClass Returns the Nft Class
* @throws ApiError
*/
postV2MintAndSendSpecific({ projectuid, receiveraddress, blockchain, requestBody, }: {
projectuid: string;
receiveraddress: string;
blockchain?: Blockchain;
requestBody?: ReserveMultipleNftsClassV2;
}): CancelablePromise<MintAndSendResultClass>;
/**
* Mints the royalty token
* When you call this API, the royalty token for this project will be minted and send to a burning address. You have to specify the address for the royalties and the percentage of royalties. You need mint credits in your account. Only one royalty token can be minted for each project
* @returns any The royaltytoken was created successfully
* @throws ApiError
*/
getV2MintRoyaltyToken({ projectuid, royaltyaddress, percentage, }: {
projectuid: string;
royaltyaddress: string;
percentage: number;
}): CancelablePromise<any>;
/**
* ReMints a specific Nft and sends it to a burn address
* When you call this API, you can update metadata of an already sold nft. The nft will be minted and send to a burning address
* @returns any Remint is scheduled
* @throws ApiError
*/
getV2RemintAndBurn({ projectuid, nftuid }: {
projectuid: string;
nftuid: string;
}): CancelablePromise<any>;
}