Closed yankunsam closed 6 years ago
And I can get the info by cleos.
➜ eosjs-react-native git:(master) ✗ cleos get info
{
"server_version": "7412253f",
"chain_id": "c40a90d6bcb4b9b2c2d4c0916ee97a29af42a420372af44fa4f538ddef9e6b83",
"head_block_num": 42094,
"last_irreversible_block_num": 42093,
"last_irreversible_block_id": "0000a46df3e1d478386ad008e7b8206b3bbbe139562035de0286de684a2e761d",
"head_block_id": "0000a46ec5594021ff88fab43e2eb322dcad8a6dad8018f907565efe39497832",
"head_block_time": "2018-08-11T06:02:48.500",
"head_block_producer": "eosio",
"virtual_block_cpu_limit": 200000000,
"virtual_block_net_limit": 1048576000,
"block_cpu_limit": 199900,
"block_net_limit": 1048576
}
Fixed. Thanks. I should use the node ip, not 127.0.0.1.
Thanks!