You are viewing a single comment's thread from:

RE: HIVE上使用steem-python的一些尝试 (上)

in #cn5 years ago (edited)

这样:

node = 'https://anyx.io'
hive=Hive(nodes=node)

举个查询账户余额的例子:

from hive.account import Account
from hive import Hive


node = 'https://anyx.io'
hive=Hive(nodes=node)
acc=Account("fishaa",hived_instance=hive)
banner=acc.get_balances()
print(banner)