0

I was going trying to use the binance API for getting the token address for the BNB ERC-20 token.

But using just BNB as the asset name returns the Binance Chain address for the BNB token.

I have tried the following asset names,

BNBERC-20, BNBERC, EBNB, BNB-ERC20. You get the drift. Does anyone know what is the token/asset name so that I can retrieve the token address for BNB ERC-20 token for my account?

0

1 Answer 1

1

Passing network='ETH' into the request payload worked for me.

I tried with the python-binance library, so:

from binance.client import Client
client = Client(api_key, api_secret)
print(client.get_deposit_address(asset='BNB',network='ETH'))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.