hookr_build_collect_fees · Build a fee collection
read-onlyBuilds the collection of a position's uncollected LP fees to the wallet that owns it, the principal untouched, simulated from the wallet: name tokenId for a position on Uniswap's PositionManager, or poolId for the launch's own position on a pool the wallet launched, which goes through the Launcher's withdraw with no liquidity and also moves the pool's arbitrage recapture share into the wallet's claims (hookr_claims). It returns ok with the call and its gas, or refused or unknown with the reason and no calls.
Input schema
{
"type": "object",
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The wallet that signs and is paid."
},
"tokenId": {
"type": "string",
"pattern": "^[1-9][0-9]{0,77}$",
"description": "A position on Uniswap's PositionManager, by its token id. Name tokenId or poolId, not both."
},
"poolId": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "A pool the wallet launched through Hookr: its launch's own position, which the Launcher holds for the wallet. Name tokenId or poolId, not both."
}
},
"required": [
"wallet"
],
"additionalProperties": false
}