/api/v0/bootstrap/add
Add peers to the bootstrap list.
Arguments
arg[string]: A peer to add to the bootstrap list (in the format '<multiaddr>/<peerID>') Required: no.default[bool]: Add default bootstrap nodes. (Deprecated, use 'default' subcommand instead). Required: no.
Response
On success, the call to this endpoint will return with 200 and the following body:
{
"Peers": [
"<string>"
]
}
cURL Example
curl -X POST "http://127.0.0.1:5001/api/v0/bootstrap/add?arg=<peer>&default=<value>"
Last updated