Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过什么方法可以获取其他代币约,比如一个地址的USDT余额的多少 ? #155

Open
dashiqiao opened this issue Jul 22, 2022 · 1 comment

Comments

@dashiqiao
Copy link

config, err := gosdk.NewClientConfig(rpcURL, "exchain-65", gosdk.BroadcastBlock, "0.0001okt", 200000,0, "")
cli := gosdk.NewClient(config)
accInfo, err := cli.Auth().QueryAccount(addr)

这时候只能拿到OKT余额。其他代币余额怎么读取 ??
求帮助

@Zavalynech
Copy link

config, err := gosdk.NewClientConfig(rpcURL, "exchain-65", gosdk.BroadcastBlock, "0.0001okt", 200000,0, "") cli := gosdk.NewClient(config) accInfo, err := cli.Auth ().QueryAccount(адрес)

这时候只能拿到OKT余额。其他代币余额怎么读取 ?? 求帮助

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants