print("bhive_acc.virtual_op_count()  {}".format(
     bhive_acc.virtual_op_count()))
 print("hive_acc.virtual_op_count() {}".format(hive_acc.virtual_op_count()))
 # get_account_votes
 print("bhive_acc.get_account_votes()  {}".format(
     bhive_acc.get_account_votes()))
 print("hive_acc.get_account_votes() {}".format(
     hive_acc.get_account_votes()))
 # get_withdraw_routes
 print("bhive_acc.get_withdraw_routes()  {}".format(
     bhive_acc.get_withdraw_routes()))
 print("hive_acc.get_withdraw_routes() {}".format(
     hive_acc.get_withdraw_routes()))
 # get_conversion_requests
 print("bhive_acc.get_conversion_requests()  {}".format(
     bhive_acc.get_conversion_requests()))
 print("hive_acc.get_conversion_requests() {}".format(
     hive_acc.get_conversion_requests()))
 # export
 # history
 bhive_hist = []
 for h in bhive_acc.history(only_ops=["transfer"]):
     bhive_hist.append(h)
     if len(bhive_hist) >= 10:
         break
 hive_hist = []
 for h in hive_acc.history(filter_by="transfer", start=0):
     hive_hist.append(h)
     if len(hive_hist) >= 10:
         break
 print("bhive_acc.history()  {}".format(bhive_hist))
Пример #2
0
     bsteem_acc.virtual_op_count()))
 print("steem_acc.virtual_op_count() {}".format(
     steem_acc.virtual_op_count()))
 # get_account_votes
 print("bsteem_acc.get_account_votes()  {}".format(
     bsteem_acc.get_account_votes()))
 print("steem_acc.get_account_votes() {}".format(
     steem_acc.get_account_votes()))
 # get_withdraw_routes
 print("bsteem_acc.get_withdraw_routes()  {}".format(
     bsteem_acc.get_withdraw_routes()))
 print("steem_acc.get_withdraw_routes() {}".format(
     steem_acc.get_withdraw_routes()))
 # get_conversion_requests
 print("bsteem_acc.get_conversion_requests()  {}".format(
     bsteem_acc.get_conversion_requests()))
 print("steem_acc.get_conversion_requests() {}".format(
     steem_acc.get_conversion_requests()))
 # export
 # history
 bsteem_hist = []
 for h in bsteem_acc.history(only_ops=["transfer"]):
     bsteem_hist.append(h)
     if len(bsteem_hist) >= 10:
         break
 steem_hist = []
 for h in steem_acc.history(filter_by="transfer", start=0):
     steem_hist.append(h)
     if len(steem_hist) >= 10:
         break
 print("bsteem_acc.history()  {}".format(bsteem_hist))