@devasher/kuru-sdk
Version:
Ethers v6 SDK to interact with Kuru (forked from @kuru-labs/kuru-sdk)
13 lines • 627 B
TypeScript
import { ethers } from 'ethers';
import { Order } from '../types';
export declare abstract class Orders {
/**
* @dev Gets an order by its ID.
* @param providerOrSigner - The ethers.js provider to interact with the blockchain.
* @param orderbookAddress - The address of the order book contract.
* @param orderId - The ID of the order.
* @returns A promise that resolves to an Order object containing order details.
*/
static getOrder(providerOrSigner: ethers.JsonRpcProvider | ethers.Signer, orderbookAddress: string, orderId: number): Promise<Order>;
}
//# sourceMappingURL=orders.d.ts.map