Skip to content

Commit b4e6ee2

Browse files
committed
refactor: update rest method links to api docs
1 parent 0432f0e commit b4e6ee2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/client.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ export class Client {
505505
*
506506
* Requires the "Place/cancel orders" API key Access Right.
507507
*
508-
* https://api.exchange.cryptomkt.com/#get-active-spot-orders
508+
* https://api.exchange.cryptomkt.com/#get-active-spot-order
509509
*
510510
* @param {string} client_order_id The clientOrderId of the order
511511
*
@@ -669,7 +669,7 @@ export class Client {
669669
*
670670
* Requires the "Place/cancel orders" API key Access Right.
671671
*
672-
* https://api.exchange.cryptomkt.com/#get-all-trading-commission
672+
* https://api.exchange.cryptomkt.com/#get-all-trading-commissions
673673
*
674674
* @return A list of commission rates
675675
*/
@@ -800,7 +800,7 @@ export class Client {
800800
*
801801
* Requires the "Payment information" API key AccesrkRight.
802802
*
803-
*, network_code https://api.exchange.cryptomkt.com/#deposit-crypto-address
803+
* https://api.exchange.cryptomkt.com/#get-deposit-crypto-address
804804
*
805805
* @return A list of currency addresses
806806
*/
@@ -813,7 +813,7 @@ export class Client {
813813
*
814814
* Requires the "Payment information" API key Access Right.
815815
*
816-
* https://api.exchange.cryptomkt.com/#deposit-crypto-address
816+
* https://api.exchange.cryptomkt.com/#get-deposit-crypto-address
817817
*
818818
* @param {string} currency currency to get the address
819819
*
@@ -855,7 +855,7 @@ export class Client {
855855
*
856856
* Requires the "Payment information" API key Access Right.
857857
*
858-
* https://api.exchange.cryptomkt.com/#last-10-deposit-crypto-address
858+
* https://api.exchange.cryptomkt.com/#last-10-deposit-crypto-addresses
859859
*
860860
* @param {string} currency currency to get the list of addresses
861861
* @param {string} [network_code] Optional. network code
@@ -966,13 +966,13 @@ Accepted values: never, optionally, required
966966
*
967967
* Requires the "Payment information" API key Access Right.
968968
*
969-
* https://api.exchange.cryptomkt.com/#get-spot-fees
969+
* https://api.exchange.cryptomkt.com/#estimate-withdrawal-fees
970970
*
971971
* @param {FeeRequest[]} feeRequests A list of fee requests
972972
*
973973
* @return The list of requested fees
974974
*/
975-
async getEstimateWithdrawFees(feeRequests: FeeRequest[]): Promise<Fee[]> {
975+
async getEstimateWithdrawalFees(feeRequests: FeeRequest[]): Promise<Fee[]> {
976976
return this.post("wallet/crypto/fees/estimate", feeRequests);
977977
}
978978

@@ -981,7 +981,7 @@ Accepted values: never, optionally, required
981981
*
982982
* Requires the "Payment information" API key Access Right.
983983
*
984-
* https://api.exchange.cryptomkt.com/#estimate-withdraw-fee
984+
* https://api.exchange.cryptomkt.com/#estimate-withdrawal-fee
985985
*
986986
* @param {object} params
987987
* @param {string} params.currency the currency code for withdraw
@@ -990,7 +990,7 @@ Accepted values: never, optionally, required
990990
*
991991
* @return The expected fee
992992
*/
993-
async getEstimateWithdrawFee(params: {
993+
async getEstimateWithdrawalFee(params: {
994994
currency: string;
995995
amount: string;
996996
network_code?: string;

0 commit comments

Comments
 (0)