synthetic

Withdraw Pegged Token

🚧 Deprecation notice

This endpoint will be deprecated on 4 November 2026.

Processes the withdrawal of synthetic tokens from the Synthetix protocol. It executes a transaction that includes configurable gas priorities and built-in security validations, ensuring that synthetic token withdrawals are handled securely and efficiently on the blockchain.

💡 Compute Unit Value: 100 (Fixed)

post/defi/v1/synthetic/withdrawpeggedtoken

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/synthetic/withdrawpeggedtoken
  • Auth
    API key in header X-API-Key

Request body

syntheticId'6000'

The unique ID to specify the synthetic protocol for queries or transactions.

fromstring required

Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction.

gasstring

Maximum number of gas units to allocate for the transaction, as an integer string (e.g., '200000'). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.

gasPrioritystring

Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost.

enableFeeboolean

Flag to include a basis points fee transaction alongside the main transaction when set to true.

Example request

{
  "syntheticId": "6000",
  "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
  "gas": "100000",
  "gasPriority": "low",
  "enableFee": false
}

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "chainId": "1",
    "from": "0x63056E00436Da25BcF48A40dfBbDcc7089351006",
    "value": "0",
    "gas": "300000",
    "data": "0x81b797dc",
    "to": "0xE1f64079aDa6Ef07b03982Ca34f1dD7152AA3b86"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.