Skip to main content
POST
/
2
/
pm
/
deposit
/
build
Build USDC deposit transaction
curl --request POST \
  --url https://demo-api.mobula.io/api/2/pm/deposit/build \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "amount": 123
}
'
{
  "data": {
    "to": "<string>",
    "calldata": "<string>",
    "chainId": 123,
    "safeAddress": "<string>"
  },
  "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
amount
number
required

USDC amount to deposit

Response

200 - application/json

Deposit transaction

data
object
hostname
string
took
number