collectFees · Collect Fees
may change things: you confirm before it runsCollect earned fees from a position
Input schema
{
"type": "object",
"properties": {
"chainName": {
"type": "string",
"enum": [
"bsc",
"ethereum",
"arbitrum",
"base",
"optimism",
"polygon",
"avalanche",
"plasma",
"hyperevm",
"monad",
"robinhood"
],
"description": "The chain where the operation takes place"
},
"positionIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "The ids of the positions to collect the fees from"
},
"userAddress": {
"type": "string",
"description": "The wallet address of the user"
}
},
"required": [
"chainName",
"positionIds",
"userAddress"
],
"additionalProperties": false
}