Skip to main content
PUT
/
api
/
v1
/
app_data
Registers a full `appData` and returns `appDataHash`.
curl --request PUT \
  --url https://api.cow.fi/mainnet/api/v1/app_data \
  --header 'Content-Type: application/json' \
  --data '
{
  "fullAppData": "{\"version\":\"0.9.0\",\"metadata\":{}}"
}
'
"0x0000000000000000000000000000000000000000000000000000000000000000"

Body

application/json

The appData document to upload.

An appData document that is registered with the API.

fullAppData
string

The string encoding of a JSON object representing some appData. The format of the JSON expected in the appData field is defined here.

Example:

"{\"version\":\"0.9.0\",\"metadata\":{}}"

Response

The full appData already exists.

32 bytes encoded as hex with 0x prefix. It's expected to be the hash of the stringified JSON object representing the appData.

Example:

"0x0000000000000000000000000000000000000000000000000000000000000000"

Last modified on March 17, 2026