Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.duelduck.com/llms.txt

Use this file to discover all available pages before exploring further.

Creates a signed transaction that allows a user to join an app-based crypto prediction.

Parameters

NameTypeHeaderRequiredDescription
AuthorizationstringAuthorizationyesAuthorization Bearer token

Request

Prediction join request. Type: object. Request content type: application / json . Body:
{
  "answer": 0,
  "duel_id": "string",
  "external_source": "string",
  "invited_by": "string",
  "paid_price": 0
}

Responses

Response content type: application / json .

Code 200

Signed transaction returned successfully.
{
  "tx": "string"
}

Code 400

Invalid request data.
{
  "message": "string",
  "status": 0
}

Code 401

Unauthorized - Invalid or missing claims.
{
  "message": "string",
  "status": 0
}

Code 500

Internal server error.
{
  "message": "string",
  "status": 0
}