UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

31 lines 767 B
/** * TransactionsService * AUTO-GENERATED - Do not edit manually * * Transaction history - view completed and pending transactions */ import { request } from '../core/request.js'; export class TransactionsService { /** * List transactions * Transaction history - view completed and pending transactions */ static async list(options) { return await request({ method: 'GET', url: '/transactions', query: options, }); } /** * Get a single transaction */ static async get(id) { return await request({ method: 'GET', url: '/transactions/{id}', path: { id }, }); } } //# sourceMappingURL=TransactionsService.js.map