post https://ckb-mirana.unifra.io/v1/
Returns the connected peers’ information.
Parameters
- none
Returns
Array< RemoteNode >
Example
Request
curl --location --request POST 'https://ckb-mirana.unifra.io/v1/4fb36720a57340d39aee4cf68511064a' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 42,
"jsonrpc": "2.0",
"method": "get_peers",
"params": []
}'
Result
{
"jsonrpc": "2.0",
"result": [
{
"addresses": [
{
"address": "/ip4/54.64.186.239/tcp/8115/p2p/QmdBc1qsvDpcm36kUY5QFQL154eJDknw1RBJQDmH89PNJZ",
"score": "0x64"
},
{
"address": "/ip4/54.64.186.239/tcp/8115/p2p/QmdBc1qsvDpcm36kUY5QFQL154eJDknw1RBJQDmH89PNJZ",
"score": "0x64"
}
],
"connected_duration": "0x4ed2c1bc",
"is_outbound": true,
"last_ping_duration": "0x91",
"node_id": "QmdBc1qsvDpcm36kUY5QFQL154eJDknw1RBJQDmH89PNJZ",
"protocols": [
{
"id": "0x64",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x1",
"version": "2"
},
{
"id": "0x4",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x0",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.103.0 (e77138e 2022-04-11)"
},
{
"addresses": [
{
"address": "/ip4/47.242.44.62/tcp/8115/p2p/Qme3qEJrYYPHSbtEuFnhnmJiYwZP7p6Z5g3WHC9NyCEQqh",
"score": "0x64"
},
{
"address": "/ip4/47.242.44.62/tcp/8115/p2p/Qme3qEJrYYPHSbtEuFnhnmJiYwZP7p6Z5g3WHC9NyCEQqh",
"score": "0x64"
}
],
"connected_duration": "0x30cd5b92",
"is_outbound": true,
"last_ping_duration": "0xe0",
"node_id": "Qme3qEJrYYPHSbtEuFnhnmJiYwZP7p6Z5g3WHC9NyCEQqh",
"protocols": [
{
"id": "0x1",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x0",
"version": "2"
},
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x64",
"version": "2"
},
{
"id": "0x4",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.104.0 ( )"
},
{
"addresses": [
{
"address": "/ip4/162.19.139.183/tcp/8115/p2p/QmTRCwek7KX9H8kbaUsB1ixayVpr38DaVjPrBgGhtPpiXs",
"score": "0x64"
},
{
"address": "/ip4/162.19.139.183/tcp/8115/p2p/QmTRCwek7KX9H8kbaUsB1ixayVpr38DaVjPrBgGhtPpiXs",
"score": "0x64"
}
],
"connected_duration": "0x486d56e8",
"is_outbound": true,
"last_ping_duration": "0x56",
"node_id": "QmTRCwek7KX9H8kbaUsB1ixayVpr38DaVjPrBgGhtPpiXs",
"protocols": [
{
"id": "0x1",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x4",
"version": "2"
},
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x0",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x64",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.103.0 (e77138e 2022-04-11)"
},
{
"addresses": [
{
"address": "/ip4/39.106.122.81/tcp/8115/p2p/QmUhNuJnATiyHkELnd3m3Z6NDwufPBvd21vZSRVCq8wQw2",
"score": "0x64"
},
{
"address": "/ip4/39.106.122.81/tcp/8115/p2p/QmUhNuJnATiyHkELnd3m3Z6NDwufPBvd21vZSRVCq8wQw2",
"score": "0x64"
}
],
"connected_duration": "0xcbc43d1",
"is_outbound": true,
"last_ping_duration": "0xd8",
"node_id": "QmUhNuJnATiyHkELnd3m3Z6NDwufPBvd21vZSRVCq8wQw2",
"protocols": [
{
"id": "0x0",
"version": "2"
},
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x1",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x4",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x64",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.103.0 (e77138e 2022-04-11)"
},
{
"addresses": [
{
"address": "/ip4/47.243.189.83/tcp/8115/p2p/QmS66nReNbDhsz6H2mswfJnv3X4J2evQrNEW4UK488Hnmy",
"score": "0x64"
},
{
"address": "/ip4/47.243.189.83/tcp/8115/p2p/QmS66nReNbDhsz6H2mswfJnv3X4J2evQrNEW4UK488Hnmy",
"score": "0x64"
},
{
"address": "/ip4/47.243.189.83/tcp/8115/p2p/QmP6CdvhmDKLSLo1t55ihrqs4YCDxFNjm6fCbpNW7maX7j",
"score": "0x64"
}
],
"connected_duration": "0x466c2db6",
"is_outbound": true,
"last_ping_duration": "0xda",
"node_id": "QmS66nReNbDhsz6H2mswfJnv3X4J2evQrNEW4UK488Hnmy",
"protocols": [
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x1",
"version": "2"
},
{
"id": "0x4",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x64",
"version": "2"
},
{
"id": "0x0",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.103.0 (51a814a-dirty 2022-04-20)"
},
{
"addresses": [
{
"address": "/ip4/52.221.228.119/tcp/8115/p2p/Qme48Mbazi1gm12cBxv7pbLRLZso6LNfC3uR3YWVcEpEX1",
"score": "0x64"
},
{
"address": "/ip4/52.221.228.119/tcp/8115/p2p/Qme48Mbazi1gm12cBxv7pbLRLZso6LNfC3uR3YWVcEpEX1",
"score": "0x64"
}
],
"connected_duration": "0x1b3f0480",
"is_outbound": true,
"last_ping_duration": "0xd1",
"node_id": "Qme48Mbazi1gm12cBxv7pbLRLZso6LNfC3uR3YWVcEpEX1",
"protocols": [
{
"id": "0x64",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x1",
"version": "2"
},
{
"id": "0x0",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x4",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.103.0 (e77138e 2022-04-11)"
},
{
"addresses": [
{
"address": "/ip4/47.243.184.47/tcp/8115/p2p/QmPG6F3pfyoqDihKxuaowBZCGTYAz81Qobko6G53RhfWM7",
"score": "0x64"
},
{
"address": "/ip4/47.243.184.47/tcp/8115/p2p/QmPG6F3pfyoqDihKxuaowBZCGTYAz81Qobko6G53RhfWM7",
"score": "0x64"
}
],
"connected_duration": "0x4ed2fb21",
"is_outbound": true,
"last_ping_duration": "0xe0",
"node_id": "QmPG6F3pfyoqDihKxuaowBZCGTYAz81Qobko6G53RhfWM7",
"protocols": [
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x0",
"version": "2"
},
{
"id": "0x64",
"version": "2"
},
{
"id": "0x1",
"version": "2"
},
{
"id": "0x65",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x66",
"version": "2"
},
{
"id": "0x4",
"version": "2"
}
],
"sync_state": {
"best_known_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"best_known_header_number": "0x7ff6b2",
"can_fetch_count": "0x20",
"inflight_count": "0x0",
"last_common_header_hash": "0xa8fd32feb3256c3e41defebebed313b09a2135d42332e8542ff475881a7cdf65",
"last_common_header_number": "0x7ff6b2",
"unknown_header_list_size": "0x0"
},
"version": "0.103.0 (e77138e 2022-04-11)"
},
{
"addresses": [
{
"address": "/ip4/13.52.18.181/tcp/8114/p2p/QmcEK1wUR287qSYdw8eHNWeQrFitQsCaZHHTM9wgvakxnS",
"score": "0x64"
},
{
"address": "/ip4/13.52.18.181/tcp/8114/p2p/QmcEK1wUR287qSYdw8eHNWeQrFitQsCaZHHTM9wgvakxnS",
"score": "0x64"
}
],
"connected_duration": "0x30872dd",
"is_outbound": true,
"last_ping_duration": "0x3c",
"node_id": "QmcEK1wUR287qSYdw8eHNWeQrFitQsCaZHHTM9wgvakxnS",
"protocols": [
{
"id": "0x66",
"version": "2"
},
{
"id": "0x1",
"version": "2"
},
{
"id": "0x6e",
"version": "2"
},
{
"id": "0x64",
"version": "2"
},
{
"id": "0x0",
"version": "2"
},
{
"id": "0x2",
"version": "2"
},
{
"id": "0x4",
"version": "2"
},
{
"id": "0x65",
"version": "2"
}
],
"sync_state": null,
"version": "0.105.1 ( )"
}
],
"id": 42
}