Burn

Burn a tokenized reward for the given contract address and token id.

POST/partner-api/tokenized-rewards/burn
Body
contract_address*string

The contract address

token_id*string

The id of the token

Response

Successful response

Body
burned_at*number

The time at which the token was burned, in epoch seconds

redeemed_by*string

The wallet address of the token holder

Request
const response = await fetch('/partner-api/tokenized-rewards/burn', {
    method: 'POST',
    headers: {
      "Content-Type": "multipart/form-data"
    },
    body: JSON.stringify({
      "contract_address": "text",
      "token_id": "text"
    }),
});
const data = await response.json();
Response
{
  "burned_at": 0,
  "redeemed_by": "text"
}