/api/v0/bitswap/wantlist

Show blocks currently on the wantlist.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "Keys": [
    {
      "/": "<cid-string>"
    }
  ]
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/bitswap/wantlist?peer=<value>"


Last updated