UNPKG

nmkr-studio-api

Version:

Typesafe API Client to work with the NMKR Studio V2 API

37 lines (36 loc) 1.66 kB
import type { CreateVestingAddressClass } from '../models/CreateVestingAddressClass'; import type { CreateVestingAddressResultClass } from '../models/CreateVestingAddressResultClass'; import type { GetVestingAddressClass } from '../models/GetVestingAddressClass'; import type { TxInAddressesClass } from '../models/TxInAddressesClass'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class VestingAddressesService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Creates a vesting/staking address. Assets can be locked on a vesting address for a certain period of time. * @returns CreateVestingAddressResultClass * @throws ApiError */ postV2CreateVestingAddress({ customerid, requestBody, }: { customerid: number; requestBody?: CreateVestingAddressClass; }): CancelablePromise<CreateVestingAddressResultClass>; /** * Returns all vesting addresses from a customer account * @returns TxInAddressesClass Returns the vesting/locking addresses * @throws ApiError */ getV2GetUtxoFromVestingAddress({ customerid, address, }: { customerid: number; address: string; }): CancelablePromise<TxInAddressesClass>; /** * Returns all vesting addresses from a customer account * @returns GetVestingAddressClass Returns the vesting/locking addresses * @throws ApiError */ getV2GetVestingAddresses({ customerid, }: { customerid: number; }): CancelablePromise<Array<GetVestingAddressClass>>; }