diff --git a/.gitignore b/.gitignore index 5cd2f16..097b6da 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,6 @@ ws-private-perp-futures-wsapi-readonly.ts privatetest.ts privaterepotracker -restClientRegex.ts \ No newline at end of file +restClientRegex.ts + +testfile.ts \ No newline at end of file diff --git a/docs/endpointFunctionList.md b/docs/endpointFunctionList.md index 26353b3..bd39a11 100644 --- a/docs/endpointFunctionList.md +++ b/docs/endpointFunctionList.md @@ -48,273 +48,272 @@ This table includes all endpoints from the official Exchange API docs and corres | Function | AUTH | HTTP Method | Endpoint | | -------- | :------: | :------: | -------- | -| [getSystemMaintenanceStatus()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L336) | | GET | `/v1/public/system_info` | -| [submitWithdrawal()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L353) | :closed_lock_with_key: | POST | `/withdrawals` | -| [submitSpotMainAccountTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L367) | :closed_lock_with_key: | POST | `/withdrawals/push` | -| [cancelWithdrawal()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L383) | :closed_lock_with_key: | DELETE | `/withdrawals/{withdrawal_id}` | -| [getCurrencyChains()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L400) | | GET | `/wallet/currency_chains` | -| [createDepositAddress()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L410) | :closed_lock_with_key: | GET | `/wallet/deposit_address` | -| [getWithdrawalRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L424) | :closed_lock_with_key: | GET | `/wallet/withdrawals` | -| [getDepositRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L438) | :closed_lock_with_key: | GET | `/wallet/deposits` | -| [submitTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L457) | :closed_lock_with_key: | POST | `/wallet/transfers` | -| [submitMainSubTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L469) | :closed_lock_with_key: | POST | `/wallet/sub_account_transfers` | -| [getMainSubTransfers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L483) | :closed_lock_with_key: | GET | `/wallet/sub_account_transfers` | -| [submitSubToSubTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L497) | :closed_lock_with_key: | POST | `/wallet/sub_account_to_sub_account` | -| [getWithdrawalStatus()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L509) | :closed_lock_with_key: | GET | `/wallet/withdraw_status` | -| [getSubBalance()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L524) | :closed_lock_with_key: | GET | `/wallet/sub_account_balances` | -| [getSubMarginBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L539) | :closed_lock_with_key: | GET | `/wallet/sub_account_margin_balances` | -| [getSubFuturesBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L551) | :closed_lock_with_key: | GET | `/wallet/sub_account_futures_balances` | -| [getSubCrossMarginBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L564) | :closed_lock_with_key: | GET | `/wallet/sub_account_cross_margin_balances` | -| [getSavedAddresses()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L576) | :closed_lock_with_key: | GET | `/wallet/saved_address` | -| [getTradingFees()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L586) | :closed_lock_with_key: | GET | `/wallet/fee` | -| [getBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L607) | :closed_lock_with_key: | GET | `/wallet/total_balance` | -| [getSmallBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L616) | :closed_lock_with_key: | GET | `/wallet/small_balance` | -| [convertSmallBalance()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L626) | :closed_lock_with_key: | POST | `/wallet/small_balance` | -| [getSmallBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L639) | :closed_lock_with_key: | GET | `/wallet/small_balance_history` | -| [getPushOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L651) | :closed_lock_with_key: | GET | `/wallet/push` | -| [createSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L666) | :closed_lock_with_key: | POST | `/sub_accounts` | -| [getSubAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L677) | :closed_lock_with_key: | GET | `/sub_accounts` | -| [getSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L687) | :closed_lock_with_key: | GET | `/sub_accounts/{user_id}` | -| [createSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L697) | :closed_lock_with_key: | POST | `/sub_accounts/{user_id}/keys` | -| [getSubAccountApiKeys()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L709) | :closed_lock_with_key: | GET | `/sub_accounts/{user_id}/keys` | -| [updateSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L721) | :closed_lock_with_key: | PUT | `/sub_accounts/{user_id}/keys/{key}` | -| [deleteSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L732) | :closed_lock_with_key: | DELETE | `/sub_accounts/{user_id}/keys/{key}` | -| [getSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L747) | :closed_lock_with_key: | GET | `/sub_accounts/{user_id}/keys/{key}` | -| [lockSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L762) | :closed_lock_with_key: | POST | `/sub_accounts/{user_id}/lock` | -| [unlockSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L772) | :closed_lock_with_key: | POST | `/sub_accounts/{user_id}/unlock` | -| [getSubAccountMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L786) | :closed_lock_with_key: | GET | `/sub_accounts/unified_mode` | -| [getUnifiedAccountInfo()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L803) | :closed_lock_with_key: | GET | `/unified/accounts` | -| [getUnifiedMaxBorrow()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L818) | :closed_lock_with_key: | GET | `/unified/borrowable` | -| [getUnifiedMaxTransferable()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L834) | :closed_lock_with_key: | GET | `/unified/transferable` | -| [submitUnifiedBorrowOrRepay()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L853) | :closed_lock_with_key: | POST | `/unified/loans` | -| [getUnifiedLoans()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L865) | :closed_lock_with_key: | GET | `/unified/loans` | -| [getUnifiedLoanRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L875) | :closed_lock_with_key: | GET | `/unified/loan_records` | -| [getUnifiedInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L887) | :closed_lock_with_key: | GET | `/unified/interest_records` | -| [getUnifiedRiskUnitDetails()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L898) | :closed_lock_with_key: | GET | `/unified/risk_units` | -| [setUnifiedAccountMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L910) | :closed_lock_with_key: | PUT | `/unified/unified_mode` | -| [getUnifiedAccountMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L919) | :closed_lock_with_key: | GET | `/unified/unified_mode` | -| [getUnifiedEstimateRate()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L931) | :closed_lock_with_key: | GET | `/unified/estimate_rate` | -| [getUnifiedCurrencyDiscountTiers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L942) | | GET | `/unified/currency_discount_tiers` | -| [getLoanMarginTiers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L954) | | GET | `/unified/loan_margin_tiers` | -| [portfolioMarginCalculate()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L971) | | POST | `/unified/portfolio_calculator` | -| [getSpotCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L993) | | GET | `/spot/currencies` | -| [getSpotCurrency()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1003) | | GET | `/spot/currencies/{currency}` | -| [getSpotCurrencyPairs()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1012) | | GET | `/spot/currency_pairs` | -| [getSpotCurrencyPair()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1022) | | GET | `/spot/currency_pairs/{currency_pair}` | -| [getSpotTicker()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1036) | | GET | `/spot/tickers` | -| [getSpotOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1051) | | GET | `/spot/order_book` | -| [getSpotTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1064) | | GET | `/spot/trades` | -| [getSpotCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1076) | | GET | `/spot/candlesticks` | -| [getSpotFeeRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1088) | :closed_lock_with_key: | GET | `/spot/fee` | -| [getSpotBatchFeeRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1097) | :closed_lock_with_key: | GET | `/spot/batch_fee` | -| [getSpotAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1109) | :closed_lock_with_key: | GET | `/spot/accounts` | -| [getSpotAccountBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1121) | :closed_lock_with_key: | GET | `/spot/account_book` | -| [submitSpotBatchOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1138) | :closed_lock_with_key: | POST | `/spot/batch_orders` | -| [getSpotOpenOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1154) | :closed_lock_with_key: | GET | `/spot/open_orders` | -| [submitSpotClosePosCrossDisabled()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1170) | :closed_lock_with_key: | POST | `/spot/cross_liquidate_orders` | -| [submitSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1184) | :closed_lock_with_key: | POST | `/spot/orders` | -| [getSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1196) | :closed_lock_with_key: | GET | `/spot/orders` | -| [cancelSpotOpenOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1209) | :closed_lock_with_key: | DELETE | `/spot/orders` | -| [batchCancelSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1226) | :closed_lock_with_key: | POST | `/spot/cancel_batch_orders` | -| [getSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1240) | :closed_lock_with_key: | GET | `/spot/orders/{order_id}` | -| [updateSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1255) | :closed_lock_with_key: | PATCH | `/spot/orders/{order_id}` | -| [cancelSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1277) | :closed_lock_with_key: | DELETE | `/spot/orders/{order_id}` | -| [getSpotTradingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1294) | :closed_lock_with_key: | GET | `/spot/my_trades` | -| [getServerTime()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1307) | | GET | `/spot/time` | -| [submitSpotCountdownOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1323) | :closed_lock_with_key: | POST | `/spot/countdown_cancel_all` | -| [batchUpdateSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1340) | :closed_lock_with_key: | POST | `/spot/amend_batch_orders` | -| [submitSpotPriceTriggerOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1354) | :closed_lock_with_key: | POST | `/spot/price_orders` | -| [getSpotAutoOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1366) | :closed_lock_with_key: | GET | `/spot/price_orders` | -| [cancelAllOpenSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1378) | :closed_lock_with_key: | DELETE | `/spot/price_orders` | -| [getPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1391) | :closed_lock_with_key: | GET | `/spot/price_orders/{order_id}` | -| [cancelSpotTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1403) | :closed_lock_with_key: | DELETE | `/spot/price_orders/{order_id}` | -| [getMarginAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1420) | :closed_lock_with_key: | GET | `/margin/accounts` | -| [getMarginBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1434) | :closed_lock_with_key: | GET | `/margin/account_book` | -| [getFundingAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1452) | :closed_lock_with_key: | GET | `/margin/funding_accounts` | -| [updateAutoRepaymentSetting()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1470) | :closed_lock_with_key: | POST | `/margin/auto_repay` | -| [getAutoRepaymentSetting()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1481) | :closed_lock_with_key: | GET | `/margin/auto_repay` | -| [getMarginTransferableAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1495) | :closed_lock_with_key: | GET | `/margin/transferable` | -| [getCrossMarginCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1511) | | GET | `/margin/cross/currencies` | -| [getCrossMarginCurrency()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1521) | | GET | `/margin/cross/currencies/{currency}` | -| [getCrossMarginAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1532) | :closed_lock_with_key: | GET | `/margin/cross/accounts` | -| [getCrossMarginAccountHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1544) | :closed_lock_with_key: | GET | `/margin/cross/account_book` | -| [submitCrossMarginBorrowLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1558) | :closed_lock_with_key: | POST | `/margin/cross/loans` | -| [getCrossMarginBorrowHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1572) | :closed_lock_with_key: | GET | `/margin/cross/loans` | -| [getCrossMarginBorrowLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1584) | :closed_lock_with_key: | GET | `/margin/cross/loans/{loan_id}` | -| [submitCrossMarginRepayment()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1597) | :closed_lock_with_key: | POST | `/margin/cross/repayments` | -| [getCrossMarginRepayments()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1612) | :closed_lock_with_key: | GET | `/margin/cross/repayments` | -| [getCrossMarginInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1624) | :closed_lock_with_key: | GET | `/margin/cross/interest_records` | -| [getCrossMarginTransferableAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1639) | :closed_lock_with_key: | GET | `/margin/cross/transferable` | -| [getEstimatedInterestRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1654) | :closed_lock_with_key: | GET | `/margin/cross/estimate_rate` | -| [getCrossMarginBorrowableAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1667) | :closed_lock_with_key: | GET | `/margin/cross/borrowable` | -| [getLendingMarkets()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1683) | | GET | `/margin/uni/currency_pairs` | -| [getLendingMarket()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1698) | | GET | `/margin/uni/currency_pairs/{currency_pair}` | -| [getEstimatedInterestRate()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1710) | :closed_lock_with_key: | GET | `/margin/uni/estimate_rate` | -| [submitMarginUNIBorrowOrRepay()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1720) | :closed_lock_with_key: | POST | `/margin/uni/loans` | -| [getMarginUNILoans()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1736) | :closed_lock_with_key: | GET | `/margin/uni/loans` | -| [getMarginUNILoanRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1746) | :closed_lock_with_key: | GET | `/margin/uni/loan_records` | -| [getMarginUNIInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1758) | :closed_lock_with_key: | GET | `/margin/uni/interest_records` | -| [getMarginUNIMaxBorrow()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1770) | :closed_lock_with_key: | GET | `/margin/uni/borrowable` | -| [getFlashSwapCurrencyPairs()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1786) | | GET | `/flash_swap/currency_pairs` | -| [submitFlashSwapOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1802) | :closed_lock_with_key: | POST | `/flash_swap/orders` | -| [getFlashSwapOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1814) | :closed_lock_with_key: | GET | `/flash_swap/orders` | -| [getFlashSwapOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1826) | :closed_lock_with_key: | GET | `/flash_swap/orders/{order_id}` | -| [submitFlashSwapOrderPreview()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1836) | :closed_lock_with_key: | POST | `/flash_swap/orders/preview` | -| [getFuturesContracts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1853) | | GET | `/futures/{settle}/contracts` | -| [getFuturesContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1868) | | GET | `/futures/{settle}/contracts/{contract}` | -| [getFuturesOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1883) | | GET | `/futures/{settle}/order_book` | -| [getFuturesTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1896) | | GET | `/futures/{settle}/trades` | -| [getFuturesCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1911) | | GET | `/futures/{settle}/candlesticks` | -| [getPremiumIndexKLines()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1924) | | GET | `/futures/{settle}/premium_index` | -| [getFuturesTickers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1937) | | GET | `/futures/{settle}/tickers` | -| [getFundingRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1954) | | GET | `/futures/{settle}/funding_rate` | -| [getFuturesInsuranceBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1973) | | GET | `/futures/{settle}/insurance` | -| [getFuturesStats()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1992) | | GET | `/futures/{settle}/contract_stats` | -| [getIndexConstituents()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2003) | | GET | `/futures/{settle}/index_constituents/{index}` | -| [getLiquidationHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2020) | | GET | `/futures/{settle}/liq_orders` | -| [getRiskLimitTiers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2037) | | GET | `/futures/{settle}/risk_limit_tiers` | -| [getFuturesAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2048) | :closed_lock_with_key: | GET | `/futures/{settle}/accounts` | -| [getFuturesAccountBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2062) | :closed_lock_with_key: | GET | `/futures/{settle}/account_book` | -| [getFuturesPositions()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2075) | :closed_lock_with_key: | GET | `/futures/{settle}/positions` | -| [getFuturesPosition()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2087) | :closed_lock_with_key: | GET | `/futures/{settle}/positions/{contract}` | -| [updateFuturesMargin()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2102) | :closed_lock_with_key: | POST | `/futures/{settle}/positions/{contract}/margin` | -| [updateFuturesLeverage()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2119) | :closed_lock_with_key: | POST | `/futures/{settle}/positions/{contract}/leverage` | -| [updatePositionRiskLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2138) | :closed_lock_with_key: | POST | `/futures/{settle}/positions/{contract}/risk_limit` | -| [updateFuturesDualMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2158) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_mode` | -| [getDualModePosition()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2174) | :closed_lock_with_key: | GET | `/futures/{settle}/dual_comp/positions/{contract}` | -| [updateDualModePositionMargin()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2189) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_comp/positions/{contract}/margin` | -| [updateDualModePositionLeverage()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2205) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_comp/positions/{contract}/leverage` | -| [updateDualModePositionRiskLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2221) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_comp/positions/{contract}/risk_limit` | -| [submitFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2246) | :closed_lock_with_key: | POST | `/futures/{settle}/orders` | -| [getFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2260) | :closed_lock_with_key: | GET | `/futures/{settle}/orders` | -| [cancelAllFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2273) | :closed_lock_with_key: | DELETE | `/futures/{settle}/orders` | -| [getFuturesOrdersByTimeRange()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2288) | :closed_lock_with_key: | GET | `/futures/{settle}/orders_timerange` | -| [submitFuturesBatchOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2309) | :closed_lock_with_key: | POST | `/futures/{settle}/batch_orders` | -| [getFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2328) | :closed_lock_with_key: | GET | `/futures/{settle}/orders/{order_id}` | -| [cancelFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2343) | :closed_lock_with_key: | DELETE | `/futures/{settle}/orders/{order_id}` | -| [updateFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2358) | :closed_lock_with_key: | PUT | `/futures/{settle}/orders/{order_id}` | -| [getFuturesTradingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2373) | :closed_lock_with_key: | GET | `/futures/{settle}/my_trades` | -| [getFuturesTradingHistoryByTimeRange()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2388) | :closed_lock_with_key: | GET | `/futures/{settle}/my_trades_timerange` | -| [getFuturesPositionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2401) | :closed_lock_with_key: | GET | `/futures/{settle}/position_close` | -| [getFuturesLiquidationHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2414) | :closed_lock_with_key: | GET | `/futures/{settle}/liquidates` | -| [getFuturesAutoDeleveragingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2427) | :closed_lock_with_key: | GET | `/futures/{settle}/auto_deleverages` | -| [setFuturesOrderCancelCountdown()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2444) | :closed_lock_with_key: | POST | `/futures/{settle}/countdown_cancel_all` | -| [getFuturesUserTradingFees()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2461) | :closed_lock_with_key: | GET | `/futures/{settle}/fee` | -| [batchCancelFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2477) | :closed_lock_with_key: | POST | `/futures/{settle}/batch_cancel_orders` | -| [batchUpdateFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2496) | :closed_lock_with_key: | POST | `/futures/{settle}/batch_amend_orders` | -| [submitFuturesPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2511) | :closed_lock_with_key: | POST | `/futures/{settle}/price_orders` | -| [getFuturesAutoOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2524) | :closed_lock_with_key: | GET | `/futures/{settle}/price_orders` | -| [cancelAllOpenFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2537) | :closed_lock_with_key: | DELETE | `/futures/{settle}/price_orders` | -| [getFuturesPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2553) | :closed_lock_with_key: | GET | `/futures/{settle}/price_orders/{order_id}` | -| [cancelFuturesPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2568) | :closed_lock_with_key: | DELETE | `/futures/{settle}/price_orders/{order_id}` | -| [getAllDeliveryContracts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2588) | | GET | `/delivery/{settle}/contracts` | -| [getDeliveryContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2600) | | GET | `/delivery/{settle}/contracts/{contract}` | -| [getDeliveryOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2615) | | GET | `/delivery/{settle}/order_book` | -| [getDeliveryTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2628) | | GET | `/delivery/{settle}/trades` | -| [getDeliveryCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2642) | | GET | `/delivery/{settle}/candlesticks` | -| [getDeliveryTickers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2653) | | GET | `/delivery/{settle}/tickers` | -| [getDeliveryInsuranceBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2670) | | GET | `/delivery/{settle}/insurance` | -| [getDeliveryAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2689) | :closed_lock_with_key: | GET | `/delivery/{settle}/accounts` | -| [getDeliveryBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2700) | :closed_lock_with_key: | GET | `/delivery/{settle}/account_book` | -| [getDeliveryPositions()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2711) | :closed_lock_with_key: | GET | `/delivery/{settle}/positions` | -| [getDeliveryPosition()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2721) | :closed_lock_with_key: | GET | `/delivery/{settle}/positions/{contract}` | -| [updateDeliveryMargin()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2736) | :closed_lock_with_key: | POST | `/delivery/{settle}/positions/{contract}/margin` | -| [updateDeliveryLeverage()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2754) | :closed_lock_with_key: | POST | `/delivery/{settle}/positions/{contract}/leverage` | -| [updateDeliveryRiskLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2772) | :closed_lock_with_key: | POST | `/delivery/{settle}/positions/{contract}/risk_limit` | -| [submitDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2792) | :closed_lock_with_key: | POST | `/delivery/{settle}/orders` | -| [getDeliveryOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2807) | :closed_lock_with_key: | GET | `/delivery/{settle}/orders` | -| [cancelAllDeliveryOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2819) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/orders` | -| [getDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2838) | :closed_lock_with_key: | GET | `/delivery/{settle}/orders/{order_id}` | -| [cancelDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2853) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/orders/{order_id}` | -| [getDeliveryTradingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2868) | :closed_lock_with_key: | GET | `/delivery/{settle}/my_trades` | -| [getDeliveryClosedPositions()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2881) | :closed_lock_with_key: | GET | `/delivery/{settle}/position_close` | -| [getDeliveryLiquidationHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2894) | :closed_lock_with_key: | GET | `/delivery/{settle}/liquidates` | -| [getDeliverySettlementHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2907) | :closed_lock_with_key: | GET | `/delivery/{settle}/settlements` | -| [submitDeliveryTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2920) | :closed_lock_with_key: | POST | `/delivery/{settle}/price_orders` | -| [getDeliveryAutoOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2935) | :closed_lock_with_key: | GET | `/delivery/{settle}/price_orders` | -| [cancelAllOpenDeliveryOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2948) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/price_orders` | -| [getDeliveryTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2964) | :closed_lock_with_key: | GET | `/delivery/{settle}/price_orders/{order_id}` | -| [cancelTriggeredDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2979) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/price_orders/{order_id}` | -| [getOptionsUnderlyings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2998) | | GET | `/options/underlyings` | -| [getOptionsExpirationTimes()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3008) | | GET | `/options/expirations` | -| [getOptionsContracts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3018) | | GET | `/options/contracts` | -| [getOptionsContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3031) | | GET | `/options/contracts/{contract}` | -| [getOptionsSettlementHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3041) | | GET | `/options/settlements` | -| [getOptionsContractSettlement()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3053) | | GET | `/options/settlements/{contract}` | -| [getOptionsMySettlements()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3068) | :closed_lock_with_key: | GET | `/options/my_settlements` | -| [getOptionsOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3082) | | GET | `/options/order_book` | -| [getOptionsTickers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3094) | | GET | `/options/tickers` | -| [getOptionsUnderlyingTicker()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3108) | | GET | `/options/underlying/tickers/{underlying}` | -| [getOptionsCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3122) | | GET | `/options/candlesticks` | -| [getOptionsUnderlyingCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3132) | | GET | `/options/underlying/candlesticks` | -| [getOptionsTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3144) | | GET | `/options/trades` | -| [getOptionsAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3153) | :closed_lock_with_key: | GET | `/options/accounts` | -| [getOptionsAccountChange()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3163) | :closed_lock_with_key: | GET | `/options/account_book` | -| [getOptionsPositionsUnderlying()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3175) | :closed_lock_with_key: | GET | `/options/positions` | -| [getOptionsPositionContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3187) | :closed_lock_with_key: | GET | `/options/positions/{contract}` | -| [getOptionsLiquidation()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3199) | :closed_lock_with_key: | GET | `/options/position_close` | -| [submitOptionsOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3212) | :closed_lock_with_key: | POST | `/options/orders` | -| [getOptionsOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3224) | :closed_lock_with_key: | GET | `/options/orders` | -| [cancelAllOpenOptionsOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3236) | :closed_lock_with_key: | DELETE | `/options/orders` | -| [getOptionsOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3250) | :closed_lock_with_key: | GET | `/options/orders/{order_id}` | -| [cancelOptionsOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3262) | :closed_lock_with_key: | DELETE | `/options/orders/{order_id}` | -| [submitOptionsCountdownCancel()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3281) | :closed_lock_with_key: | POST | `/options/countdown_cancel_all` | -| [getOptionsPersonalHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3297) | :closed_lock_with_key: | GET | `/options/my_trades` | -| [setOptionsMMPSettings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3309) | :closed_lock_with_key: | POST | `/options/mmp` | -| [getOptionsMMPSettings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3321) | :closed_lock_with_key: | GET | `/options/mmp` | -| [resetOptionsMMPSettings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3333) | :closed_lock_with_key: | POST | `/options/mmp/reset` | -| [getLendingCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3349) | | GET | `/earn/uni/currencies` | -| [getLendingCurrency()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3359) | | GET | `/earn/uni/currencies/{currency}` | -| [submitLendOrRedeemOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3369) | :closed_lock_with_key: | POST | `/earn/uni/lends` | -| [getLendingOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3379) | :closed_lock_with_key: | GET | `/earn/uni/lends` | -| [updateLendingOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3391) | :closed_lock_with_key: | PATCH | `/earn/uni/lends` | -| [getLendingRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3404) | :closed_lock_with_key: | GET | `/earn/uni/lend_records` | -| [getLendingTotalInterest()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3417) | :closed_lock_with_key: | GET | `/earn/uni/interests/{currency}` | -| [getLendingInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3430) | :closed_lock_with_key: | GET | `/earn/uni/interest_records` | -| [updateInterestReinvestment()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3442) | :closed_lock_with_key: | PUT | `/earn/uni/interest_reinvest` | -| [getLendingInterestStatus()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3458) | :closed_lock_with_key: | GET | `/earn/uni/interest_status/{currency}` | -| [submitLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3476) | :closed_lock_with_key: | POST | `/loan/collateral/orders` | -| [getLoanOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3486) | :closed_lock_with_key: | GET | `/loan/collateral/orders` | -| [getLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3495) | :closed_lock_with_key: | GET | `/loan/collateral/orders/{order_id}` | -| [submitLoanRepay()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3508) | :closed_lock_with_key: | POST | `/loan/collateral/repay` | -| [getLoanRepaymentHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3525) | :closed_lock_with_key: | GET | `/loan/collateral/repay_records` | -| [updateLoanCollateral()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3537) | :closed_lock_with_key: | POST | `/loan/collateral/collaterals` | -| [getLoanCollateralRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3547) | :closed_lock_with_key: | GET | `/loan/collateral/collaterals` | -| [getLoanTotalAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3561) | :closed_lock_with_key: | GET | `/loan/collateral/total_amount` | -| [getLoanCollateralizationRatio()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3574) | :closed_lock_with_key: | GET | `/loan/collateral/ltv` | -| [getLoanSupportedCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3590) | | GET | `/loan/collateral/currencies` | -| [submitMultiLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3610) | :closed_lock_with_key: | POST | `/loan/multi_collateral/orders` | -| [getMultiLoanOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3622) | :closed_lock_with_key: | GET | `/loan/multi_collateral/orders` | -| [getMultiLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3634) | :closed_lock_with_key: | GET | `/loan/multi_collateral/orders/{order_id}` | -| [repayMultiLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3644) | :closed_lock_with_key: | POST | `/loan/multi_collateral/repay` | -| [getMultiLoanRepayRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3654) | :closed_lock_with_key: | GET | `/loan/multi_collateral/repay` | -| [updateMultiLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3666) | :closed_lock_with_key: | POST | `/loan/multi_collateral/mortgage` | -| [getMultiLoanAdjustmentRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3678) | :closed_lock_with_key: | GET | `/loan/multi_collateral/mortgage` | -| [getMultiLoanCurrencyQuota()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3690) | :closed_lock_with_key: | GET | `/loan/multi_collateral/currency_quota` | -| [getMultiLoanSupportedCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3702) | | GET | `/loan/multi_collateral/currencies` | -| [getMultiLoanRatio()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3711) | | GET | `/loan/multi_collateral/ltv` | -| [getMultiLoanFixedRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3720) | | GET | `/loan/multi_collateral/fixed_rate` | -| [submitEth2Swap()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3735) | :closed_lock_with_key: | POST | `/earn/staking/eth2/swap` | -| [getDualInvestmentProducts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3744) | | GET | `/earn/dual/investment_plan` | -| [getDualInvestmentOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3753) | :closed_lock_with_key: | GET | `/earn/dual/orders` | -| [submitDualInvestmentOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3762) | :closed_lock_with_key: | POST | `/earn/dual/orders` | -| [getStructuredProducts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3775) | | GET | `/earn/structured/products` | -| [getStructuredProductOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3787) | :closed_lock_with_key: | GET | `/earn/structured/orders` | -| [submitStructuredProductOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3798) | :closed_lock_with_key: | POST | `/earn/structured/orders` | -| [getAccountDetail()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3815) | :closed_lock_with_key: | GET | `/account/detail` | -| [getAccountRateLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3824) | :closed_lock_with_key: | GET | `/account/rate_limit` | -| [createStpGroup()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3834) | :closed_lock_with_key: | POST | `/account/stp_groups` | -| [getStpGroups()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3844) | :closed_lock_with_key: | GET | `/account/stp_groups` | -| [getStpGroupUsers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3854) | :closed_lock_with_key: | GET | `/account/stp_groups/{stp_id}/users` | -| [addUsersToStpGroup()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3864) | :closed_lock_with_key: | POST | `/account/stp_groups/{stp_id}/users` | -| [deleteUserFromStpGroup()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3880) | :closed_lock_with_key: | DELETE | `/account/stp_groups/{stp_id}/users` | -| [setGTDeduction()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3898) | :closed_lock_with_key: | POST | `/account/debit_fee` | -| [getGTDeduction()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3909) | :closed_lock_with_key: | GET | `/account/debit_fee` | -| [getAgencyTransactionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3925) | :closed_lock_with_key: | GET | `/rebate/agency/transaction_history` | -| [getAgencyCommissionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3938) | :closed_lock_with_key: | GET | `/rebate/agency/commission_history` | -| [getPartnerTransactionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3952) | :closed_lock_with_key: | GET | `/rebate/partner/transaction_history` | -| [getPartnerCommissionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3967) | :closed_lock_with_key: | GET | `/rebate/partner/commission_history` | -| [getPartnerSubordinateList()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3990) | :closed_lock_with_key: | GET | `/rebate/partner/sub_list` | -| [getBrokerCommissionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4004) | :closed_lock_with_key: | GET | `/rebate/broker/commission_history` | -| [getBrokerTransactionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4017) | :closed_lock_with_key: | GET | `/rebate/broker/transaction_history` | -| [getUserRebateInfo()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4026) | :closed_lock_with_key: | GET | `/rebate/user/info` | \ No newline at end of file +| [getSystemMaintenanceStatus()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L405) | | GET | `/v1/public/system_info` | +| [submitWithdrawal()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L422) | :closed_lock_with_key: | POST | `/withdrawals` | +| [submitSpotMainAccountTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L436) | :closed_lock_with_key: | POST | `/withdrawals/push` | +| [cancelWithdrawal()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L452) | :closed_lock_with_key: | DELETE | `/withdrawals/{withdrawal_id}` | +| [getCurrencyChains()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L469) | | GET | `/wallet/currency_chains` | +| [createDepositAddress()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L479) | :closed_lock_with_key: | GET | `/wallet/deposit_address` | +| [getWithdrawalRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L493) | :closed_lock_with_key: | GET | `/wallet/withdrawals` | +| [getDepositRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L507) | :closed_lock_with_key: | GET | `/wallet/deposits` | +| [submitTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L526) | :closed_lock_with_key: | POST | `/wallet/transfers` | +| [submitMainSubTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L538) | :closed_lock_with_key: | POST | `/wallet/sub_account_transfers` | +| [getMainSubTransfers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L552) | :closed_lock_with_key: | GET | `/wallet/sub_account_transfers` | +| [submitSubToSubTransfer()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L566) | :closed_lock_with_key: | POST | `/wallet/sub_account_to_sub_account` | +| [getWithdrawalStatus()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L578) | :closed_lock_with_key: | GET | `/wallet/withdraw_status` | +| [getSubBalance()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L593) | :closed_lock_with_key: | GET | `/wallet/sub_account_balances` | +| [getSubMarginBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L608) | :closed_lock_with_key: | GET | `/wallet/sub_account_margin_balances` | +| [getSubFuturesBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L620) | :closed_lock_with_key: | GET | `/wallet/sub_account_futures_balances` | +| [getSubCrossMarginBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L633) | :closed_lock_with_key: | GET | `/wallet/sub_account_cross_margin_balances` | +| [getSavedAddresses()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L645) | :closed_lock_with_key: | GET | `/wallet/saved_address` | +| [getTradingFees()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L655) | :closed_lock_with_key: | GET | `/wallet/fee` | +| [getBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L676) | :closed_lock_with_key: | GET | `/wallet/total_balance` | +| [getSmallBalances()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L685) | :closed_lock_with_key: | GET | `/wallet/small_balance` | +| [convertSmallBalance()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L695) | :closed_lock_with_key: | POST | `/wallet/small_balance` | +| [getSmallBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L708) | :closed_lock_with_key: | GET | `/wallet/small_balance_history` | +| [getPushOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L720) | :closed_lock_with_key: | GET | `/wallet/push` | +| [createSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L735) | :closed_lock_with_key: | POST | `/sub_accounts` | +| [getSubAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L746) | :closed_lock_with_key: | GET | `/sub_accounts` | +| [getSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L756) | :closed_lock_with_key: | GET | `/sub_accounts/{user_id}` | +| [createSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L766) | :closed_lock_with_key: | POST | `/sub_accounts/{user_id}/keys` | +| [getSubAccountApiKeys()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L778) | :closed_lock_with_key: | GET | `/sub_accounts/{user_id}/keys` | +| [updateSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L790) | :closed_lock_with_key: | PUT | `/sub_accounts/{user_id}/keys/{key}` | +| [deleteSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L801) | :closed_lock_with_key: | DELETE | `/sub_accounts/{user_id}/keys/{key}` | +| [getSubAccountApiKey()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L816) | :closed_lock_with_key: | GET | `/sub_accounts/{user_id}/keys/{key}` | +| [lockSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L831) | :closed_lock_with_key: | POST | `/sub_accounts/{user_id}/lock` | +| [unlockSubAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L841) | :closed_lock_with_key: | POST | `/sub_accounts/{user_id}/unlock` | +| [getSubAccountMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L855) | :closed_lock_with_key: | GET | `/sub_accounts/unified_mode` | +| [getUnifiedAccountInfo()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L872) | :closed_lock_with_key: | GET | `/unified/accounts` | +| [getUnifiedMaxBorrow()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L887) | :closed_lock_with_key: | GET | `/unified/borrowable` | +| [getUnifiedMaxTransferable()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L903) | :closed_lock_with_key: | GET | `/unified/transferable` | +| [submitUnifiedBorrowOrRepay()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L922) | :closed_lock_with_key: | POST | `/unified/loans` | +| [getUnifiedLoans()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L934) | :closed_lock_with_key: | GET | `/unified/loans` | +| [getUnifiedLoanRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L944) | :closed_lock_with_key: | GET | `/unified/loan_records` | +| [getUnifiedInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L956) | :closed_lock_with_key: | GET | `/unified/interest_records` | +| [getUnifiedRiskUnitDetails()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L967) | :closed_lock_with_key: | GET | `/unified/risk_units` | +| [setUnifiedAccountMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L979) | :closed_lock_with_key: | PUT | `/unified/unified_mode` | +| [getUnifiedAccountMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L988) | :closed_lock_with_key: | GET | `/unified/unified_mode` | +| [getUnifiedEstimateRate()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1000) | :closed_lock_with_key: | GET | `/unified/estimate_rate` | +| [getUnifiedCurrencyDiscountTiers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1011) | | GET | `/unified/currency_discount_tiers` | +| [getLoanMarginTiers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1023) | | GET | `/unified/loan_margin_tiers` | +| [portfolioMarginCalculate()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1040) | | POST | `/unified/portfolio_calculator` | +| [getSpotCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1062) | | GET | `/spot/currencies` | +| [getSpotCurrency()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1072) | | GET | `/spot/currencies/{currency}` | +| [getSpotCurrencyPairs()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1081) | | GET | `/spot/currency_pairs` | +| [getSpotCurrencyPair()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1091) | | GET | `/spot/currency_pairs/{currency_pair}` | +| [getSpotTicker()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1105) | | GET | `/spot/tickers` | +| [getSpotOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1120) | | GET | `/spot/order_book` | +| [getSpotTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1133) | | GET | `/spot/trades` | +| [getSpotCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1145) | | GET | `/spot/candlesticks` | +| [getSpotFeeRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1157) | :closed_lock_with_key: | GET | `/spot/fee` | +| [getSpotBatchFeeRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1166) | :closed_lock_with_key: | GET | `/spot/batch_fee` | +| [getSpotAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1178) | :closed_lock_with_key: | GET | `/spot/accounts` | +| [getSpotAccountBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1190) | :closed_lock_with_key: | GET | `/spot/account_book` | +| [submitSpotBatchOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1207) | :closed_lock_with_key: | POST | `/spot/batch_orders` | +| [getSpotOpenOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1223) | :closed_lock_with_key: | GET | `/spot/open_orders` | +| [submitSpotClosePosCrossDisabled()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1239) | :closed_lock_with_key: | POST | `/spot/cross_liquidate_orders` | +| [submitSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1253) | :closed_lock_with_key: | POST | `/spot/orders` | +| [getSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1265) | :closed_lock_with_key: | GET | `/spot/orders` | +| [cancelSpotOpenOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1278) | :closed_lock_with_key: | DELETE | `/spot/orders` | +| [batchCancelSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1295) | :closed_lock_with_key: | POST | `/spot/cancel_batch_orders` | +| [getSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1309) | :closed_lock_with_key: | GET | `/spot/orders/{order_id}` | +| [updateSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1324) | :closed_lock_with_key: | PATCH | `/spot/orders/{order_id}` | +| [cancelSpotOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1346) | :closed_lock_with_key: | DELETE | `/spot/orders/{order_id}` | +| [getSpotTradingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1363) | :closed_lock_with_key: | GET | `/spot/my_trades` | +| [submitSpotCountdownOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1392) | :closed_lock_with_key: | POST | `/spot/countdown_cancel_all` | +| [batchUpdateSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1409) | :closed_lock_with_key: | POST | `/spot/amend_batch_orders` | +| [submitSpotPriceTriggerOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1423) | :closed_lock_with_key: | POST | `/spot/price_orders` | +| [getSpotAutoOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1435) | :closed_lock_with_key: | GET | `/spot/price_orders` | +| [cancelAllOpenSpotOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1447) | :closed_lock_with_key: | DELETE | `/spot/price_orders` | +| [getPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1460) | :closed_lock_with_key: | GET | `/spot/price_orders/{order_id}` | +| [cancelSpotTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1472) | :closed_lock_with_key: | DELETE | `/spot/price_orders/{order_id}` | +| [getMarginAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1489) | :closed_lock_with_key: | GET | `/margin/accounts` | +| [getMarginBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1503) | :closed_lock_with_key: | GET | `/margin/account_book` | +| [getFundingAccounts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1521) | :closed_lock_with_key: | GET | `/margin/funding_accounts` | +| [updateAutoRepaymentSetting()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1539) | :closed_lock_with_key: | POST | `/margin/auto_repay` | +| [getAutoRepaymentSetting()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1550) | :closed_lock_with_key: | GET | `/margin/auto_repay` | +| [getMarginTransferableAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1564) | :closed_lock_with_key: | GET | `/margin/transferable` | +| [getCrossMarginCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1580) | | GET | `/margin/cross/currencies` | +| [getCrossMarginCurrency()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1590) | | GET | `/margin/cross/currencies/{currency}` | +| [getCrossMarginAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1601) | :closed_lock_with_key: | GET | `/margin/cross/accounts` | +| [getCrossMarginAccountHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1613) | :closed_lock_with_key: | GET | `/margin/cross/account_book` | +| [submitCrossMarginBorrowLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1627) | :closed_lock_with_key: | POST | `/margin/cross/loans` | +| [getCrossMarginBorrowHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1641) | :closed_lock_with_key: | GET | `/margin/cross/loans` | +| [getCrossMarginBorrowLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1653) | :closed_lock_with_key: | GET | `/margin/cross/loans/{loan_id}` | +| [submitCrossMarginRepayment()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1666) | :closed_lock_with_key: | POST | `/margin/cross/repayments` | +| [getCrossMarginRepayments()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1681) | :closed_lock_with_key: | GET | `/margin/cross/repayments` | +| [getCrossMarginInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1693) | :closed_lock_with_key: | GET | `/margin/cross/interest_records` | +| [getCrossMarginTransferableAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1708) | :closed_lock_with_key: | GET | `/margin/cross/transferable` | +| [getEstimatedInterestRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1723) | :closed_lock_with_key: | GET | `/margin/cross/estimate_rate` | +| [getCrossMarginBorrowableAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1736) | :closed_lock_with_key: | GET | `/margin/cross/borrowable` | +| [getLendingMarkets()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1752) | | GET | `/margin/uni/currency_pairs` | +| [getLendingMarket()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1767) | | GET | `/margin/uni/currency_pairs/{currency_pair}` | +| [getEstimatedInterestRate()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1779) | :closed_lock_with_key: | GET | `/margin/uni/estimate_rate` | +| [submitMarginUNIBorrowOrRepay()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1789) | :closed_lock_with_key: | POST | `/margin/uni/loans` | +| [getMarginUNILoans()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1805) | :closed_lock_with_key: | GET | `/margin/uni/loans` | +| [getMarginUNILoanRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1815) | :closed_lock_with_key: | GET | `/margin/uni/loan_records` | +| [getMarginUNIInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1827) | :closed_lock_with_key: | GET | `/margin/uni/interest_records` | +| [getMarginUNIMaxBorrow()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1839) | :closed_lock_with_key: | GET | `/margin/uni/borrowable` | +| [getFlashSwapCurrencyPairs()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1855) | | GET | `/flash_swap/currency_pairs` | +| [submitFlashSwapOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1871) | :closed_lock_with_key: | POST | `/flash_swap/orders` | +| [getFlashSwapOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1883) | :closed_lock_with_key: | GET | `/flash_swap/orders` | +| [getFlashSwapOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1895) | :closed_lock_with_key: | GET | `/flash_swap/orders/{order_id}` | +| [submitFlashSwapOrderPreview()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1905) | :closed_lock_with_key: | POST | `/flash_swap/orders/preview` | +| [getFuturesContracts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1922) | | GET | `/futures/{settle}/contracts` | +| [getFuturesContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1937) | | GET | `/futures/{settle}/contracts/{contract}` | +| [getFuturesOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1952) | | GET | `/futures/{settle}/order_book` | +| [getFuturesTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1965) | | GET | `/futures/{settle}/trades` | +| [getFuturesCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1980) | | GET | `/futures/{settle}/candlesticks` | +| [getPremiumIndexKLines()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1993) | | GET | `/futures/{settle}/premium_index` | +| [getFuturesTickers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2006) | | GET | `/futures/{settle}/tickers` | +| [getFundingRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2023) | | GET | `/futures/{settle}/funding_rate` | +| [getFuturesInsuranceBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2042) | | GET | `/futures/{settle}/insurance` | +| [getFuturesStats()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2061) | | GET | `/futures/{settle}/contract_stats` | +| [getIndexConstituents()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2072) | | GET | `/futures/{settle}/index_constituents/{index}` | +| [getLiquidationHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2089) | | GET | `/futures/{settle}/liq_orders` | +| [getRiskLimitTiers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2106) | | GET | `/futures/{settle}/risk_limit_tiers` | +| [getFuturesAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2117) | :closed_lock_with_key: | GET | `/futures/{settle}/accounts` | +| [getFuturesAccountBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2131) | :closed_lock_with_key: | GET | `/futures/{settle}/account_book` | +| [getFuturesPositions()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2144) | :closed_lock_with_key: | GET | `/futures/{settle}/positions` | +| [getFuturesPosition()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2156) | :closed_lock_with_key: | GET | `/futures/{settle}/positions/{contract}` | +| [updateFuturesMargin()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2171) | :closed_lock_with_key: | POST | `/futures/{settle}/positions/{contract}/margin` | +| [updateFuturesLeverage()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2188) | :closed_lock_with_key: | POST | `/futures/{settle}/positions/{contract}/leverage` | +| [updatePositionRiskLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2207) | :closed_lock_with_key: | POST | `/futures/{settle}/positions/{contract}/risk_limit` | +| [updateFuturesDualMode()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2227) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_mode` | +| [getDualModePosition()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2243) | :closed_lock_with_key: | GET | `/futures/{settle}/dual_comp/positions/{contract}` | +| [updateDualModePositionMargin()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2258) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_comp/positions/{contract}/margin` | +| [updateDualModePositionLeverage()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2274) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_comp/positions/{contract}/leverage` | +| [updateDualModePositionRiskLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2290) | :closed_lock_with_key: | POST | `/futures/{settle}/dual_comp/positions/{contract}/risk_limit` | +| [submitFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2315) | :closed_lock_with_key: | POST | `/futures/{settle}/orders` | +| [getFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2329) | :closed_lock_with_key: | GET | `/futures/{settle}/orders` | +| [cancelAllFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2342) | :closed_lock_with_key: | DELETE | `/futures/{settle}/orders` | +| [getFuturesOrdersByTimeRange()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2357) | :closed_lock_with_key: | GET | `/futures/{settle}/orders_timerange` | +| [submitFuturesBatchOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2378) | :closed_lock_with_key: | POST | `/futures/{settle}/batch_orders` | +| [getFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2397) | :closed_lock_with_key: | GET | `/futures/{settle}/orders/{order_id}` | +| [cancelFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2412) | :closed_lock_with_key: | DELETE | `/futures/{settle}/orders/{order_id}` | +| [updateFuturesOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2427) | :closed_lock_with_key: | PUT | `/futures/{settle}/orders/{order_id}` | +| [getFuturesTradingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2442) | :closed_lock_with_key: | GET | `/futures/{settle}/my_trades` | +| [getFuturesTradingHistoryByTimeRange()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2457) | :closed_lock_with_key: | GET | `/futures/{settle}/my_trades_timerange` | +| [getFuturesPositionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2470) | :closed_lock_with_key: | GET | `/futures/{settle}/position_close` | +| [getFuturesLiquidationHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2483) | :closed_lock_with_key: | GET | `/futures/{settle}/liquidates` | +| [getFuturesAutoDeleveragingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2496) | :closed_lock_with_key: | GET | `/futures/{settle}/auto_deleverages` | +| [setFuturesOrderCancelCountdown()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2513) | :closed_lock_with_key: | POST | `/futures/{settle}/countdown_cancel_all` | +| [getFuturesUserTradingFees()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2530) | :closed_lock_with_key: | GET | `/futures/{settle}/fee` | +| [batchCancelFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2546) | :closed_lock_with_key: | POST | `/futures/{settle}/batch_cancel_orders` | +| [batchUpdateFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2565) | :closed_lock_with_key: | POST | `/futures/{settle}/batch_amend_orders` | +| [submitFuturesPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2580) | :closed_lock_with_key: | POST | `/futures/{settle}/price_orders` | +| [getFuturesAutoOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2593) | :closed_lock_with_key: | GET | `/futures/{settle}/price_orders` | +| [cancelAllOpenFuturesOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2606) | :closed_lock_with_key: | DELETE | `/futures/{settle}/price_orders` | +| [getFuturesPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2622) | :closed_lock_with_key: | GET | `/futures/{settle}/price_orders/{order_id}` | +| [cancelFuturesPriceTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2637) | :closed_lock_with_key: | DELETE | `/futures/{settle}/price_orders/{order_id}` | +| [getAllDeliveryContracts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2657) | | GET | `/delivery/{settle}/contracts` | +| [getDeliveryContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2669) | | GET | `/delivery/{settle}/contracts/{contract}` | +| [getDeliveryOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2684) | | GET | `/delivery/{settle}/order_book` | +| [getDeliveryTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2697) | | GET | `/delivery/{settle}/trades` | +| [getDeliveryCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2711) | | GET | `/delivery/{settle}/candlesticks` | +| [getDeliveryTickers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2722) | | GET | `/delivery/{settle}/tickers` | +| [getDeliveryInsuranceBalanceHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2739) | | GET | `/delivery/{settle}/insurance` | +| [getDeliveryAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2758) | :closed_lock_with_key: | GET | `/delivery/{settle}/accounts` | +| [getDeliveryBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2769) | :closed_lock_with_key: | GET | `/delivery/{settle}/account_book` | +| [getDeliveryPositions()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2780) | :closed_lock_with_key: | GET | `/delivery/{settle}/positions` | +| [getDeliveryPosition()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2790) | :closed_lock_with_key: | GET | `/delivery/{settle}/positions/{contract}` | +| [updateDeliveryMargin()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2805) | :closed_lock_with_key: | POST | `/delivery/{settle}/positions/{contract}/margin` | +| [updateDeliveryLeverage()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2823) | :closed_lock_with_key: | POST | `/delivery/{settle}/positions/{contract}/leverage` | +| [updateDeliveryRiskLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2841) | :closed_lock_with_key: | POST | `/delivery/{settle}/positions/{contract}/risk_limit` | +| [submitDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2861) | :closed_lock_with_key: | POST | `/delivery/{settle}/orders` | +| [getDeliveryOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2876) | :closed_lock_with_key: | GET | `/delivery/{settle}/orders` | +| [cancelAllDeliveryOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2888) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/orders` | +| [getDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2907) | :closed_lock_with_key: | GET | `/delivery/{settle}/orders/{order_id}` | +| [cancelDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2922) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/orders/{order_id}` | +| [getDeliveryTradingHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2937) | :closed_lock_with_key: | GET | `/delivery/{settle}/my_trades` | +| [getDeliveryClosedPositions()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2950) | :closed_lock_with_key: | GET | `/delivery/{settle}/position_close` | +| [getDeliveryLiquidationHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2963) | :closed_lock_with_key: | GET | `/delivery/{settle}/liquidates` | +| [getDeliverySettlementHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2976) | :closed_lock_with_key: | GET | `/delivery/{settle}/settlements` | +| [submitDeliveryTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2989) | :closed_lock_with_key: | POST | `/delivery/{settle}/price_orders` | +| [getDeliveryAutoOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3004) | :closed_lock_with_key: | GET | `/delivery/{settle}/price_orders` | +| [cancelAllOpenDeliveryOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3017) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/price_orders` | +| [getDeliveryTriggeredOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3033) | :closed_lock_with_key: | GET | `/delivery/{settle}/price_orders/{order_id}` | +| [cancelTriggeredDeliveryOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3048) | :closed_lock_with_key: | DELETE | `/delivery/{settle}/price_orders/{order_id}` | +| [getOptionsUnderlyings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3067) | | GET | `/options/underlyings` | +| [getOptionsExpirationTimes()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3077) | | GET | `/options/expirations` | +| [getOptionsContracts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3087) | | GET | `/options/contracts` | +| [getOptionsContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3100) | | GET | `/options/contracts/{contract}` | +| [getOptionsSettlementHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3110) | | GET | `/options/settlements` | +| [getOptionsContractSettlement()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3122) | | GET | `/options/settlements/{contract}` | +| [getOptionsMySettlements()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3137) | :closed_lock_with_key: | GET | `/options/my_settlements` | +| [getOptionsOrderBook()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3151) | | GET | `/options/order_book` | +| [getOptionsTickers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3163) | | GET | `/options/tickers` | +| [getOptionsUnderlyingTicker()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3177) | | GET | `/options/underlying/tickers/{underlying}` | +| [getOptionsCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3191) | | GET | `/options/candlesticks` | +| [getOptionsUnderlyingCandles()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3201) | | GET | `/options/underlying/candlesticks` | +| [getOptionsTrades()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3213) | | GET | `/options/trades` | +| [getOptionsAccount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3222) | :closed_lock_with_key: | GET | `/options/accounts` | +| [getOptionsAccountChange()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3232) | :closed_lock_with_key: | GET | `/options/account_book` | +| [getOptionsPositionsUnderlying()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3244) | :closed_lock_with_key: | GET | `/options/positions` | +| [getOptionsPositionContract()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3256) | :closed_lock_with_key: | GET | `/options/positions/{contract}` | +| [getOptionsLiquidation()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3268) | :closed_lock_with_key: | GET | `/options/position_close` | +| [submitOptionsOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3281) | :closed_lock_with_key: | POST | `/options/orders` | +| [getOptionsOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3293) | :closed_lock_with_key: | GET | `/options/orders` | +| [cancelAllOpenOptionsOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3305) | :closed_lock_with_key: | DELETE | `/options/orders` | +| [getOptionsOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3319) | :closed_lock_with_key: | GET | `/options/orders/{order_id}` | +| [cancelOptionsOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3331) | :closed_lock_with_key: | DELETE | `/options/orders/{order_id}` | +| [submitOptionsCountdownCancel()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3350) | :closed_lock_with_key: | POST | `/options/countdown_cancel_all` | +| [getOptionsPersonalHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3366) | :closed_lock_with_key: | GET | `/options/my_trades` | +| [setOptionsMMPSettings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3378) | :closed_lock_with_key: | POST | `/options/mmp` | +| [getOptionsMMPSettings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3390) | :closed_lock_with_key: | GET | `/options/mmp` | +| [resetOptionsMMPSettings()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3402) | :closed_lock_with_key: | POST | `/options/mmp/reset` | +| [getLendingCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3418) | | GET | `/earn/uni/currencies` | +| [getLendingCurrency()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3428) | | GET | `/earn/uni/currencies/{currency}` | +| [submitLendOrRedeemOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3438) | :closed_lock_with_key: | POST | `/earn/uni/lends` | +| [getLendingOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3448) | :closed_lock_with_key: | GET | `/earn/uni/lends` | +| [updateLendingOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3460) | :closed_lock_with_key: | PATCH | `/earn/uni/lends` | +| [getLendingRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3473) | :closed_lock_with_key: | GET | `/earn/uni/lend_records` | +| [getLendingTotalInterest()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3486) | :closed_lock_with_key: | GET | `/earn/uni/interests/{currency}` | +| [getLendingInterestRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3499) | :closed_lock_with_key: | GET | `/earn/uni/interest_records` | +| [updateInterestReinvestment()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3511) | :closed_lock_with_key: | PUT | `/earn/uni/interest_reinvest` | +| [getLendingInterestStatus()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3527) | :closed_lock_with_key: | GET | `/earn/uni/interest_status/{currency}` | +| [submitLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3545) | :closed_lock_with_key: | POST | `/loan/collateral/orders` | +| [getLoanOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3555) | :closed_lock_with_key: | GET | `/loan/collateral/orders` | +| [getLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3564) | :closed_lock_with_key: | GET | `/loan/collateral/orders/{order_id}` | +| [submitLoanRepay()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3577) | :closed_lock_with_key: | POST | `/loan/collateral/repay` | +| [getLoanRepaymentHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3594) | :closed_lock_with_key: | GET | `/loan/collateral/repay_records` | +| [updateLoanCollateral()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3606) | :closed_lock_with_key: | POST | `/loan/collateral/collaterals` | +| [getLoanCollateralRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3616) | :closed_lock_with_key: | GET | `/loan/collateral/collaterals` | +| [getLoanTotalAmount()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3630) | :closed_lock_with_key: | GET | `/loan/collateral/total_amount` | +| [getLoanCollateralizationRatio()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3643) | :closed_lock_with_key: | GET | `/loan/collateral/ltv` | +| [getLoanSupportedCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3659) | | GET | `/loan/collateral/currencies` | +| [submitMultiLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3679) | :closed_lock_with_key: | POST | `/loan/multi_collateral/orders` | +| [getMultiLoanOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3691) | :closed_lock_with_key: | GET | `/loan/multi_collateral/orders` | +| [getMultiLoanOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3703) | :closed_lock_with_key: | GET | `/loan/multi_collateral/orders/{order_id}` | +| [repayMultiLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3713) | :closed_lock_with_key: | POST | `/loan/multi_collateral/repay` | +| [getMultiLoanRepayRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3723) | :closed_lock_with_key: | GET | `/loan/multi_collateral/repay` | +| [updateMultiLoan()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3735) | :closed_lock_with_key: | POST | `/loan/multi_collateral/mortgage` | +| [getMultiLoanAdjustmentRecords()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3747) | :closed_lock_with_key: | GET | `/loan/multi_collateral/mortgage` | +| [getMultiLoanCurrencyQuota()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3759) | :closed_lock_with_key: | GET | `/loan/multi_collateral/currency_quota` | +| [getMultiLoanSupportedCurrencies()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3771) | | GET | `/loan/multi_collateral/currencies` | +| [getMultiLoanRatio()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3780) | | GET | `/loan/multi_collateral/ltv` | +| [getMultiLoanFixedRates()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3789) | | GET | `/loan/multi_collateral/fixed_rate` | +| [submitEth2Swap()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3804) | :closed_lock_with_key: | POST | `/earn/staking/eth2/swap` | +| [getDualInvestmentProducts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3813) | | GET | `/earn/dual/investment_plan` | +| [getDualInvestmentOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3822) | :closed_lock_with_key: | GET | `/earn/dual/orders` | +| [submitDualInvestmentOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3831) | :closed_lock_with_key: | POST | `/earn/dual/orders` | +| [getStructuredProducts()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3844) | | GET | `/earn/structured/products` | +| [getStructuredProductOrders()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3856) | :closed_lock_with_key: | GET | `/earn/structured/orders` | +| [submitStructuredProductOrder()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3867) | :closed_lock_with_key: | POST | `/earn/structured/orders` | +| [getAccountDetail()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3884) | :closed_lock_with_key: | GET | `/account/detail` | +| [getAccountRateLimit()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3893) | :closed_lock_with_key: | GET | `/account/rate_limit` | +| [createStpGroup()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3903) | :closed_lock_with_key: | POST | `/account/stp_groups` | +| [getStpGroups()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3913) | :closed_lock_with_key: | GET | `/account/stp_groups` | +| [getStpGroupUsers()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3923) | :closed_lock_with_key: | GET | `/account/stp_groups/{stp_id}/users` | +| [addUsersToStpGroup()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3933) | :closed_lock_with_key: | POST | `/account/stp_groups/{stp_id}/users` | +| [deleteUserFromStpGroup()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3949) | :closed_lock_with_key: | DELETE | `/account/stp_groups/{stp_id}/users` | +| [setGTDeduction()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3967) | :closed_lock_with_key: | POST | `/account/debit_fee` | +| [getGTDeduction()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3978) | :closed_lock_with_key: | GET | `/account/debit_fee` | +| [getAgencyTransactionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3994) | :closed_lock_with_key: | GET | `/rebate/agency/transaction_history` | +| [getAgencyCommissionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4007) | :closed_lock_with_key: | GET | `/rebate/agency/commission_history` | +| [getPartnerTransactionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4021) | :closed_lock_with_key: | GET | `/rebate/partner/transaction_history` | +| [getPartnerCommissionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4036) | :closed_lock_with_key: | GET | `/rebate/partner/commission_history` | +| [getPartnerSubordinateList()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4059) | :closed_lock_with_key: | GET | `/rebate/partner/sub_list` | +| [getBrokerCommissionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4073) | :closed_lock_with_key: | GET | `/rebate/broker/commission_history` | +| [getBrokerTransactionHistory()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4086) | :closed_lock_with_key: | GET | `/rebate/broker/transaction_history` | +| [getUserRebateInfo()](https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4095) | :closed_lock_with_key: | GET | `/rebate/user/info` | \ No newline at end of file diff --git a/examples/apidoc/RestClient/addUsersToStpGroup.js b/examples/apidoc/RestClient/addUsersToStpGroup.js index ed3f5b7..255c180 100644 --- a/examples/apidoc/RestClient/addUsersToStpGroup.js +++ b/examples/apidoc/RestClient/addUsersToStpGroup.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/stp_groups/{stp_id}/users // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3864 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/batchCancelFuturesOrders.js b/examples/apidoc/RestClient/batchCancelFuturesOrders.js index 780faa6..28c04ff 100644 --- a/examples/apidoc/RestClient/batchCancelFuturesOrders.js +++ b/examples/apidoc/RestClient/batchCancelFuturesOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/batch_cancel_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2477 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/batchCancelSpotOrders.js b/examples/apidoc/RestClient/batchCancelSpotOrders.js index 1b0581c..06f0dfb 100644 --- a/examples/apidoc/RestClient/batchCancelSpotOrders.js +++ b/examples/apidoc/RestClient/batchCancelSpotOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/cancel_batch_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1226 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/batchUpdateFuturesOrders.js b/examples/apidoc/RestClient/batchUpdateFuturesOrders.js index 5557c92..b658da7 100644 --- a/examples/apidoc/RestClient/batchUpdateFuturesOrders.js +++ b/examples/apidoc/RestClient/batchUpdateFuturesOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/batch_amend_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2496 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/batchUpdateSpotOrders.js b/examples/apidoc/RestClient/batchUpdateSpotOrders.js index d5bde66..25e3ae1 100644 --- a/examples/apidoc/RestClient/batchUpdateSpotOrders.js +++ b/examples/apidoc/RestClient/batchUpdateSpotOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/amend_batch_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1340 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllDeliveryOrders.js b/examples/apidoc/RestClient/cancelAllDeliveryOrders.js index 5613f9c..4b983ab 100644 --- a/examples/apidoc/RestClient/cancelAllDeliveryOrders.js +++ b/examples/apidoc/RestClient/cancelAllDeliveryOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2819 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllFuturesOrders.js b/examples/apidoc/RestClient/cancelAllFuturesOrders.js index 4762774..62b0126 100644 --- a/examples/apidoc/RestClient/cancelAllFuturesOrders.js +++ b/examples/apidoc/RestClient/cancelAllFuturesOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2273 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllOpenDeliveryOrders.js b/examples/apidoc/RestClient/cancelAllOpenDeliveryOrders.js index 9b34e50..7af0cc9 100644 --- a/examples/apidoc/RestClient/cancelAllOpenDeliveryOrders.js +++ b/examples/apidoc/RestClient/cancelAllOpenDeliveryOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/price_orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2948 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllOpenFuturesOrders.js b/examples/apidoc/RestClient/cancelAllOpenFuturesOrders.js index e4ad82f..2412605 100644 --- a/examples/apidoc/RestClient/cancelAllOpenFuturesOrders.js +++ b/examples/apidoc/RestClient/cancelAllOpenFuturesOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/price_orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2537 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllOpenOptionsOrders.js b/examples/apidoc/RestClient/cancelAllOpenOptionsOrders.js index c515a82..ffffd43 100644 --- a/examples/apidoc/RestClient/cancelAllOpenOptionsOrders.js +++ b/examples/apidoc/RestClient/cancelAllOpenOptionsOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3236 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelAllOpenSpotOrders.js b/examples/apidoc/RestClient/cancelAllOpenSpotOrders.js index 10983c3..c09ab40 100644 --- a/examples/apidoc/RestClient/cancelAllOpenSpotOrders.js +++ b/examples/apidoc/RestClient/cancelAllOpenSpotOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/price_orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1378 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelDeliveryOrder.js b/examples/apidoc/RestClient/cancelDeliveryOrder.js index 5d040fb..de078fd 100644 --- a/examples/apidoc/RestClient/cancelDeliveryOrder.js +++ b/examples/apidoc/RestClient/cancelDeliveryOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2853 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelFuturesOrder.js b/examples/apidoc/RestClient/cancelFuturesOrder.js index 6ada5a1..2951a20 100644 --- a/examples/apidoc/RestClient/cancelFuturesOrder.js +++ b/examples/apidoc/RestClient/cancelFuturesOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2343 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelFuturesPriceTriggeredOrder.js b/examples/apidoc/RestClient/cancelFuturesPriceTriggeredOrder.js index 873bade..5220377 100644 --- a/examples/apidoc/RestClient/cancelFuturesPriceTriggeredOrder.js +++ b/examples/apidoc/RestClient/cancelFuturesPriceTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/price_orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2568 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelOptionsOrder.js b/examples/apidoc/RestClient/cancelOptionsOrder.js index 76a4d99..dc30c71 100644 --- a/examples/apidoc/RestClient/cancelOptionsOrder.js +++ b/examples/apidoc/RestClient/cancelOptionsOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3262 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelSpotOpenOrders.js b/examples/apidoc/RestClient/cancelSpotOpenOrders.js index ab37071..5bb756d 100644 --- a/examples/apidoc/RestClient/cancelSpotOpenOrders.js +++ b/examples/apidoc/RestClient/cancelSpotOpenOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/orders // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1209 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelSpotOrder.js b/examples/apidoc/RestClient/cancelSpotOrder.js index 3271ec1..6a96503 100644 --- a/examples/apidoc/RestClient/cancelSpotOrder.js +++ b/examples/apidoc/RestClient/cancelSpotOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1277 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelSpotTriggeredOrder.js b/examples/apidoc/RestClient/cancelSpotTriggeredOrder.js index 7c5cc48..6ac5e12 100644 --- a/examples/apidoc/RestClient/cancelSpotTriggeredOrder.js +++ b/examples/apidoc/RestClient/cancelSpotTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/price_orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1403 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelTriggeredDeliveryOrder.js b/examples/apidoc/RestClient/cancelTriggeredDeliveryOrder.js index 556b7a7..0a005f1 100644 --- a/examples/apidoc/RestClient/cancelTriggeredDeliveryOrder.js +++ b/examples/apidoc/RestClient/cancelTriggeredDeliveryOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/price_orders/{order_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2979 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/cancelWithdrawal.js b/examples/apidoc/RestClient/cancelWithdrawal.js index 9e00f23..bb96557 100644 --- a/examples/apidoc/RestClient/cancelWithdrawal.js +++ b/examples/apidoc/RestClient/cancelWithdrawal.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /withdrawals/{withdrawal_id} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L383 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/convertSmallBalance.js b/examples/apidoc/RestClient/convertSmallBalance.js index 0e2228a..aa463bc 100644 --- a/examples/apidoc/RestClient/convertSmallBalance.js +++ b/examples/apidoc/RestClient/convertSmallBalance.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/small_balance // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L626 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/createDepositAddress.js b/examples/apidoc/RestClient/createDepositAddress.js index aa39bfb..c3912be 100644 --- a/examples/apidoc/RestClient/createDepositAddress.js +++ b/examples/apidoc/RestClient/createDepositAddress.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/deposit_address // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L410 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/createStpGroup.js b/examples/apidoc/RestClient/createStpGroup.js index 293eda9..91a8de6 100644 --- a/examples/apidoc/RestClient/createStpGroup.js +++ b/examples/apidoc/RestClient/createStpGroup.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/stp_groups // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3834 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/createSubAccount.js b/examples/apidoc/RestClient/createSubAccount.js index 445db52..b23e4c8 100644 --- a/examples/apidoc/RestClient/createSubAccount.js +++ b/examples/apidoc/RestClient/createSubAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L666 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/createSubAccountApiKey.js b/examples/apidoc/RestClient/createSubAccountApiKey.js index 1578adb..fd0d1d5 100644 --- a/examples/apidoc/RestClient/createSubAccountApiKey.js +++ b/examples/apidoc/RestClient/createSubAccountApiKey.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/keys // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L697 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/deleteSubAccountApiKey.js b/examples/apidoc/RestClient/deleteSubAccountApiKey.js index ce820cc..40f5d48 100644 --- a/examples/apidoc/RestClient/deleteSubAccountApiKey.js +++ b/examples/apidoc/RestClient/deleteSubAccountApiKey.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/keys/{key} // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L732 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/deleteUserFromStpGroup.js b/examples/apidoc/RestClient/deleteUserFromStpGroup.js index 652dca2..1c79b0c 100644 --- a/examples/apidoc/RestClient/deleteUserFromStpGroup.js +++ b/examples/apidoc/RestClient/deleteUserFromStpGroup.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/stp_groups/{stp_id}/users // METHOD: DELETE // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3880 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountDetail.js b/examples/apidoc/RestClient/getAccountDetail.js index bf733c7..9e5f6f3 100644 --- a/examples/apidoc/RestClient/getAccountDetail.js +++ b/examples/apidoc/RestClient/getAccountDetail.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/detail // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3815 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAccountRateLimit.js b/examples/apidoc/RestClient/getAccountRateLimit.js index 8a8264a..09d969a 100644 --- a/examples/apidoc/RestClient/getAccountRateLimit.js +++ b/examples/apidoc/RestClient/getAccountRateLimit.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/rate_limit // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3824 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAgencyCommissionHistory.js b/examples/apidoc/RestClient/getAgencyCommissionHistory.js index a09c095..8b9c5e9 100644 --- a/examples/apidoc/RestClient/getAgencyCommissionHistory.js +++ b/examples/apidoc/RestClient/getAgencyCommissionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/agency/commission_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3938 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAgencyTransactionHistory.js b/examples/apidoc/RestClient/getAgencyTransactionHistory.js index 8409908..71b544f 100644 --- a/examples/apidoc/RestClient/getAgencyTransactionHistory.js +++ b/examples/apidoc/RestClient/getAgencyTransactionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/agency/transaction_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3925 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAllDeliveryContracts.js b/examples/apidoc/RestClient/getAllDeliveryContracts.js index 47ca70a..5146d46 100644 --- a/examples/apidoc/RestClient/getAllDeliveryContracts.js +++ b/examples/apidoc/RestClient/getAllDeliveryContracts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/contracts // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2588 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getAutoRepaymentSetting.js b/examples/apidoc/RestClient/getAutoRepaymentSetting.js index 5461b7b..83b5b56 100644 --- a/examples/apidoc/RestClient/getAutoRepaymentSetting.js +++ b/examples/apidoc/RestClient/getAutoRepaymentSetting.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/auto_repay // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1481 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getBalances.js b/examples/apidoc/RestClient/getBalances.js index 82a099f..5ff1b7b 100644 --- a/examples/apidoc/RestClient/getBalances.js +++ b/examples/apidoc/RestClient/getBalances.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/total_balance // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L607 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getBrokerCommissionHistory.js b/examples/apidoc/RestClient/getBrokerCommissionHistory.js index 597ba8c..a548a22 100644 --- a/examples/apidoc/RestClient/getBrokerCommissionHistory.js +++ b/examples/apidoc/RestClient/getBrokerCommissionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/broker/commission_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4004 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getBrokerTransactionHistory.js b/examples/apidoc/RestClient/getBrokerTransactionHistory.js index 02d4bb5..06ccc3b 100644 --- a/examples/apidoc/RestClient/getBrokerTransactionHistory.js +++ b/examples/apidoc/RestClient/getBrokerTransactionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/broker/transaction_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4017 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginAccount.js b/examples/apidoc/RestClient/getCrossMarginAccount.js index 425a2f5..2359d1e 100644 --- a/examples/apidoc/RestClient/getCrossMarginAccount.js +++ b/examples/apidoc/RestClient/getCrossMarginAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1532 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginAccountHistory.js b/examples/apidoc/RestClient/getCrossMarginAccountHistory.js index 6914730..db0bb8b 100644 --- a/examples/apidoc/RestClient/getCrossMarginAccountHistory.js +++ b/examples/apidoc/RestClient/getCrossMarginAccountHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/account_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1544 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginBorrowHistory.js b/examples/apidoc/RestClient/getCrossMarginBorrowHistory.js index 85fc038..85acea2 100644 --- a/examples/apidoc/RestClient/getCrossMarginBorrowHistory.js +++ b/examples/apidoc/RestClient/getCrossMarginBorrowHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/loans // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1572 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginBorrowLoan.js b/examples/apidoc/RestClient/getCrossMarginBorrowLoan.js index 0618f8d..fd0329c 100644 --- a/examples/apidoc/RestClient/getCrossMarginBorrowLoan.js +++ b/examples/apidoc/RestClient/getCrossMarginBorrowLoan.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/loans/{loan_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1584 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginBorrowableAmount.js b/examples/apidoc/RestClient/getCrossMarginBorrowableAmount.js index ff05664..7c518f0 100644 --- a/examples/apidoc/RestClient/getCrossMarginBorrowableAmount.js +++ b/examples/apidoc/RestClient/getCrossMarginBorrowableAmount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/borrowable // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1667 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginCurrencies.js b/examples/apidoc/RestClient/getCrossMarginCurrencies.js index 56ccdca..ad83bd5 100644 --- a/examples/apidoc/RestClient/getCrossMarginCurrencies.js +++ b/examples/apidoc/RestClient/getCrossMarginCurrencies.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1511 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginCurrency.js b/examples/apidoc/RestClient/getCrossMarginCurrency.js index e7ce039..ad108be 100644 --- a/examples/apidoc/RestClient/getCrossMarginCurrency.js +++ b/examples/apidoc/RestClient/getCrossMarginCurrency.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/currencies/{currency} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1521 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginInterestRecords.js b/examples/apidoc/RestClient/getCrossMarginInterestRecords.js index 01823f9..202db1c 100644 --- a/examples/apidoc/RestClient/getCrossMarginInterestRecords.js +++ b/examples/apidoc/RestClient/getCrossMarginInterestRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/interest_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1624 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginRepayments.js b/examples/apidoc/RestClient/getCrossMarginRepayments.js index 70e2bc0..a6a8f03 100644 --- a/examples/apidoc/RestClient/getCrossMarginRepayments.js +++ b/examples/apidoc/RestClient/getCrossMarginRepayments.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/repayments // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1612 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCrossMarginTransferableAmount.js b/examples/apidoc/RestClient/getCrossMarginTransferableAmount.js index a4a7d4b..d995ef5 100644 --- a/examples/apidoc/RestClient/getCrossMarginTransferableAmount.js +++ b/examples/apidoc/RestClient/getCrossMarginTransferableAmount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/transferable // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1639 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getCurrencyChains.js b/examples/apidoc/RestClient/getCurrencyChains.js index 0bb0028..ab82384 100644 --- a/examples/apidoc/RestClient/getCurrencyChains.js +++ b/examples/apidoc/RestClient/getCurrencyChains.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/currency_chains // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L400 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryAccount.js b/examples/apidoc/RestClient/getDeliveryAccount.js index 4048ba5..324629f 100644 --- a/examples/apidoc/RestClient/getDeliveryAccount.js +++ b/examples/apidoc/RestClient/getDeliveryAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2689 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryAutoOrders.js b/examples/apidoc/RestClient/getDeliveryAutoOrders.js index 524dd0e..96ecf97 100644 --- a/examples/apidoc/RestClient/getDeliveryAutoOrders.js +++ b/examples/apidoc/RestClient/getDeliveryAutoOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/price_orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2935 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryBook.js b/examples/apidoc/RestClient/getDeliveryBook.js index 9f1bd58..fe66cd5 100644 --- a/examples/apidoc/RestClient/getDeliveryBook.js +++ b/examples/apidoc/RestClient/getDeliveryBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/account_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2700 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryCandles.js b/examples/apidoc/RestClient/getDeliveryCandles.js index cb16eea..fb17dba 100644 --- a/examples/apidoc/RestClient/getDeliveryCandles.js +++ b/examples/apidoc/RestClient/getDeliveryCandles.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/candlesticks // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2642 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryClosedPositions.js b/examples/apidoc/RestClient/getDeliveryClosedPositions.js index 6a4009e..139261a 100644 --- a/examples/apidoc/RestClient/getDeliveryClosedPositions.js +++ b/examples/apidoc/RestClient/getDeliveryClosedPositions.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/position_close // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2881 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryContract.js b/examples/apidoc/RestClient/getDeliveryContract.js index fca6695..e6a4049 100644 --- a/examples/apidoc/RestClient/getDeliveryContract.js +++ b/examples/apidoc/RestClient/getDeliveryContract.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/contracts/{contract} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2600 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryInsuranceBalanceHistory.js b/examples/apidoc/RestClient/getDeliveryInsuranceBalanceHistory.js index 09e9547..da96d26 100644 --- a/examples/apidoc/RestClient/getDeliveryInsuranceBalanceHistory.js +++ b/examples/apidoc/RestClient/getDeliveryInsuranceBalanceHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/insurance // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2670 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryLiquidationHistory.js b/examples/apidoc/RestClient/getDeliveryLiquidationHistory.js index 94d9fb1..2f17768 100644 --- a/examples/apidoc/RestClient/getDeliveryLiquidationHistory.js +++ b/examples/apidoc/RestClient/getDeliveryLiquidationHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/liquidates // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2894 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryOrder.js b/examples/apidoc/RestClient/getDeliveryOrder.js index 89ad1ca..b7d0c5d 100644 --- a/examples/apidoc/RestClient/getDeliveryOrder.js +++ b/examples/apidoc/RestClient/getDeliveryOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2838 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryOrderBook.js b/examples/apidoc/RestClient/getDeliveryOrderBook.js index c07aac1..6cc70c2 100644 --- a/examples/apidoc/RestClient/getDeliveryOrderBook.js +++ b/examples/apidoc/RestClient/getDeliveryOrderBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/order_book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2615 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryOrders.js b/examples/apidoc/RestClient/getDeliveryOrders.js index fd12683..8f0fa90 100644 --- a/examples/apidoc/RestClient/getDeliveryOrders.js +++ b/examples/apidoc/RestClient/getDeliveryOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2807 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryPosition.js b/examples/apidoc/RestClient/getDeliveryPosition.js index 9224778..3ee8389 100644 --- a/examples/apidoc/RestClient/getDeliveryPosition.js +++ b/examples/apidoc/RestClient/getDeliveryPosition.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/positions/{contract} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2721 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryPositions.js b/examples/apidoc/RestClient/getDeliveryPositions.js index b5bc025..b539ecd 100644 --- a/examples/apidoc/RestClient/getDeliveryPositions.js +++ b/examples/apidoc/RestClient/getDeliveryPositions.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/positions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2711 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliverySettlementHistory.js b/examples/apidoc/RestClient/getDeliverySettlementHistory.js index 79b843c..23179de 100644 --- a/examples/apidoc/RestClient/getDeliverySettlementHistory.js +++ b/examples/apidoc/RestClient/getDeliverySettlementHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/settlements // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2907 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryTickers.js b/examples/apidoc/RestClient/getDeliveryTickers.js index 6a3fc61..a7dbb90 100644 --- a/examples/apidoc/RestClient/getDeliveryTickers.js +++ b/examples/apidoc/RestClient/getDeliveryTickers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/tickers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2653 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryTrades.js b/examples/apidoc/RestClient/getDeliveryTrades.js index 0fe4ad2..e7fe02b 100644 --- a/examples/apidoc/RestClient/getDeliveryTrades.js +++ b/examples/apidoc/RestClient/getDeliveryTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/trades // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2628 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryTradingHistory.js b/examples/apidoc/RestClient/getDeliveryTradingHistory.js index 2febbeb..5ad1825 100644 --- a/examples/apidoc/RestClient/getDeliveryTradingHistory.js +++ b/examples/apidoc/RestClient/getDeliveryTradingHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/my_trades // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2868 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDeliveryTriggeredOrder.js b/examples/apidoc/RestClient/getDeliveryTriggeredOrder.js index 3a515dc..17eda44 100644 --- a/examples/apidoc/RestClient/getDeliveryTriggeredOrder.js +++ b/examples/apidoc/RestClient/getDeliveryTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/price_orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2964 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDepositRecords.js b/examples/apidoc/RestClient/getDepositRecords.js index a502626..a38a49e 100644 --- a/examples/apidoc/RestClient/getDepositRecords.js +++ b/examples/apidoc/RestClient/getDepositRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/deposits // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L438 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDualInvestmentOrders.js b/examples/apidoc/RestClient/getDualInvestmentOrders.js index 07bdfb2..33c014e 100644 --- a/examples/apidoc/RestClient/getDualInvestmentOrders.js +++ b/examples/apidoc/RestClient/getDualInvestmentOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/dual/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3753 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDualInvestmentProducts.js b/examples/apidoc/RestClient/getDualInvestmentProducts.js index 7471fbd..fe5451a 100644 --- a/examples/apidoc/RestClient/getDualInvestmentProducts.js +++ b/examples/apidoc/RestClient/getDualInvestmentProducts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/dual/investment_plan // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3744 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getDualModePosition.js b/examples/apidoc/RestClient/getDualModePosition.js index abeed60..c7042c1 100644 --- a/examples/apidoc/RestClient/getDualModePosition.js +++ b/examples/apidoc/RestClient/getDualModePosition.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/dual_comp/positions/{contract} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2174 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getEstimatedInterestRate.js b/examples/apidoc/RestClient/getEstimatedInterestRate.js index d890399..ad48ccf 100644 --- a/examples/apidoc/RestClient/getEstimatedInterestRate.js +++ b/examples/apidoc/RestClient/getEstimatedInterestRate.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/estimate_rate // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1710 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getEstimatedInterestRates.js b/examples/apidoc/RestClient/getEstimatedInterestRates.js index e9aa71d..81c8de0 100644 --- a/examples/apidoc/RestClient/getEstimatedInterestRates.js +++ b/examples/apidoc/RestClient/getEstimatedInterestRates.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/estimate_rate // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1654 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFlashSwapCurrencyPairs.js b/examples/apidoc/RestClient/getFlashSwapCurrencyPairs.js index 3ab09f0..0f7d60a 100644 --- a/examples/apidoc/RestClient/getFlashSwapCurrencyPairs.js +++ b/examples/apidoc/RestClient/getFlashSwapCurrencyPairs.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /flash_swap/currency_pairs // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1786 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFlashSwapOrder.js b/examples/apidoc/RestClient/getFlashSwapOrder.js index 9674ae4..3f7fa5c 100644 --- a/examples/apidoc/RestClient/getFlashSwapOrder.js +++ b/examples/apidoc/RestClient/getFlashSwapOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /flash_swap/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1826 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFlashSwapOrders.js b/examples/apidoc/RestClient/getFlashSwapOrders.js index e05ce9d..09429f2 100644 --- a/examples/apidoc/RestClient/getFlashSwapOrders.js +++ b/examples/apidoc/RestClient/getFlashSwapOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /flash_swap/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1814 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFundingAccounts.js b/examples/apidoc/RestClient/getFundingAccounts.js index e80868a..e91acb7 100644 --- a/examples/apidoc/RestClient/getFundingAccounts.js +++ b/examples/apidoc/RestClient/getFundingAccounts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/funding_accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1452 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFundingRates.js b/examples/apidoc/RestClient/getFundingRates.js index 145a44d..80519a9 100644 --- a/examples/apidoc/RestClient/getFundingRates.js +++ b/examples/apidoc/RestClient/getFundingRates.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/funding_rate // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1954 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccount.js b/examples/apidoc/RestClient/getFuturesAccount.js index 9504fe2..65cfd60 100644 --- a/examples/apidoc/RestClient/getFuturesAccount.js +++ b/examples/apidoc/RestClient/getFuturesAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2048 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAccountBook.js b/examples/apidoc/RestClient/getFuturesAccountBook.js index fd9c925..ceda37d 100644 --- a/examples/apidoc/RestClient/getFuturesAccountBook.js +++ b/examples/apidoc/RestClient/getFuturesAccountBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/account_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2062 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAutoDeleveragingHistory.js b/examples/apidoc/RestClient/getFuturesAutoDeleveragingHistory.js index 54d248f..b81d59d 100644 --- a/examples/apidoc/RestClient/getFuturesAutoDeleveragingHistory.js +++ b/examples/apidoc/RestClient/getFuturesAutoDeleveragingHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/auto_deleverages // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2427 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesAutoOrders.js b/examples/apidoc/RestClient/getFuturesAutoOrders.js index f1c95c6..9a75f5c 100644 --- a/examples/apidoc/RestClient/getFuturesAutoOrders.js +++ b/examples/apidoc/RestClient/getFuturesAutoOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/price_orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2524 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesCandles.js b/examples/apidoc/RestClient/getFuturesCandles.js index 4499198..5d91887 100644 --- a/examples/apidoc/RestClient/getFuturesCandles.js +++ b/examples/apidoc/RestClient/getFuturesCandles.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/candlesticks // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1911 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesContract.js b/examples/apidoc/RestClient/getFuturesContract.js index dbca5e8..36c08d7 100644 --- a/examples/apidoc/RestClient/getFuturesContract.js +++ b/examples/apidoc/RestClient/getFuturesContract.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/contracts/{contract} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1868 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesContracts.js b/examples/apidoc/RestClient/getFuturesContracts.js index c68ef75..ae52841 100644 --- a/examples/apidoc/RestClient/getFuturesContracts.js +++ b/examples/apidoc/RestClient/getFuturesContracts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/contracts // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1853 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesInsuranceBalanceHistory.js b/examples/apidoc/RestClient/getFuturesInsuranceBalanceHistory.js index c139cf0..78a42ec 100644 --- a/examples/apidoc/RestClient/getFuturesInsuranceBalanceHistory.js +++ b/examples/apidoc/RestClient/getFuturesInsuranceBalanceHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/insurance // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1973 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesLiquidationHistory.js b/examples/apidoc/RestClient/getFuturesLiquidationHistory.js index 52a3df2..39a481a 100644 --- a/examples/apidoc/RestClient/getFuturesLiquidationHistory.js +++ b/examples/apidoc/RestClient/getFuturesLiquidationHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/liquidates // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2414 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesOrder.js b/examples/apidoc/RestClient/getFuturesOrder.js index e5c0afc..9b9b6d9 100644 --- a/examples/apidoc/RestClient/getFuturesOrder.js +++ b/examples/apidoc/RestClient/getFuturesOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2328 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesOrderBook.js b/examples/apidoc/RestClient/getFuturesOrderBook.js index 6d918c2..99cdf65 100644 --- a/examples/apidoc/RestClient/getFuturesOrderBook.js +++ b/examples/apidoc/RestClient/getFuturesOrderBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/order_book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1883 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesOrders.js b/examples/apidoc/RestClient/getFuturesOrders.js index 522f9f0..26ce86d 100644 --- a/examples/apidoc/RestClient/getFuturesOrders.js +++ b/examples/apidoc/RestClient/getFuturesOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2260 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesOrdersByTimeRange.js b/examples/apidoc/RestClient/getFuturesOrdersByTimeRange.js index ad933fa..ddd3acf 100644 --- a/examples/apidoc/RestClient/getFuturesOrdersByTimeRange.js +++ b/examples/apidoc/RestClient/getFuturesOrdersByTimeRange.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders_timerange // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2288 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesPosition.js b/examples/apidoc/RestClient/getFuturesPosition.js index d519664..1d1a488 100644 --- a/examples/apidoc/RestClient/getFuturesPosition.js +++ b/examples/apidoc/RestClient/getFuturesPosition.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/positions/{contract} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2087 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesPositionHistory.js b/examples/apidoc/RestClient/getFuturesPositionHistory.js index a323395..ac35ba4 100644 --- a/examples/apidoc/RestClient/getFuturesPositionHistory.js +++ b/examples/apidoc/RestClient/getFuturesPositionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/position_close // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2401 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesPositions.js b/examples/apidoc/RestClient/getFuturesPositions.js index 48b0357..0107da2 100644 --- a/examples/apidoc/RestClient/getFuturesPositions.js +++ b/examples/apidoc/RestClient/getFuturesPositions.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/positions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2075 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesPriceTriggeredOrder.js b/examples/apidoc/RestClient/getFuturesPriceTriggeredOrder.js index 3891b6e..1555636 100644 --- a/examples/apidoc/RestClient/getFuturesPriceTriggeredOrder.js +++ b/examples/apidoc/RestClient/getFuturesPriceTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/price_orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2553 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesStats.js b/examples/apidoc/RestClient/getFuturesStats.js index 517cfe4..e18096b 100644 --- a/examples/apidoc/RestClient/getFuturesStats.js +++ b/examples/apidoc/RestClient/getFuturesStats.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/contract_stats // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1992 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesTickers.js b/examples/apidoc/RestClient/getFuturesTickers.js index 61fd987..039be99 100644 --- a/examples/apidoc/RestClient/getFuturesTickers.js +++ b/examples/apidoc/RestClient/getFuturesTickers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/tickers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1937 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesTrades.js b/examples/apidoc/RestClient/getFuturesTrades.js index edc161c..439f7e3 100644 --- a/examples/apidoc/RestClient/getFuturesTrades.js +++ b/examples/apidoc/RestClient/getFuturesTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/trades // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1896 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesTradingHistory.js b/examples/apidoc/RestClient/getFuturesTradingHistory.js index cf6f8b5..0c7642f 100644 --- a/examples/apidoc/RestClient/getFuturesTradingHistory.js +++ b/examples/apidoc/RestClient/getFuturesTradingHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/my_trades // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2373 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesTradingHistoryByTimeRange.js b/examples/apidoc/RestClient/getFuturesTradingHistoryByTimeRange.js index 00beb53..029dd34 100644 --- a/examples/apidoc/RestClient/getFuturesTradingHistoryByTimeRange.js +++ b/examples/apidoc/RestClient/getFuturesTradingHistoryByTimeRange.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/my_trades_timerange // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2388 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getFuturesUserTradingFees.js b/examples/apidoc/RestClient/getFuturesUserTradingFees.js index c137a71..723bbff 100644 --- a/examples/apidoc/RestClient/getFuturesUserTradingFees.js +++ b/examples/apidoc/RestClient/getFuturesUserTradingFees.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2461 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getGTDeduction.js b/examples/apidoc/RestClient/getGTDeduction.js index 81cc31f..0504613 100644 --- a/examples/apidoc/RestClient/getGTDeduction.js +++ b/examples/apidoc/RestClient/getGTDeduction.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/debit_fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3909 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getIndexConstituents.js b/examples/apidoc/RestClient/getIndexConstituents.js index 0346b5f..a7f52ea 100644 --- a/examples/apidoc/RestClient/getIndexConstituents.js +++ b/examples/apidoc/RestClient/getIndexConstituents.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/index_constituents/{index} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2003 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingCurrencies.js b/examples/apidoc/RestClient/getLendingCurrencies.js index fc65ce3..05cbaf4 100644 --- a/examples/apidoc/RestClient/getLendingCurrencies.js +++ b/examples/apidoc/RestClient/getLendingCurrencies.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3349 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingCurrency.js b/examples/apidoc/RestClient/getLendingCurrency.js index 79ce196..6cda467 100644 --- a/examples/apidoc/RestClient/getLendingCurrency.js +++ b/examples/apidoc/RestClient/getLendingCurrency.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/currencies/{currency} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3359 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingInterestRecords.js b/examples/apidoc/RestClient/getLendingInterestRecords.js index 4ff98ac..906f5f5 100644 --- a/examples/apidoc/RestClient/getLendingInterestRecords.js +++ b/examples/apidoc/RestClient/getLendingInterestRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/interest_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3430 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingInterestStatus.js b/examples/apidoc/RestClient/getLendingInterestStatus.js index a58c764..dc79883 100644 --- a/examples/apidoc/RestClient/getLendingInterestStatus.js +++ b/examples/apidoc/RestClient/getLendingInterestStatus.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/interest_status/{currency} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3458 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingMarket.js b/examples/apidoc/RestClient/getLendingMarket.js index e594b3a..35f171f 100644 --- a/examples/apidoc/RestClient/getLendingMarket.js +++ b/examples/apidoc/RestClient/getLendingMarket.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/currency_pairs/{currency_pair} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1698 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingMarkets.js b/examples/apidoc/RestClient/getLendingMarkets.js index 7b59607..61344f0 100644 --- a/examples/apidoc/RestClient/getLendingMarkets.js +++ b/examples/apidoc/RestClient/getLendingMarkets.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/currency_pairs // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1683 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingOrders.js b/examples/apidoc/RestClient/getLendingOrders.js index ac5b995..7bb0dfe 100644 --- a/examples/apidoc/RestClient/getLendingOrders.js +++ b/examples/apidoc/RestClient/getLendingOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/lends // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3379 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingRecords.js b/examples/apidoc/RestClient/getLendingRecords.js index e313866..b996b1c 100644 --- a/examples/apidoc/RestClient/getLendingRecords.js +++ b/examples/apidoc/RestClient/getLendingRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/lend_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3404 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLendingTotalInterest.js b/examples/apidoc/RestClient/getLendingTotalInterest.js index 2e85717..4f40614 100644 --- a/examples/apidoc/RestClient/getLendingTotalInterest.js +++ b/examples/apidoc/RestClient/getLendingTotalInterest.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/interests/{currency} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3417 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLiquidationHistory.js b/examples/apidoc/RestClient/getLiquidationHistory.js index e212170..1854d9b 100644 --- a/examples/apidoc/RestClient/getLiquidationHistory.js +++ b/examples/apidoc/RestClient/getLiquidationHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/liq_orders // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2020 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanCollateralRecords.js b/examples/apidoc/RestClient/getLoanCollateralRecords.js index 9093773..dda59b0 100644 --- a/examples/apidoc/RestClient/getLoanCollateralRecords.js +++ b/examples/apidoc/RestClient/getLoanCollateralRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/collaterals // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3547 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanCollateralizationRatio.js b/examples/apidoc/RestClient/getLoanCollateralizationRatio.js index ed3cfac..b15dc08 100644 --- a/examples/apidoc/RestClient/getLoanCollateralizationRatio.js +++ b/examples/apidoc/RestClient/getLoanCollateralizationRatio.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/ltv // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3574 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanMarginTiers.js b/examples/apidoc/RestClient/getLoanMarginTiers.js index 2b00167..72fbff0 100644 --- a/examples/apidoc/RestClient/getLoanMarginTiers.js +++ b/examples/apidoc/RestClient/getLoanMarginTiers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/loan_margin_tiers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L954 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanOrder.js b/examples/apidoc/RestClient/getLoanOrder.js index 866acb9..999a110 100644 --- a/examples/apidoc/RestClient/getLoanOrder.js +++ b/examples/apidoc/RestClient/getLoanOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3495 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanOrders.js b/examples/apidoc/RestClient/getLoanOrders.js index 40ea2ca..60c5caf 100644 --- a/examples/apidoc/RestClient/getLoanOrders.js +++ b/examples/apidoc/RestClient/getLoanOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3486 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanRepaymentHistory.js b/examples/apidoc/RestClient/getLoanRepaymentHistory.js index 74923f7..bc9c19f 100644 --- a/examples/apidoc/RestClient/getLoanRepaymentHistory.js +++ b/examples/apidoc/RestClient/getLoanRepaymentHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/repay_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3525 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanSupportedCurrencies.js b/examples/apidoc/RestClient/getLoanSupportedCurrencies.js index 73cf0ea..3a4944b 100644 --- a/examples/apidoc/RestClient/getLoanSupportedCurrencies.js +++ b/examples/apidoc/RestClient/getLoanSupportedCurrencies.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3590 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getLoanTotalAmount.js b/examples/apidoc/RestClient/getLoanTotalAmount.js index 23de8aa..c62b099 100644 --- a/examples/apidoc/RestClient/getLoanTotalAmount.js +++ b/examples/apidoc/RestClient/getLoanTotalAmount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/total_amount // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3561 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMainSubTransfers.js b/examples/apidoc/RestClient/getMainSubTransfers.js index b35b0bf..d3574e7 100644 --- a/examples/apidoc/RestClient/getMainSubTransfers.js +++ b/examples/apidoc/RestClient/getMainSubTransfers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_transfers // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L483 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginAccounts.js b/examples/apidoc/RestClient/getMarginAccounts.js index 152c21d..46eddde 100644 --- a/examples/apidoc/RestClient/getMarginAccounts.js +++ b/examples/apidoc/RestClient/getMarginAccounts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1420 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginBalanceHistory.js b/examples/apidoc/RestClient/getMarginBalanceHistory.js index d91d79c..c589e6d 100644 --- a/examples/apidoc/RestClient/getMarginBalanceHistory.js +++ b/examples/apidoc/RestClient/getMarginBalanceHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/account_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1434 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginTransferableAmount.js b/examples/apidoc/RestClient/getMarginTransferableAmount.js index 653d4ca..867f04c 100644 --- a/examples/apidoc/RestClient/getMarginTransferableAmount.js +++ b/examples/apidoc/RestClient/getMarginTransferableAmount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/transferable // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1495 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginUNIInterestRecords.js b/examples/apidoc/RestClient/getMarginUNIInterestRecords.js index 048deb3..dac37da 100644 --- a/examples/apidoc/RestClient/getMarginUNIInterestRecords.js +++ b/examples/apidoc/RestClient/getMarginUNIInterestRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/interest_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1758 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginUNILoanRecords.js b/examples/apidoc/RestClient/getMarginUNILoanRecords.js index 9098206..8e76191 100644 --- a/examples/apidoc/RestClient/getMarginUNILoanRecords.js +++ b/examples/apidoc/RestClient/getMarginUNILoanRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/loan_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1746 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginUNILoans.js b/examples/apidoc/RestClient/getMarginUNILoans.js index f64553a..df68202 100644 --- a/examples/apidoc/RestClient/getMarginUNILoans.js +++ b/examples/apidoc/RestClient/getMarginUNILoans.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/loans // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1736 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMarginUNIMaxBorrow.js b/examples/apidoc/RestClient/getMarginUNIMaxBorrow.js index da86961..152e973 100644 --- a/examples/apidoc/RestClient/getMarginUNIMaxBorrow.js +++ b/examples/apidoc/RestClient/getMarginUNIMaxBorrow.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/borrowable // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1770 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanAdjustmentRecords.js b/examples/apidoc/RestClient/getMultiLoanAdjustmentRecords.js index 3b34396..3a5e985 100644 --- a/examples/apidoc/RestClient/getMultiLoanAdjustmentRecords.js +++ b/examples/apidoc/RestClient/getMultiLoanAdjustmentRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/mortgage // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3678 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanCurrencyQuota.js b/examples/apidoc/RestClient/getMultiLoanCurrencyQuota.js index 24c03fc..197c578 100644 --- a/examples/apidoc/RestClient/getMultiLoanCurrencyQuota.js +++ b/examples/apidoc/RestClient/getMultiLoanCurrencyQuota.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/currency_quota // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3690 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanFixedRates.js b/examples/apidoc/RestClient/getMultiLoanFixedRates.js index 9fb62cf..db3bb86 100644 --- a/examples/apidoc/RestClient/getMultiLoanFixedRates.js +++ b/examples/apidoc/RestClient/getMultiLoanFixedRates.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/fixed_rate // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3720 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanOrder.js b/examples/apidoc/RestClient/getMultiLoanOrder.js index 022b110..1bf3ad8 100644 --- a/examples/apidoc/RestClient/getMultiLoanOrder.js +++ b/examples/apidoc/RestClient/getMultiLoanOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3634 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanOrders.js b/examples/apidoc/RestClient/getMultiLoanOrders.js index dacb3dc..dff7464 100644 --- a/examples/apidoc/RestClient/getMultiLoanOrders.js +++ b/examples/apidoc/RestClient/getMultiLoanOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3622 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanRatio.js b/examples/apidoc/RestClient/getMultiLoanRatio.js index bdf750e..b8b4c1e 100644 --- a/examples/apidoc/RestClient/getMultiLoanRatio.js +++ b/examples/apidoc/RestClient/getMultiLoanRatio.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/ltv // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3711 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanRepayRecords.js b/examples/apidoc/RestClient/getMultiLoanRepayRecords.js index e5ae226..1416f33 100644 --- a/examples/apidoc/RestClient/getMultiLoanRepayRecords.js +++ b/examples/apidoc/RestClient/getMultiLoanRepayRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/repay // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3654 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getMultiLoanSupportedCurrencies.js b/examples/apidoc/RestClient/getMultiLoanSupportedCurrencies.js index a7f80f5..de92080 100644 --- a/examples/apidoc/RestClient/getMultiLoanSupportedCurrencies.js +++ b/examples/apidoc/RestClient/getMultiLoanSupportedCurrencies.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3702 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsAccount.js b/examples/apidoc/RestClient/getOptionsAccount.js index 651702b..462e4e7 100644 --- a/examples/apidoc/RestClient/getOptionsAccount.js +++ b/examples/apidoc/RestClient/getOptionsAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3153 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsAccountChange.js b/examples/apidoc/RestClient/getOptionsAccountChange.js index 51bf296..022fdd6 100644 --- a/examples/apidoc/RestClient/getOptionsAccountChange.js +++ b/examples/apidoc/RestClient/getOptionsAccountChange.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/account_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3163 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsCandles.js b/examples/apidoc/RestClient/getOptionsCandles.js index 9cf2f7c..cc27b48 100644 --- a/examples/apidoc/RestClient/getOptionsCandles.js +++ b/examples/apidoc/RestClient/getOptionsCandles.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/candlesticks // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3122 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsContract.js b/examples/apidoc/RestClient/getOptionsContract.js index 9242a28..c65e732 100644 --- a/examples/apidoc/RestClient/getOptionsContract.js +++ b/examples/apidoc/RestClient/getOptionsContract.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/contracts/{contract} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3031 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsContractSettlement.js b/examples/apidoc/RestClient/getOptionsContractSettlement.js index 3d74090..f7197ba 100644 --- a/examples/apidoc/RestClient/getOptionsContractSettlement.js +++ b/examples/apidoc/RestClient/getOptionsContractSettlement.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/settlements/{contract} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3053 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsContracts.js b/examples/apidoc/RestClient/getOptionsContracts.js index d8bc947..33316f0 100644 --- a/examples/apidoc/RestClient/getOptionsContracts.js +++ b/examples/apidoc/RestClient/getOptionsContracts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/contracts // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3018 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsExpirationTimes.js b/examples/apidoc/RestClient/getOptionsExpirationTimes.js index b28602a..ff48f3f 100644 --- a/examples/apidoc/RestClient/getOptionsExpirationTimes.js +++ b/examples/apidoc/RestClient/getOptionsExpirationTimes.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/expirations // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3008 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsLiquidation.js b/examples/apidoc/RestClient/getOptionsLiquidation.js index a55b7e4..85ae186 100644 --- a/examples/apidoc/RestClient/getOptionsLiquidation.js +++ b/examples/apidoc/RestClient/getOptionsLiquidation.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/position_close // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3199 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsMMPSettings.js b/examples/apidoc/RestClient/getOptionsMMPSettings.js index 53c6e9b..9193428 100644 --- a/examples/apidoc/RestClient/getOptionsMMPSettings.js +++ b/examples/apidoc/RestClient/getOptionsMMPSettings.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/mmp // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3321 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsMySettlements.js b/examples/apidoc/RestClient/getOptionsMySettlements.js index bc52c04..cf5a2f0 100644 --- a/examples/apidoc/RestClient/getOptionsMySettlements.js +++ b/examples/apidoc/RestClient/getOptionsMySettlements.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/my_settlements // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3068 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsOrder.js b/examples/apidoc/RestClient/getOptionsOrder.js index 1003bfa..050fff4 100644 --- a/examples/apidoc/RestClient/getOptionsOrder.js +++ b/examples/apidoc/RestClient/getOptionsOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3250 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsOrderBook.js b/examples/apidoc/RestClient/getOptionsOrderBook.js index 993690e..4093b90 100644 --- a/examples/apidoc/RestClient/getOptionsOrderBook.js +++ b/examples/apidoc/RestClient/getOptionsOrderBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/order_book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3082 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsOrders.js b/examples/apidoc/RestClient/getOptionsOrders.js index 18e3d56..2df6b05 100644 --- a/examples/apidoc/RestClient/getOptionsOrders.js +++ b/examples/apidoc/RestClient/getOptionsOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3224 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsPersonalHistory.js b/examples/apidoc/RestClient/getOptionsPersonalHistory.js index 3cad184..ab8dd7d 100644 --- a/examples/apidoc/RestClient/getOptionsPersonalHistory.js +++ b/examples/apidoc/RestClient/getOptionsPersonalHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/my_trades // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3297 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsPositionContract.js b/examples/apidoc/RestClient/getOptionsPositionContract.js index 0c3e68f..cffb67d 100644 --- a/examples/apidoc/RestClient/getOptionsPositionContract.js +++ b/examples/apidoc/RestClient/getOptionsPositionContract.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/positions/{contract} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3187 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsPositionsUnderlying.js b/examples/apidoc/RestClient/getOptionsPositionsUnderlying.js index 7a9ed3d..d6ca95c 100644 --- a/examples/apidoc/RestClient/getOptionsPositionsUnderlying.js +++ b/examples/apidoc/RestClient/getOptionsPositionsUnderlying.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/positions // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3175 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsSettlementHistory.js b/examples/apidoc/RestClient/getOptionsSettlementHistory.js index 8ede62a..0401edd 100644 --- a/examples/apidoc/RestClient/getOptionsSettlementHistory.js +++ b/examples/apidoc/RestClient/getOptionsSettlementHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/settlements // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3041 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsTickers.js b/examples/apidoc/RestClient/getOptionsTickers.js index d81bd6a..8e5dbcd 100644 --- a/examples/apidoc/RestClient/getOptionsTickers.js +++ b/examples/apidoc/RestClient/getOptionsTickers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/tickers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3094 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsTrades.js b/examples/apidoc/RestClient/getOptionsTrades.js index 42bc429..e965467 100644 --- a/examples/apidoc/RestClient/getOptionsTrades.js +++ b/examples/apidoc/RestClient/getOptionsTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/trades // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3144 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsUnderlyingCandles.js b/examples/apidoc/RestClient/getOptionsUnderlyingCandles.js index d113a7f..0686e19 100644 --- a/examples/apidoc/RestClient/getOptionsUnderlyingCandles.js +++ b/examples/apidoc/RestClient/getOptionsUnderlyingCandles.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/underlying/candlesticks // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3132 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsUnderlyingTicker.js b/examples/apidoc/RestClient/getOptionsUnderlyingTicker.js index 636d440..390ab0b 100644 --- a/examples/apidoc/RestClient/getOptionsUnderlyingTicker.js +++ b/examples/apidoc/RestClient/getOptionsUnderlyingTicker.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/underlying/tickers/{underlying} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3108 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getOptionsUnderlyings.js b/examples/apidoc/RestClient/getOptionsUnderlyings.js index 6e8b7d5..5eb6d81 100644 --- a/examples/apidoc/RestClient/getOptionsUnderlyings.js +++ b/examples/apidoc/RestClient/getOptionsUnderlyings.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/underlyings // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2998 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPartnerCommissionHistory.js b/examples/apidoc/RestClient/getPartnerCommissionHistory.js index c3d3aeb..d119cbc 100644 --- a/examples/apidoc/RestClient/getPartnerCommissionHistory.js +++ b/examples/apidoc/RestClient/getPartnerCommissionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/partner/commission_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3967 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPartnerSubordinateList.js b/examples/apidoc/RestClient/getPartnerSubordinateList.js index 6265101..5cb2197 100644 --- a/examples/apidoc/RestClient/getPartnerSubordinateList.js +++ b/examples/apidoc/RestClient/getPartnerSubordinateList.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/partner/sub_list // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3990 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPartnerTransactionHistory.js b/examples/apidoc/RestClient/getPartnerTransactionHistory.js index 477a998..519a6c2 100644 --- a/examples/apidoc/RestClient/getPartnerTransactionHistory.js +++ b/examples/apidoc/RestClient/getPartnerTransactionHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/partner/transaction_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3952 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPremiumIndexKLines.js b/examples/apidoc/RestClient/getPremiumIndexKLines.js index a8a1ac6..1ce0a2c 100644 --- a/examples/apidoc/RestClient/getPremiumIndexKLines.js +++ b/examples/apidoc/RestClient/getPremiumIndexKLines.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/premium_index // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1924 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPriceTriggeredOrder.js b/examples/apidoc/RestClient/getPriceTriggeredOrder.js index 4ac8e27..e2647b9 100644 --- a/examples/apidoc/RestClient/getPriceTriggeredOrder.js +++ b/examples/apidoc/RestClient/getPriceTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/price_orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1391 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getPushOrders.js b/examples/apidoc/RestClient/getPushOrders.js index 6039946..ee1d8fb 100644 --- a/examples/apidoc/RestClient/getPushOrders.js +++ b/examples/apidoc/RestClient/getPushOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/push // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L651 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getRiskLimitTiers.js b/examples/apidoc/RestClient/getRiskLimitTiers.js index 680fd76..beba924 100644 --- a/examples/apidoc/RestClient/getRiskLimitTiers.js +++ b/examples/apidoc/RestClient/getRiskLimitTiers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/risk_limit_tiers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2037 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSavedAddresses.js b/examples/apidoc/RestClient/getSavedAddresses.js index f0deeb6..7533df9 100644 --- a/examples/apidoc/RestClient/getSavedAddresses.js +++ b/examples/apidoc/RestClient/getSavedAddresses.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/saved_address // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L576 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getServerTime.js b/examples/apidoc/RestClient/getServerTime.js deleted file mode 100644 index 19a5379..0000000 --- a/examples/apidoc/RestClient/getServerTime.js +++ /dev/null @@ -1,21 +0,0 @@ -const { RestClient } = require('gateio-api'); - - // This example shows how to call this Gate.io API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "gateio-api" for Gate.io exchange - // This Gate.io API SDK is available on npm via "npm install gateio-api" - // ENDPOINT: /spot/time - // METHOD: GET - // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1307 - -const client = new RestClient({ - apiKey: 'insert_api_key_here', - apiSecret: 'insert_api_secret_here', -}); - -client.getServerTime(params) - .then((response) => { - console.log(response); - }) - .catch((error) => { - console.error(error); - }); diff --git a/examples/apidoc/RestClient/getSmallBalanceHistory.js b/examples/apidoc/RestClient/getSmallBalanceHistory.js index 6814631..6ce8079 100644 --- a/examples/apidoc/RestClient/getSmallBalanceHistory.js +++ b/examples/apidoc/RestClient/getSmallBalanceHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/small_balance_history // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L639 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSmallBalances.js b/examples/apidoc/RestClient/getSmallBalances.js index 0f282a8..df3d19d 100644 --- a/examples/apidoc/RestClient/getSmallBalances.js +++ b/examples/apidoc/RestClient/getSmallBalances.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/small_balance // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L616 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotAccountBook.js b/examples/apidoc/RestClient/getSpotAccountBook.js index 45b3a79..5b3bebf 100644 --- a/examples/apidoc/RestClient/getSpotAccountBook.js +++ b/examples/apidoc/RestClient/getSpotAccountBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/account_book // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1121 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotAccounts.js b/examples/apidoc/RestClient/getSpotAccounts.js index 845ba0a..524d667 100644 --- a/examples/apidoc/RestClient/getSpotAccounts.js +++ b/examples/apidoc/RestClient/getSpotAccounts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1109 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotAutoOrders.js b/examples/apidoc/RestClient/getSpotAutoOrders.js index 00b4afa..e57f4b2 100644 --- a/examples/apidoc/RestClient/getSpotAutoOrders.js +++ b/examples/apidoc/RestClient/getSpotAutoOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/price_orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1366 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotBatchFeeRates.js b/examples/apidoc/RestClient/getSpotBatchFeeRates.js index c4e35bc..eddbc11 100644 --- a/examples/apidoc/RestClient/getSpotBatchFeeRates.js +++ b/examples/apidoc/RestClient/getSpotBatchFeeRates.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/batch_fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1097 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotCandles.js b/examples/apidoc/RestClient/getSpotCandles.js index 58494f2..2a4039c 100644 --- a/examples/apidoc/RestClient/getSpotCandles.js +++ b/examples/apidoc/RestClient/getSpotCandles.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/candlesticks // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1076 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotCurrencies.js b/examples/apidoc/RestClient/getSpotCurrencies.js index 922a791..3c6b927 100644 --- a/examples/apidoc/RestClient/getSpotCurrencies.js +++ b/examples/apidoc/RestClient/getSpotCurrencies.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/currencies // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L993 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotCurrency.js b/examples/apidoc/RestClient/getSpotCurrency.js index 02d2c78..05a648e 100644 --- a/examples/apidoc/RestClient/getSpotCurrency.js +++ b/examples/apidoc/RestClient/getSpotCurrency.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/currencies/{currency} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1003 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotCurrencyPair.js b/examples/apidoc/RestClient/getSpotCurrencyPair.js index 864bd57..b634f24 100644 --- a/examples/apidoc/RestClient/getSpotCurrencyPair.js +++ b/examples/apidoc/RestClient/getSpotCurrencyPair.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/currency_pairs/{currency_pair} // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1022 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotCurrencyPairs.js b/examples/apidoc/RestClient/getSpotCurrencyPairs.js index 3abaf56..468dc20 100644 --- a/examples/apidoc/RestClient/getSpotCurrencyPairs.js +++ b/examples/apidoc/RestClient/getSpotCurrencyPairs.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/currency_pairs // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1012 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotFeeRates.js b/examples/apidoc/RestClient/getSpotFeeRates.js index 9a55c80..092b232 100644 --- a/examples/apidoc/RestClient/getSpotFeeRates.js +++ b/examples/apidoc/RestClient/getSpotFeeRates.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1088 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOpenOrders.js b/examples/apidoc/RestClient/getSpotOpenOrders.js index bd99684..6031de9 100644 --- a/examples/apidoc/RestClient/getSpotOpenOrders.js +++ b/examples/apidoc/RestClient/getSpotOpenOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/open_orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1154 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrder.js b/examples/apidoc/RestClient/getSpotOrder.js index d40fc27..5eb3a46 100644 --- a/examples/apidoc/RestClient/getSpotOrder.js +++ b/examples/apidoc/RestClient/getSpotOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/orders/{order_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1240 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrderBook.js b/examples/apidoc/RestClient/getSpotOrderBook.js index 042d015..4d76c36 100644 --- a/examples/apidoc/RestClient/getSpotOrderBook.js +++ b/examples/apidoc/RestClient/getSpotOrderBook.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/order_book // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1051 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotOrders.js b/examples/apidoc/RestClient/getSpotOrders.js index c609d39..943a340 100644 --- a/examples/apidoc/RestClient/getSpotOrders.js +++ b/examples/apidoc/RestClient/getSpotOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1196 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTicker.js b/examples/apidoc/RestClient/getSpotTicker.js index 54cda93..9b51f66 100644 --- a/examples/apidoc/RestClient/getSpotTicker.js +++ b/examples/apidoc/RestClient/getSpotTicker.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/tickers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1036 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTrades.js b/examples/apidoc/RestClient/getSpotTrades.js index 5ee94a3..123295c 100644 --- a/examples/apidoc/RestClient/getSpotTrades.js +++ b/examples/apidoc/RestClient/getSpotTrades.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/trades // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1064 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSpotTradingHistory.js b/examples/apidoc/RestClient/getSpotTradingHistory.js index bf2d2c0..6436755 100644 --- a/examples/apidoc/RestClient/getSpotTradingHistory.js +++ b/examples/apidoc/RestClient/getSpotTradingHistory.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/my_trades // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1294 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getStpGroupUsers.js b/examples/apidoc/RestClient/getStpGroupUsers.js index db49657..da822a1 100644 --- a/examples/apidoc/RestClient/getStpGroupUsers.js +++ b/examples/apidoc/RestClient/getStpGroupUsers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/stp_groups/{stp_id}/users // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3854 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getStpGroups.js b/examples/apidoc/RestClient/getStpGroups.js index 27f5d00..cc182b8 100644 --- a/examples/apidoc/RestClient/getStpGroups.js +++ b/examples/apidoc/RestClient/getStpGroups.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/stp_groups // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3844 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getStructuredProductOrders.js b/examples/apidoc/RestClient/getStructuredProductOrders.js index 67ffc49..429b7d0 100644 --- a/examples/apidoc/RestClient/getStructuredProductOrders.js +++ b/examples/apidoc/RestClient/getStructuredProductOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/structured/orders // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3787 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getStructuredProducts.js b/examples/apidoc/RestClient/getStructuredProducts.js index 8b5cc2a..374b58a 100644 --- a/examples/apidoc/RestClient/getStructuredProducts.js +++ b/examples/apidoc/RestClient/getStructuredProducts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/structured/products // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3775 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubAccount.js b/examples/apidoc/RestClient/getSubAccount.js index fc6d56a..0a12b91 100644 --- a/examples/apidoc/RestClient/getSubAccount.js +++ b/examples/apidoc/RestClient/getSubAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L687 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubAccountApiKey.js b/examples/apidoc/RestClient/getSubAccountApiKey.js index 1aa5b02..a11a18d 100644 --- a/examples/apidoc/RestClient/getSubAccountApiKey.js +++ b/examples/apidoc/RestClient/getSubAccountApiKey.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/keys/{key} // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L747 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubAccountApiKeys.js b/examples/apidoc/RestClient/getSubAccountApiKeys.js index b2377fe..9f79df1 100644 --- a/examples/apidoc/RestClient/getSubAccountApiKeys.js +++ b/examples/apidoc/RestClient/getSubAccountApiKeys.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/keys // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L709 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubAccountMode.js b/examples/apidoc/RestClient/getSubAccountMode.js index a78706d..b7449ed 100644 --- a/examples/apidoc/RestClient/getSubAccountMode.js +++ b/examples/apidoc/RestClient/getSubAccountMode.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/unified_mode // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L786 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubAccounts.js b/examples/apidoc/RestClient/getSubAccounts.js index 2a38bb7..6420682 100644 --- a/examples/apidoc/RestClient/getSubAccounts.js +++ b/examples/apidoc/RestClient/getSubAccounts.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L677 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubBalance.js b/examples/apidoc/RestClient/getSubBalance.js index 99bd431..ad95e16 100644 --- a/examples/apidoc/RestClient/getSubBalance.js +++ b/examples/apidoc/RestClient/getSubBalance.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L524 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubCrossMarginBalances.js b/examples/apidoc/RestClient/getSubCrossMarginBalances.js index 1c0a388..4a51a5c 100644 --- a/examples/apidoc/RestClient/getSubCrossMarginBalances.js +++ b/examples/apidoc/RestClient/getSubCrossMarginBalances.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_cross_margin_balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L564 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubFuturesBalances.js b/examples/apidoc/RestClient/getSubFuturesBalances.js index bb16635..3586744 100644 --- a/examples/apidoc/RestClient/getSubFuturesBalances.js +++ b/examples/apidoc/RestClient/getSubFuturesBalances.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_futures_balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L551 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSubMarginBalances.js b/examples/apidoc/RestClient/getSubMarginBalances.js index ddae146..1086d73 100644 --- a/examples/apidoc/RestClient/getSubMarginBalances.js +++ b/examples/apidoc/RestClient/getSubMarginBalances.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_margin_balances // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L539 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getSystemMaintenanceStatus.js b/examples/apidoc/RestClient/getSystemMaintenanceStatus.js index 32fbc2f..eb47d7a 100644 --- a/examples/apidoc/RestClient/getSystemMaintenanceStatus.js +++ b/examples/apidoc/RestClient/getSystemMaintenanceStatus.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /v1/public/system_info // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L336 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getTradingFees.js b/examples/apidoc/RestClient/getTradingFees.js index aa05f7f..8758eca 100644 --- a/examples/apidoc/RestClient/getTradingFees.js +++ b/examples/apidoc/RestClient/getTradingFees.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/fee // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L586 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedAccountInfo.js b/examples/apidoc/RestClient/getUnifiedAccountInfo.js index 0d2ea4d..3a1193a 100644 --- a/examples/apidoc/RestClient/getUnifiedAccountInfo.js +++ b/examples/apidoc/RestClient/getUnifiedAccountInfo.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/accounts // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L803 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedAccountMode.js b/examples/apidoc/RestClient/getUnifiedAccountMode.js index 38f5733..e682d6c 100644 --- a/examples/apidoc/RestClient/getUnifiedAccountMode.js +++ b/examples/apidoc/RestClient/getUnifiedAccountMode.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/unified_mode // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L919 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedCurrencyDiscountTiers.js b/examples/apidoc/RestClient/getUnifiedCurrencyDiscountTiers.js index cb57554..bae12f0 100644 --- a/examples/apidoc/RestClient/getUnifiedCurrencyDiscountTiers.js +++ b/examples/apidoc/RestClient/getUnifiedCurrencyDiscountTiers.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/currency_discount_tiers // METHOD: GET // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L942 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedEstimateRate.js b/examples/apidoc/RestClient/getUnifiedEstimateRate.js index 638bae8..4a64449 100644 --- a/examples/apidoc/RestClient/getUnifiedEstimateRate.js +++ b/examples/apidoc/RestClient/getUnifiedEstimateRate.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/estimate_rate // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L931 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedInterestRecords.js b/examples/apidoc/RestClient/getUnifiedInterestRecords.js index fb77f23..a304a05 100644 --- a/examples/apidoc/RestClient/getUnifiedInterestRecords.js +++ b/examples/apidoc/RestClient/getUnifiedInterestRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/interest_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L887 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedLoanRecords.js b/examples/apidoc/RestClient/getUnifiedLoanRecords.js index 8dd6410..19827c2 100644 --- a/examples/apidoc/RestClient/getUnifiedLoanRecords.js +++ b/examples/apidoc/RestClient/getUnifiedLoanRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/loan_records // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L875 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedLoans.js b/examples/apidoc/RestClient/getUnifiedLoans.js index d4c330c..d64cf3d 100644 --- a/examples/apidoc/RestClient/getUnifiedLoans.js +++ b/examples/apidoc/RestClient/getUnifiedLoans.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/loans // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L865 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedMaxBorrow.js b/examples/apidoc/RestClient/getUnifiedMaxBorrow.js index 6339028..c90840c 100644 --- a/examples/apidoc/RestClient/getUnifiedMaxBorrow.js +++ b/examples/apidoc/RestClient/getUnifiedMaxBorrow.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/borrowable // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L818 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedMaxTransferable.js b/examples/apidoc/RestClient/getUnifiedMaxTransferable.js index b64b8eb..365fde5 100644 --- a/examples/apidoc/RestClient/getUnifiedMaxTransferable.js +++ b/examples/apidoc/RestClient/getUnifiedMaxTransferable.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/transferable // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L834 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUnifiedRiskUnitDetails.js b/examples/apidoc/RestClient/getUnifiedRiskUnitDetails.js index 8d4a466..74e8714 100644 --- a/examples/apidoc/RestClient/getUnifiedRiskUnitDetails.js +++ b/examples/apidoc/RestClient/getUnifiedRiskUnitDetails.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/risk_units // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L898 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getUserRebateInfo.js b/examples/apidoc/RestClient/getUserRebateInfo.js index 67ee866..3efb7a7 100644 --- a/examples/apidoc/RestClient/getUserRebateInfo.js +++ b/examples/apidoc/RestClient/getUserRebateInfo.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /rebate/user/info // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L4026 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getWithdrawalRecords.js b/examples/apidoc/RestClient/getWithdrawalRecords.js index 2be5b39..83d4716 100644 --- a/examples/apidoc/RestClient/getWithdrawalRecords.js +++ b/examples/apidoc/RestClient/getWithdrawalRecords.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/withdrawals // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L424 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/getWithdrawalStatus.js b/examples/apidoc/RestClient/getWithdrawalStatus.js index 6fc7632..61118c0 100644 --- a/examples/apidoc/RestClient/getWithdrawalStatus.js +++ b/examples/apidoc/RestClient/getWithdrawalStatus.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/withdraw_status // METHOD: GET // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L509 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/lockSubAccount.js b/examples/apidoc/RestClient/lockSubAccount.js index 77f0111..de2da7a 100644 --- a/examples/apidoc/RestClient/lockSubAccount.js +++ b/examples/apidoc/RestClient/lockSubAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/lock // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L762 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/portfolioMarginCalculate.js b/examples/apidoc/RestClient/portfolioMarginCalculate.js index 001ce6f..93668c3 100644 --- a/examples/apidoc/RestClient/portfolioMarginCalculate.js +++ b/examples/apidoc/RestClient/portfolioMarginCalculate.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/portfolio_calculator // METHOD: POST // PUBLIC: YES - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L971 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/repayMultiLoan.js b/examples/apidoc/RestClient/repayMultiLoan.js index 9d963df..3f15796 100644 --- a/examples/apidoc/RestClient/repayMultiLoan.js +++ b/examples/apidoc/RestClient/repayMultiLoan.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/repay // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3644 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/resetOptionsMMPSettings.js b/examples/apidoc/RestClient/resetOptionsMMPSettings.js index dd2b54e..4b19c3c 100644 --- a/examples/apidoc/RestClient/resetOptionsMMPSettings.js +++ b/examples/apidoc/RestClient/resetOptionsMMPSettings.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/mmp/reset // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3333 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/setFuturesOrderCancelCountdown.js b/examples/apidoc/RestClient/setFuturesOrderCancelCountdown.js index 66276d6..a897c19 100644 --- a/examples/apidoc/RestClient/setFuturesOrderCancelCountdown.js +++ b/examples/apidoc/RestClient/setFuturesOrderCancelCountdown.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/countdown_cancel_all // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2444 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/setGTDeduction.js b/examples/apidoc/RestClient/setGTDeduction.js index a3d4cb2..c65b39a 100644 --- a/examples/apidoc/RestClient/setGTDeduction.js +++ b/examples/apidoc/RestClient/setGTDeduction.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /account/debit_fee // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3898 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/setOptionsMMPSettings.js b/examples/apidoc/RestClient/setOptionsMMPSettings.js index 34c81a0..5d3334e 100644 --- a/examples/apidoc/RestClient/setOptionsMMPSettings.js +++ b/examples/apidoc/RestClient/setOptionsMMPSettings.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/mmp // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3309 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/setUnifiedAccountMode.js b/examples/apidoc/RestClient/setUnifiedAccountMode.js index 1099e8b..76b5197 100644 --- a/examples/apidoc/RestClient/setUnifiedAccountMode.js +++ b/examples/apidoc/RestClient/setUnifiedAccountMode.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/unified_mode // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L910 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitCrossMarginBorrowLoan.js b/examples/apidoc/RestClient/submitCrossMarginBorrowLoan.js index b03e744..ca1a2f9 100644 --- a/examples/apidoc/RestClient/submitCrossMarginBorrowLoan.js +++ b/examples/apidoc/RestClient/submitCrossMarginBorrowLoan.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/loans // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1558 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitCrossMarginRepayment.js b/examples/apidoc/RestClient/submitCrossMarginRepayment.js index d730c0b..e93296a 100644 --- a/examples/apidoc/RestClient/submitCrossMarginRepayment.js +++ b/examples/apidoc/RestClient/submitCrossMarginRepayment.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/cross/repayments // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1597 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitDeliveryOrder.js b/examples/apidoc/RestClient/submitDeliveryOrder.js index 73536f6..4a50f1a 100644 --- a/examples/apidoc/RestClient/submitDeliveryOrder.js +++ b/examples/apidoc/RestClient/submitDeliveryOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2792 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitDeliveryTriggeredOrder.js b/examples/apidoc/RestClient/submitDeliveryTriggeredOrder.js index 3d94633..7133093 100644 --- a/examples/apidoc/RestClient/submitDeliveryTriggeredOrder.js +++ b/examples/apidoc/RestClient/submitDeliveryTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/price_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2920 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitDualInvestmentOrder.js b/examples/apidoc/RestClient/submitDualInvestmentOrder.js index 8d69b9c..7d6fde0 100644 --- a/examples/apidoc/RestClient/submitDualInvestmentOrder.js +++ b/examples/apidoc/RestClient/submitDualInvestmentOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/dual/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3762 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitEth2Swap.js b/examples/apidoc/RestClient/submitEth2Swap.js index 82be728..1758c74 100644 --- a/examples/apidoc/RestClient/submitEth2Swap.js +++ b/examples/apidoc/RestClient/submitEth2Swap.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/staking/eth2/swap // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3735 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFlashSwapOrder.js b/examples/apidoc/RestClient/submitFlashSwapOrder.js index 62f99c7..a2d1f91 100644 --- a/examples/apidoc/RestClient/submitFlashSwapOrder.js +++ b/examples/apidoc/RestClient/submitFlashSwapOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /flash_swap/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1802 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFlashSwapOrderPreview.js b/examples/apidoc/RestClient/submitFlashSwapOrderPreview.js index 2170f81..2db9fb9 100644 --- a/examples/apidoc/RestClient/submitFlashSwapOrderPreview.js +++ b/examples/apidoc/RestClient/submitFlashSwapOrderPreview.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /flash_swap/orders/preview // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1836 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesBatchOrders.js b/examples/apidoc/RestClient/submitFuturesBatchOrders.js index f9a7662..cfcc169 100644 --- a/examples/apidoc/RestClient/submitFuturesBatchOrders.js +++ b/examples/apidoc/RestClient/submitFuturesBatchOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/batch_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2309 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesOrder.js b/examples/apidoc/RestClient/submitFuturesOrder.js index 770e7f6..4a3a18a 100644 --- a/examples/apidoc/RestClient/submitFuturesOrder.js +++ b/examples/apidoc/RestClient/submitFuturesOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2246 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitFuturesPriceTriggeredOrder.js b/examples/apidoc/RestClient/submitFuturesPriceTriggeredOrder.js index fd05208..34a4bf8 100644 --- a/examples/apidoc/RestClient/submitFuturesPriceTriggeredOrder.js +++ b/examples/apidoc/RestClient/submitFuturesPriceTriggeredOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/price_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2511 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitLendOrRedeemOrder.js b/examples/apidoc/RestClient/submitLendOrRedeemOrder.js index f2adf9f..979cdbc 100644 --- a/examples/apidoc/RestClient/submitLendOrRedeemOrder.js +++ b/examples/apidoc/RestClient/submitLendOrRedeemOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/lends // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3369 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitLoanOrder.js b/examples/apidoc/RestClient/submitLoanOrder.js index 7503074..174d7b7 100644 --- a/examples/apidoc/RestClient/submitLoanOrder.js +++ b/examples/apidoc/RestClient/submitLoanOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3476 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitLoanRepay.js b/examples/apidoc/RestClient/submitLoanRepay.js index 8dcfcbb..8e030b2 100644 --- a/examples/apidoc/RestClient/submitLoanRepay.js +++ b/examples/apidoc/RestClient/submitLoanRepay.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/repay // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3508 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMainSubTransfer.js b/examples/apidoc/RestClient/submitMainSubTransfer.js index 43de702..1024fb2 100644 --- a/examples/apidoc/RestClient/submitMainSubTransfer.js +++ b/examples/apidoc/RestClient/submitMainSubTransfer.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_transfers // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L469 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMarginUNIBorrowOrRepay.js b/examples/apidoc/RestClient/submitMarginUNIBorrowOrRepay.js index fc12fff..833ccf7 100644 --- a/examples/apidoc/RestClient/submitMarginUNIBorrowOrRepay.js +++ b/examples/apidoc/RestClient/submitMarginUNIBorrowOrRepay.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/uni/loans // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1720 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitMultiLoanOrder.js b/examples/apidoc/RestClient/submitMultiLoanOrder.js index ca1af03..b086d84 100644 --- a/examples/apidoc/RestClient/submitMultiLoanOrder.js +++ b/examples/apidoc/RestClient/submitMultiLoanOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3610 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitOptionsCountdownCancel.js b/examples/apidoc/RestClient/submitOptionsCountdownCancel.js index d217668..0138f36 100644 --- a/examples/apidoc/RestClient/submitOptionsCountdownCancel.js +++ b/examples/apidoc/RestClient/submitOptionsCountdownCancel.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/countdown_cancel_all // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3281 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitOptionsOrder.js b/examples/apidoc/RestClient/submitOptionsOrder.js index 08ff027..1a7e592 100644 --- a/examples/apidoc/RestClient/submitOptionsOrder.js +++ b/examples/apidoc/RestClient/submitOptionsOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /options/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3212 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotBatchOrders.js b/examples/apidoc/RestClient/submitSpotBatchOrders.js index 04cfd85..c2f3c32 100644 --- a/examples/apidoc/RestClient/submitSpotBatchOrders.js +++ b/examples/apidoc/RestClient/submitSpotBatchOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/batch_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1138 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotClosePosCrossDisabled.js b/examples/apidoc/RestClient/submitSpotClosePosCrossDisabled.js index a8cb96a..f7aa643 100644 --- a/examples/apidoc/RestClient/submitSpotClosePosCrossDisabled.js +++ b/examples/apidoc/RestClient/submitSpotClosePosCrossDisabled.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/cross_liquidate_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1170 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotCountdownOrders.js b/examples/apidoc/RestClient/submitSpotCountdownOrders.js index 1993a26..37986af 100644 --- a/examples/apidoc/RestClient/submitSpotCountdownOrders.js +++ b/examples/apidoc/RestClient/submitSpotCountdownOrders.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/countdown_cancel_all // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1323 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotMainAccountTransfer.js b/examples/apidoc/RestClient/submitSpotMainAccountTransfer.js index eef1641..bdc70f1 100644 --- a/examples/apidoc/RestClient/submitSpotMainAccountTransfer.js +++ b/examples/apidoc/RestClient/submitSpotMainAccountTransfer.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /withdrawals/push // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L367 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotOrder.js b/examples/apidoc/RestClient/submitSpotOrder.js index cec8792..93af4ca 100644 --- a/examples/apidoc/RestClient/submitSpotOrder.js +++ b/examples/apidoc/RestClient/submitSpotOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1184 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSpotPriceTriggerOrder.js b/examples/apidoc/RestClient/submitSpotPriceTriggerOrder.js index 8c3d971..9b292a5 100644 --- a/examples/apidoc/RestClient/submitSpotPriceTriggerOrder.js +++ b/examples/apidoc/RestClient/submitSpotPriceTriggerOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/price_orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1354 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitStructuredProductOrder.js b/examples/apidoc/RestClient/submitStructuredProductOrder.js index c000dd7..33cc7e6 100644 --- a/examples/apidoc/RestClient/submitStructuredProductOrder.js +++ b/examples/apidoc/RestClient/submitStructuredProductOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/structured/orders // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3798 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitSubToSubTransfer.js b/examples/apidoc/RestClient/submitSubToSubTransfer.js index 8af37ba..07cebd5 100644 --- a/examples/apidoc/RestClient/submitSubToSubTransfer.js +++ b/examples/apidoc/RestClient/submitSubToSubTransfer.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/sub_account_to_sub_account // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L497 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitTransfer.js b/examples/apidoc/RestClient/submitTransfer.js index c7d6654..e2d37ed 100644 --- a/examples/apidoc/RestClient/submitTransfer.js +++ b/examples/apidoc/RestClient/submitTransfer.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /wallet/transfers // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L457 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitUnifiedBorrowOrRepay.js b/examples/apidoc/RestClient/submitUnifiedBorrowOrRepay.js index 418143e..5de20cd 100644 --- a/examples/apidoc/RestClient/submitUnifiedBorrowOrRepay.js +++ b/examples/apidoc/RestClient/submitUnifiedBorrowOrRepay.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /unified/loans // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L853 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/submitWithdrawal.js b/examples/apidoc/RestClient/submitWithdrawal.js index 543d73b..747f72c 100644 --- a/examples/apidoc/RestClient/submitWithdrawal.js +++ b/examples/apidoc/RestClient/submitWithdrawal.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /withdrawals // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L353 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/unlockSubAccount.js b/examples/apidoc/RestClient/unlockSubAccount.js index 7e54040..83bf005 100644 --- a/examples/apidoc/RestClient/unlockSubAccount.js +++ b/examples/apidoc/RestClient/unlockSubAccount.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/unlock // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L772 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateAutoRepaymentSetting.js b/examples/apidoc/RestClient/updateAutoRepaymentSetting.js index eb7e8c7..c1a2a6c 100644 --- a/examples/apidoc/RestClient/updateAutoRepaymentSetting.js +++ b/examples/apidoc/RestClient/updateAutoRepaymentSetting.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /margin/auto_repay // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1470 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateDeliveryLeverage.js b/examples/apidoc/RestClient/updateDeliveryLeverage.js index 907f9de..5d66d43 100644 --- a/examples/apidoc/RestClient/updateDeliveryLeverage.js +++ b/examples/apidoc/RestClient/updateDeliveryLeverage.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/positions/{contract}/leverage // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2754 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateDeliveryMargin.js b/examples/apidoc/RestClient/updateDeliveryMargin.js index e129d80..056be1b 100644 --- a/examples/apidoc/RestClient/updateDeliveryMargin.js +++ b/examples/apidoc/RestClient/updateDeliveryMargin.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/positions/{contract}/margin // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2736 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateDeliveryRiskLimit.js b/examples/apidoc/RestClient/updateDeliveryRiskLimit.js index 10c8788..994d8c3 100644 --- a/examples/apidoc/RestClient/updateDeliveryRiskLimit.js +++ b/examples/apidoc/RestClient/updateDeliveryRiskLimit.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /delivery/{settle}/positions/{contract}/risk_limit // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2772 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateDualModePositionLeverage.js b/examples/apidoc/RestClient/updateDualModePositionLeverage.js index d8ea72b..a42740f 100644 --- a/examples/apidoc/RestClient/updateDualModePositionLeverage.js +++ b/examples/apidoc/RestClient/updateDualModePositionLeverage.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/dual_comp/positions/{contract}/leverage // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2205 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateDualModePositionMargin.js b/examples/apidoc/RestClient/updateDualModePositionMargin.js index 27c45bc..9b94bf9 100644 --- a/examples/apidoc/RestClient/updateDualModePositionMargin.js +++ b/examples/apidoc/RestClient/updateDualModePositionMargin.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/dual_comp/positions/{contract}/margin // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2189 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateDualModePositionRiskLimit.js b/examples/apidoc/RestClient/updateDualModePositionRiskLimit.js index b4ba953..70c6ccb 100644 --- a/examples/apidoc/RestClient/updateDualModePositionRiskLimit.js +++ b/examples/apidoc/RestClient/updateDualModePositionRiskLimit.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/dual_comp/positions/{contract}/risk_limit // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2221 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateFuturesDualMode.js b/examples/apidoc/RestClient/updateFuturesDualMode.js index 04e0fa9..9a387c3 100644 --- a/examples/apidoc/RestClient/updateFuturesDualMode.js +++ b/examples/apidoc/RestClient/updateFuturesDualMode.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/dual_mode // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2158 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateFuturesLeverage.js b/examples/apidoc/RestClient/updateFuturesLeverage.js index 2924ded..2f74eb2 100644 --- a/examples/apidoc/RestClient/updateFuturesLeverage.js +++ b/examples/apidoc/RestClient/updateFuturesLeverage.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/positions/{contract}/leverage // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2119 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateFuturesMargin.js b/examples/apidoc/RestClient/updateFuturesMargin.js index 01d963c..77a2a3c 100644 --- a/examples/apidoc/RestClient/updateFuturesMargin.js +++ b/examples/apidoc/RestClient/updateFuturesMargin.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/positions/{contract}/margin // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2102 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateFuturesOrder.js b/examples/apidoc/RestClient/updateFuturesOrder.js index 60f8fda..11ecb45 100644 --- a/examples/apidoc/RestClient/updateFuturesOrder.js +++ b/examples/apidoc/RestClient/updateFuturesOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/orders/{order_id} // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2358 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateInterestReinvestment.js b/examples/apidoc/RestClient/updateInterestReinvestment.js index 1fcc969..1b99f89 100644 --- a/examples/apidoc/RestClient/updateInterestReinvestment.js +++ b/examples/apidoc/RestClient/updateInterestReinvestment.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/interest_reinvest // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3442 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateLendingOrder.js b/examples/apidoc/RestClient/updateLendingOrder.js index 9fa0b83..89bc483 100644 --- a/examples/apidoc/RestClient/updateLendingOrder.js +++ b/examples/apidoc/RestClient/updateLendingOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /earn/uni/lends // METHOD: PATCH // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3391 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateLoanCollateral.js b/examples/apidoc/RestClient/updateLoanCollateral.js index fd1e433..9093d3f 100644 --- a/examples/apidoc/RestClient/updateLoanCollateral.js +++ b/examples/apidoc/RestClient/updateLoanCollateral.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/collateral/collaterals // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3537 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateMultiLoan.js b/examples/apidoc/RestClient/updateMultiLoan.js index ea229de..7dd28f0 100644 --- a/examples/apidoc/RestClient/updateMultiLoan.js +++ b/examples/apidoc/RestClient/updateMultiLoan.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /loan/multi_collateral/mortgage // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L3666 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updatePositionRiskLimit.js b/examples/apidoc/RestClient/updatePositionRiskLimit.js index 1603e37..67938ee 100644 --- a/examples/apidoc/RestClient/updatePositionRiskLimit.js +++ b/examples/apidoc/RestClient/updatePositionRiskLimit.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /futures/{settle}/positions/{contract}/risk_limit // METHOD: POST // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L2138 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateSpotOrder.js b/examples/apidoc/RestClient/updateSpotOrder.js index 8b7dd89..71b1638 100644 --- a/examples/apidoc/RestClient/updateSpotOrder.js +++ b/examples/apidoc/RestClient/updateSpotOrder.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /spot/orders/{order_id} // METHOD: PATCH // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L1255 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/examples/apidoc/RestClient/updateSubAccountApiKey.js b/examples/apidoc/RestClient/updateSubAccountApiKey.js index ad973d4..e935eda 100644 --- a/examples/apidoc/RestClient/updateSubAccountApiKey.js +++ b/examples/apidoc/RestClient/updateSubAccountApiKey.js @@ -5,7 +5,6 @@ const { RestClient } = require('gateio-api'); // ENDPOINT: /sub_accounts/{user_id}/keys/{key} // METHOD: PUT // PUBLIC: NO - // Link to function: https://github.com/tiagosiebler/gateio-api/blob/master/src/RestClient.ts#L721 const client = new RestClient({ apiKey: 'insert_api_key_here', diff --git a/package-lock.json b/package-lock.json index eda6e4c..ebd9e73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gateio-api", - "version": "1.0.20", + "version": "1.0.21", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gateio-api", - "version": "1.0.20", + "version": "1.0.21", "license": "MIT", "dependencies": { "axios": "^1.6.6", diff --git a/package.json b/package.json index a17f6e9..f7c33d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gateio-api", - "version": "1.0.20", + "version": "1.0.21", "description": "Complete & robust Node.js SDK for Gate.io's REST APIs, WebSockets & WebSocket APIs, with TypeScript declarations.", "scripts": { "clean": "rm -rf dist/*", diff --git a/src/RestClient.ts b/src/RestClient.ts index 1ca8ed3..2b13994 100644 --- a/src/RestClient.ts +++ b/src/RestClient.ts @@ -329,6 +329,75 @@ export class RestClient extends BaseRestClient { return this; } + /** + * + * Custom SDK functions + * + */ + + /** + * This method is used to get the latency and time sync between the client and the server. + * This is not official API endpoint and is only used for internal testing purposes. + * Use this method to check the latency and time sync between the client and the server. + * Final values might vary slightly, but it should be within few ms difference. + * If you have any suggestions or improvements to this measurement, please create an issue or pull request on GitHub. + */ + async fetchLatencySummary(): Promise { + const clientTimeReqStart = Date.now(); + const serverTime = await this.getServerTime(); + const clientTimeReqEnd = Date.now(); + console.log('serverTime', serverTime); + + const serverTimeMs = serverTime.server_time; + const roundTripTime = clientTimeReqEnd - clientTimeReqStart; + const estimatedOneWayLatency = Math.floor(roundTripTime / 2); + + // Adjust server time by adding estimated one-way latency + const adjustedServerTime = serverTimeMs + estimatedOneWayLatency; + + // Calculate time difference between adjusted server time and local time + const timeDifference = adjustedServerTime - clientTimeReqEnd; + + const result = { + localTime: clientTimeReqEnd, + serverTime: serverTimeMs, + roundTripTime, + estimatedOneWayLatency, + adjustedServerTime, + timeDifference, + }; + + console.log('Time synchronization results:'); + console.log(result); + + console.log( + `Your approximate latency to exchange server: + One way: ${estimatedOneWayLatency}ms. + Round trip: ${roundTripTime}ms. + `, + ); + + if (timeDifference > 500) { + console.warn( + `WARNING! Time difference between server and client clock is greater than 500ms. It is currently ${timeDifference}ms. + Consider adjusting your system clock to avoid unwanted clock sync errors! + Visit https://github.com/tiagosiebler/awesome-crypto-examples/wiki/Timestamp-for-this-request-is-outside-of-the-recvWindow for more information`, + ); + } else { + console.log( + `Time difference between server and client clock is within acceptable range of 500ms. It is currently ${timeDifference}ms.`, + ); + } + + return result; + } + + /** + * + * Gate.io misc endpoints + * + */ + getClientType(): RestClientType { return REST_CLIENT_TYPE_ENUM.main; }