action eos_status { label: "status" description: "Retrieves the connection status for a specified peer." provider: eos method: POST path: "/net/status" encoding: json input: { type: "object" required: ["endpoint"] properties: { endpoint: { type: "string" description: "the endpoint to get the status for, to expressed as either IP address or URL" } } } output: { type: "object" properties: { connecting: { type: "boolean" description: "True if the peer is connecting, otherwise false" } last_handshake: { type: "object" description: "Structure holding detailed information about the connection" properties: { agent: { type: "string" description: "Agent name" } chain_id: { type: "object" additionalProperties: true } generation: { type: "integer" description: "Generation number" } head_id: { type: "object" additionalProperties: true } head_num: { type: "integer" description: "Head number" } key: { type: "string" description: "Base58 encoded EOSIO public key" } last_irreversible_block_id: { type: "object" additionalProperties: true } last_irreversible_block_num: { type: "integer" description: "Last irreversible block number" } network_version: { type: "integer" description: "Incremental value above a computed base" } node_id: { type: "object" additionalProperties: true } os: { type: "string" description: "Operating system name" } p2p_address: { type: "string" description: "IP address or URL of the peer" } sig: { type: "string" description: "Base58 encoded EOSIO cryptographic signature" } time: { type: "string" description: "Date/time string in the format YYYY-MM-DDTHH:MM:SS.sss" } token: { type: "string" } } } peer: { type: "string" description: "The IP address or URL of the peer" } syncing: { type: "boolean" description: "True if the peer is syncing, otherwise false" } } } }