UNPKG

nmkr-studio-api

Version:

Typesafe API Client to work with the NMKR Studio V2 API

34 lines (33 loc) 2.1 kB
import type { CheckWalletValidationResultClass } from '../models/CheckWalletValidationResultClass'; import type { GetWalletValidationAddressResultClass } from '../models/GetWalletValidationAddressResultClass'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class WalletValidationService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Returns the result of a wallet validation * Here you can check the result of a wallet validation. The result are "notvalidated", "validated","expired" * @returns CheckWalletValidationResultClass Returns the CheckWalletValidationResultClass Class * @throws ApiError */ getV2CheckWalletValidation({ validationuid, }: { validationuid: string; }): CancelablePromise<CheckWalletValidationResultClass>; /** * Returns an address for wallet validation * When you call this API, you will receive an address for a wallet validation. The user can send any ada to this address and the ada (and tokens) will sent back to the sender. With the function CheckWalletValidation you can check the state of the address * @returns GetWalletValidationAddressResultClass Returns the GetWalletValidationAddressResultClass Class * @throws ApiError */ getV2GetWalletValidationAddress({ validationname, }: { validationname?: string; }): CancelablePromise<GetWalletValidationAddressResultClass>; /** * Returns an address for wallet validation * When you call this API, you will receive an address for a wallet validation. The user can send any ada to this address and the ada (and tokens) will sent back to the sender. With the function CheckWalletValidation you can check the state of the address * @returns GetWalletValidationAddressResultClass Returns the GetWalletValidationAddressResultClass Class * @throws ApiError */ getV2GetWalletValidationAddress1(): CancelablePromise<GetWalletValidationAddressResultClass>; }