Peer
Network peer and validator information
Get ANR by public key
Retrieve Address and Routing (ANR) information for a specific peer by public key
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Peer","description":"Network peer and validator information"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/peer/anr/{pk}":{"get":{"tags":["Peer"],"summary":"Get ANR by public key","description":"Retrieve Address and Routing (ANR) information for a specific peer by public key","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"ANR information","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"anr":{"type":"object","description":"Address and Routing information"}}}}}}}}}}}
Get ANRs for all validators
Retrieve Address and Routing information for all active validators
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Peer","description":"Network peer and validator information"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/peer/anr_validators":{"get":{"tags":["Peer"],"summary":"Get ANRs for all validators","description":"Retrieve Address and Routing information for all active validators","responses":{"200":{"description":"List of validator ANRs","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"anrs":{"type":"array","items":{"type":"object"}}}}}}}}}}}}
Get all ANRs
Retrieve Address and Routing information for all known peers
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Peer","description":"Network peer and validator information"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/peer/anr":{"get":{"tags":["Peer"],"summary":"Get all ANRs","description":"Retrieve Address and Routing information for all known peers","responses":{"200":{"description":"List of all ANRs","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"anrs":{"type":"array","items":{"type":"object"}}}}}}}}}}}}
Get all nodes
Retrieve information about all connected nodes
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Peer","description":"Network peer and validator information"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/peer/nodes":{"get":{"tags":["Peer"],"summary":"Get all nodes","description":"Retrieve information about all connected nodes","responses":{"200":{"description":"List of nodes","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"nodes":{"type":"array","items":{"type":"object"}}}}}}}}}}}}
Get all trainers (validators)
Retrieve list of all active validator nodes
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Peer","description":"Network peer and validator information"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/peer/trainers":{"get":{"tags":["Peer"],"summary":"Get all trainers (validators)","description":"Retrieve list of all active validator nodes","responses":{"200":{"description":"List of trainers","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"trainers":{"type":"array","items":{"type":"object"}}}}}}}}}}}}
Get removed trainers
Retrieve list of validators that have been removed
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Peer","description":"Network peer and validator information"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/peer/removed_trainers":{"get":{"tags":["Peer"],"summary":"Get removed trainers","description":"Retrieve list of validators that have been removed","responses":{"200":{"description":"List of removed trainers","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"removed_trainers":{"type":"array","items":{"type":"object"}}}}}}}}}}}}