UNPKG

@ln-markets/sdk

Version:
15 lines 417 B
export const createGetInstrument = (instance) => { /** * @see https://docs.lnmarkets.com/api/operations/optionsgetinstrument */ return async (body) => { return instance .get('options/instrument', { searchParams: { instrument_name: body.instrumentName, }, }) .json(); }; }; //# sourceMappingURL=get-instrument.js.map