UNPKG

myria-core-sdk

Version:

Latest version SDK

12 lines (11 loc) 708 B
import { FullWithdrawalPayload, SplitSignature, TransactionData, WithdrawOffchainPayloadV2 } from "../../types"; import { APIResponseType } from "../../types/APIResponseType"; import { EnvTypes } from "../../typesBundle"; export declare class WithdrawalAPI { private axiosInstance; private axiosWrapper; constructor(env: EnvTypes); makeWithdrawalTransaction(vauldId: string, starkKey: string, amount: string, assetId: string, signature: SplitSignature, nonce: number): Promise<any>; makeWithdrawalTransactionV2(payload: WithdrawOffchainPayloadV2): Promise<APIResponseType<TransactionData>>; fullWithdrawal(payload: FullWithdrawalPayload): Promise<APIResponseType<TransactionData>>; }