Skip to content

Commit

Permalink
feat: add getfee
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-path committed Nov 25, 2024
1 parent 906b8ba commit aead6d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,16 @@ class DataSource {
config?.marginTradingUrl,
);
}

getFee() {
return this.callAPI(
`/v3/margin-trading/position/fee`,
"GET",
null,
null,
config?.marginTradingUrl,
);
}
}

export default DataSource;

0 comments on commit aead6d3

Please sign in to comment.