Deposit And Withdraw
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
Function Name:
Usage:
Query deposit chain settings
Function Name:
Usage:
Query withdraw history records
Function Name:
Usage:
Create withdraw request
Function Name:
Usage:
Cancel withdraw request
Function Name:
Usage:
Query withdraw chain settings
Function Name:
Usage:
Last updated