# getCryptoAssetDepositAddress()

Returns the deposit address of a crypto asset.

  • Interface
class MidaTradingAccount {
    getCryptoAssetDepositAddress (asset: string, net: string): Promise<string>;
}
  • Example 1
const trxAddress = await myAccount.getCryptoAssetDepositAddress("TRX", "BNB");
  • Example 2
const btcAddress = await myAccount.getCryptoAssetDepositAddress("BTC", "");