mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Parameter of getCFDHistory method was updated
This commit is contained in:
@@ -393,7 +393,7 @@ class OrionBlockchain {
|
||||
cfdContractsSchema,
|
||||
);
|
||||
|
||||
getCFDHistory = (address: string, query: CfdHistoryQuery) => {
|
||||
getCFDHistory = (address: string, query: CfdHistoryQuery = {}) => {
|
||||
const url = new URL(`${this.apiUrl}/api/cfd/deposit-withdraw/${address}`);
|
||||
|
||||
Object.entries(query)
|
||||
|
||||
Reference in New Issue
Block a user