Deposit And Withdraw

Query deposit address information

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#query-deposit-address-information

Function Name:

getDepositAddress()

Usage:

import { createExchange } from "./exchanges/exchange.js";

   let myPhemexExchange  = createExchange({
      exchange: "phemex",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      label: "phemex"
  });

async function getDepositAddress(exchange, options) {
    try {
        let result = await exchange.getDepositAddress(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

let result = await getDepositAddress(myPhemexExchange, {
         currency: "BTC",
         chainName: "BTC"
     });

Query deposit history records

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#query-deposit-history-records

Function Name:

Usage:

Query deposit chain settings

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#query-deposit-chain-settings

Function Name:

Usage:

Query withdraw history records

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#query-withdraw-history-records

Function Name:

Usage:

Create withdraw request

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#create-withdraw-request

Function Name:

Usage:

Cancel withdraw request

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#cancel-withdraw-request

Function Name:

Usage:

Query withdraw chain settings

Please refer to the official Phemex API Docs for the Required parameters.

https://phemex-docs.github.io#query-withdraw-chain-settings

Function Name:

Usage:

Last updated