Vault Redemption
Parameters
- vault_address: Vault address (string, required)
- depositor_address: Address of the depositor (string)
- assets: Amount of USDC to redeem. Accepts whole numbers or decimals (e.g. 100 or 100.20) (string)
- network: Network to redeem on (string)
Response
Success Response
Code: 201
Data
{
"data": {
"signing_payload": "0xea7cfc66127908a67dd48553d330151f0e437601659d69532ec8f9b9170e6bd0",
"unsigned_transaction_serialized": "0x02f85083aa36a781c38459682f008459682f1a830802c894d1f0774ccff0ce4f36dea57b6a28ab7feb0a01b080a4aa2f892d00000000000000000000000000000000000000000000000000000000386dbda8c0",
"network": "mainnet"
}
}
Example cURL Request
curl --request POST \
--url https://api.figment.io/opentrade/vaults/vault_address/redeem \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: your-api-key-here'