Skip to main content

checkClaim

POST 

https://locksmith.unlock-protocol.com/claim/:network/locks/:lockAddress

Check if claim is possible for a given purchase

Request

Responses

Send true if purchase can be claimed
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://locksmith.unlock-protocol.com/claim/:network/locks/:lockAddress");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"recipients\": [\n \"string\"\n ],\n \"data\": [\n \"string\"\n ]\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://locksmith.unlock-protocol.com
Parameters
— pathrequired
— pathrequired
Body
{
  "recipients": [
    "string"
  ],
  "data": [
    "string"
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!