Skip to main content
POST
Set the on-chain approvals Predict.fun needs

Authorizations

X-Client-Id
string
header
required

Credential client id (kairos_ck_...). Must be sent together with X-Api-Key and X-Api-Secret.

X-Api-Key
string
header
required

64-char hex API key.

X-Api-Secret
string
header
required

64-char hex API secret.

Body

application/json
wallet_address
string
required

BSC EOA to enable. Must be owned by the authenticated caller.

Response

Approvals set (or already present).

success
boolean
required
message
string
required
tx_hashes
object
required

Per-variant approval transaction hashes, keyed by variant label (e.g. plain-binary, yield-negrisk). A variant already approved is a no-op and contributes no entry.