The Redeem Token Endpoint allows users to redeem their tokens and dissolve the underlying smart contract in exchange for satoshis. Only users having a manager or admin roles can access this endpoint.
The request body is a JSON object that contains an array of data items, each representing a single redemption request. Each data item in the array should contain the following properties:
"amount": The amount of tokens to be redeemed, represented as a positive integer.
"tokenId": The identifier of the token to be redeemed, represented as a string.
"sn": The serial number of the token to be redeemed, represented as a positive integer.
The Token Details API is a GET request endpoint that returns detailed information about a specific token. This API can be accessed by all authorized users.
The API endpoint is a URL that consists of the base URL followed by the token Id in the format ':id'.