如何在Binance的测试网上使用API密钥/秘密?
按照此处的说明, https://docs.binance.org/smart-chain-chain-chain-chain-chain-chain /wallet/arkane.html ,我使用其“ 0x”前缀的钱包地址创建了一个Binance SmartChain帐户。然后,我增加了资金。我不知道是如何获得TestNet API键和秘密,以便我可以测试我的Python API调用。我像这样创建客户端,
from binance.client import Client
...
auth_client = Client(key, b64secret)
if account.testing:
auth_client.API_URL = 'https://testnet.binance.vision/api'
如何获得与我的Binance SmartChain地址相关的API键?
Following the instructions here, https://docs.binance.org/smart-chain/wallet/arkane.html, I created a Binance SmartChain account with its "0x" prefixed wallet address. I then added funds. What I can't figure out is how I get a TestNet API key and secret so that I can test my Python API calls. I create the client like so
from binance.client import Client
...
auth_client = Client(key, b64secret)
if account.testing:
auth_client.API_URL = 'https://testnet.binance.vision/api'
How do I get an API key tied to my Binance SmartChain address?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须从
做工作。
You have to create your API credentials from here and pass the testnet variable into the Client constructor. See the
documentation.
does the job.