api.steemit.com broken?
I was playing around with the get_ops_in_block
function in steem-python
and was receiving no results.
So I began testing:
nodes =[
'https://steemd.pevo.science',
'https://api.steemit.com',
'https://rpc.steemviz.com',
'https://steemd.minnowsupportproject.org',
'https://rpc.buildteam.io',
'https://gtg.steem.house:8090',
'https://rpc.steemliberator.com'
]
for node in nodes:
my_node =[node]
s = Steem(nodes=my_node)
print(node)
print(s.get_ops_in_block(block_num=1,virtual_only=True))
With following output:
[{'trx_id': '0000000000000000000000000000000000000000', 'block': 1, 'trx_in_block': 0, 'op_in_trx': 0, 'virtual_op': 0, 'timestamp': '2016-03-24T16:05:00', 'op': ['producer_reward', {'producer': 'initminer', 'vesting_shares': '1.000000 VESTS'}]}]
https://api.steemit.com
[]
https://rpc.steemviz.com
[{'trx_id': '0000000000000000000000000000000000000000', 'block': 1, 'trx_in_block': 0, 'op_in_trx': 0, 'virtual_op': 0, 'timestamp': '2016-03-24T16:05:00', 'op': ['producer_reward', {'producer': 'initminer', 'vesting_shares': '1.000000 VESTS'}]}]
https://steemd.minnowsupportproject.org
[]
https://rpc.buildteam.io
[{'trx_id': '0000000000000000000000000000000000000000', 'block': 1, 'trx_in_block': 0, 'op_in_trx': 0, 'virtual_op': 0, 'timestamp': '2016-03-24T16:05:00', 'op': ['producer_reward', {'producer': 'initminer', 'vesting_shares': '1.000000 VESTS'}]}]
https://gtg.steem.house:8090
[{'trx_id': '0000000000000000000000000000000000000000', 'block': 1, 'trx_in_block': 0, 'op_in_trx': 0, 'virtual_op': 0, 'timestamp': '2016-03-24T16:05:00', 'op': ['producer_reward', {'producer': 'initminer', 'vesting_shares': '1.000000 VESTS'}]}]
https://rpc.steemliberator.com
[{'trx_id': '0000000000000000000000000000000000000000', 'block': 1, 'trx_in_block': 0, 'op_in_trx': 0, 'virtual_op': 0, 'timestamp': '2016-03-24T16:05:00', 'op': ['producer_reward', {'producer': 'initminer', 'vesting_shares': '1.000000 VESTS'}]}]
It seems, 'https://api.steemit.com'
and 'https://steemd.minnowsupportproject.org'
don't support this function any more?
Or is my approach completely wrong?
This post has been upvoted by @microbot with 23.5%!
Vote for my creator @isnochys as witness!