🤖 New: DFlow Agent CLI. Give your AI agent a Solana wallet and let it trade. Get started
curl --request GET \
--url https://quote-api.dflow.net/prediction-market-init \
--header 'x-api-key: <api-key>'{
"computeUnitLimit": 1,
"lastValidBlockHeight": 1,
"transaction": "<string>"
}API reference for GET /prediction-market-init
curl --request GET \
--url https://quote-api.dflow.net/prediction-market-init \
--header 'x-api-key: <api-key>'{
"computeUnitLimit": 1,
"lastValidBlockHeight": 1,
"transaction": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://pond.dflow.net/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Contact hello@dflow.net to obtain an API key.
Base58-encoded address of the payer
Base58-encoded mint address of either outcome mint for the market to be initialized
Prediction market init response
Compute unit limit assigned to the transaction
x >= 0The last block height at which the blockhash assigned to the transaction is valid. Useful to determine whether the transaction has expired.
x >= 0Base64-encoded transaction to initialize the market for the requested outcome mint. The payer must sign before sending it to Solana.