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 and signs a transaction for initializing an application-based crypto prediction. Returns a signed transaction that can be submitted to the blockchain.
Parameters
| Name | Type | Header | Required | Description |
|---|
| Authorization | string | Authorization | yes | Authorization Bearer token |
Request
Prediction join request.
Type: object. Request content type: application / json . Body:
{
"answer": 0,
"commission_rate": 0,
"deadline": "string",
"duel_info": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"duel_price": 0,
"is_owner_resolving": true,
"logo_url": "string",
"max_price": 0,
"min_price": 0,
"price_type": "string",
"question": "string",
"source_of_truth": "string",
"symbol": "string"
}
Responses
Response content type: application / json .
Code 200
Signed transaction returned successfully.
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
}