Configure a trusted node to be an access node.
PUT/v1/chains/:chainID/access-node/:peer
Configure a trusted node to be an access node.
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
peer stringrequired
Name or PubKey (hex) of the trusted peer
Responses
- 201
- 401
Access node was successfully added
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...