@devasher/kuru-sdk
Version:
Ethers v6 SDK to interact with Kuru (forked from @kuru-labs/kuru-sdk)
12 lines • 624 B
TypeScript
import { ethers } from 'ethers';
import { MarketParams } from '../types';
export declare abstract class ParamFetcher {
/**
* @dev Retrieves the market parameters from the order book contract.
* @param providerOrSigner - The ethers.js provider to interact with the blockchain.
* @param orderbookAddress - The address of the order book contract.
* @returns A promise that resolves to the market parameters.
*/
static getMarketParams(providerOrSigner: ethers.JsonRpcProvider | ethers.AbstractSigner, orderbookAddress: string): Promise<MarketParams>;
}
//# sourceMappingURL=marketParams.d.ts.map