Skip to main content
Merge Shares
curl --request POST \
  --url https://synthesis.trade/api/v1/wallet/pol/{wallet_id}/merge \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "condition_id": "<string>",
  "amount": "<string>"
}
'
{
  "success": true,
  "response": {
    "tx_hash": "0x..."
  }
}

Authorizations

X-API-KEY
string
header
required

Account secret API key.

Path Parameters

wallet_id
string
required

Body

application/json
condition_id
string
required
amount
string
required

Share amount to merge.

Response

201 - application/json

Polygon merge created