Skip to main content
POST
/
2
/
pm
/
approval
/
build
Build approval transactions
curl --request POST \
  --url https://demo-api.mobula.io/api/2/pm/approval/build \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "isNegRisk": false
}
'
{
  "data": [
    {
      "to": "<string>",
      "calldata": "<string>",
      "chainId": 123
    }
  ],
  "hostname": "<string>",
  "took": 123
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Body

application/json
address
string
required

Wallet address

isNegRisk
boolean
default:false

Response

200 - application/json

Approval transactions

data
object[]
hostname
string
took
number