mallow docs

Cancel raffle

POST
/v2/tx/raffles/cancel

Builds a transaction cancelling raffle raffleKey and returning the prize to creator, who must have created it. Tickets already sold become refundable.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Cancels a raffle and returns the prize to its creator. Tickets already sold become refundable to their buyers once the cancellation confirms.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/raffles/cancel" \  -H "Content-Type: application/json" \  -d '{    "creator": "string",    "raffleKey": "string"  }'
{  "result": {    "tx": "string"  }}