REMOVE_COLLATERAL
Remove collateral from a BAMM position by specifying the BAMM contract address, collateral token details, and the amount to withdraw on the Fraxtal blockchain.
Instructions
Remove collateral from your BAMM position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | The amount of collateral to remove | |
bammAddress | Yes | The address of the BAMM contract | |
collateralToken | No | The address of the collateral token | |
collateralTokenSymbol | No | The symbol of the collateral token (e.g., 'IQT') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "The amount of collateral to remove",
"minLength": 1,
"type": "string"
},
"bammAddress": {
"description": "The address of the BAMM contract",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"collateralToken": {
"description": "The address of the collateral token",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"collateralTokenSymbol": {
"description": "The symbol of the collateral token (e.g., 'IQT')",
"type": "string"
}
},
"required": [
"bammAddress",
"amount"
],
"type": "object"
}