Returns a transaction to initialize a prediction market idempotently
curl --request GET \
--url https://quote-api.dflow.net/prediction-market-init \
--header 'x-api-key: <api-key>'{
"computeUnitLimit": 1,
"lastValidBlockHeight": 1,
"transaction": "<string>"
}Prediction Market Utilities
Initialize Prediction Market
API reference for GET /prediction-market-init
GET
/
prediction-market-init
Returns a transaction to initialize a prediction market idempotently
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.
Authorizations
API key for authentication. Contact hello@dflow.net to obtain an API key.
Query Parameters
Base58-encoded address of the payer
Base58-encoded mint address of either outcome mint for the market to be initialized
Response
Prediction market init response
Compute unit limit assigned to the transaction
Required range:
x >= 0The last block height at which the blockhash assigned to the transaction is valid. Useful to determine whether the transaction has expired.
Required range:
x >= 0Base64-encoded transaction to initialize the market for the requested outcome mint. The payer must sign before sending it to Solana.
⌘I