UNPKG

@zebec-network/exchange-card-sdk

Version:
23 lines (22 loc) 701 B
import { ethers } from "ethers"; export type TransferOctaParams = { amount: string | number; overrides?: Omit<ethers.Overrides, "from" | "value" | "chainId">; }; export declare class OctaService { readonly signer: ethers.Signer; private apiService; constructor(signer: ethers.Signer, sdkOptions?: { sandbox?: boolean; }); /** * Fetches the Bitcoin vault address. * * @returns {Promise<{ address: string }>} A promise that resolves to the vault address. */ fetchVault(symbol?: string): Promise<{ address: string; tag?: string; }>; transferOcta(params: TransferOctaParams): Promise<ethers.TransactionReceipt | null>; }