diff --git a/src/services/OrionBlockchain/index.ts b/src/services/OrionBlockchain/index.ts index 76777cc..40c6ac5 100644 --- a/src/services/OrionBlockchain/index.ts +++ b/src/services/OrionBlockchain/index.ts @@ -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)