Caller's public IP as seen by the Hub (used by necter-miner to print its remote dashboard URL)
GET
/v1/whoami
const url = 'https://testnet-rpc.necter.network/v1/whoami';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://testnet-rpc.necter.network/v1/whoamiResponses
Section titled “Responses”Caller
Media typeapplication/json
object
ip
required
string
time
required
integer
Example
{ "ip": "203.0.113.7"}