@fruitsjs/core
Version:
Principal package with functions and models for building Fruits Eco-Blockchain applications.
9 lines (8 loc) • 402 B
TypeScript
import { ChainService } from '../../../service/chainService';
import { TransactionId } from '../../../typings/transactionId';
import { PlaceOrderArgs } from '../../../typings/args';
interface GenericPlaceOrderArgs extends PlaceOrderArgs {
type: 'bid' | 'ask';
}
export declare const placeOrder: (service: ChainService) => (args: GenericPlaceOrderArgs) => Promise<TransactionId>;
export {};