Skip to content

Commit

Permalink
chore(ocean-api-client): remove deprecated RawTx.ts (#1992)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it:

As per title.

#### Which issue(s) does this PR fixes?:

Fixes #1989
  • Loading branch information
fuxingloh authored Jan 20, 2023
1 parent 875d42b commit cd15f47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
22 changes: 0 additions & 22 deletions packages/ocean-api-client/src/apis/RawTx.ts

This file was deleted.

19 changes: 0 additions & 19 deletions packages/ocean-api-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,7 @@
export * from './apis/RawTx'

export * from './errors/ApiException'
export * from './errors/ApiValidationException'
export * from './errors/ClientException'
export * from './errors/TimeoutException'

export * from './ApiResponse'
export * from './OceanApiClient'

// TODO(fuxingloh):
// export * from './api/Fee'
// import { OceanApiClient } from '../OceanApiClient'
//
// export class Fee {
// constructor (private readonly client: OceanApiClient) {
// }
//
// /**
// * @param {number} confirmationTarget in blocks till fee get confirmed
// * @return {Promise<number>} fee rate per KB
// */
// async estimate (confirmationTarget: number = 10): Promise<number> {
// return await this.client.requestData('GET', `fee/estimate?confirmationTarget=${confirmationTarget}`)
// }
// }

0 comments on commit cd15f47

Please sign in to comment.