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