v1
latestOpenAPI 3.0.02026-07-175152156.1 KBApp
Ability
Executes an ability for multiple delegators in batch
Executes a Vincent ability for multiple delegators using a shared delegatee private key. Each delegator can have custom parameters that override the defaults. The delegatee app ID is automatically looked up from the private key.
post/app/{abilityName}/execute
Path parameters
abilityNamestring required
URL-friendly ability name (e.g., "relay-link")
Request body
Example request
{
"delegateePrivateKey": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"defaults": {
"ORIGIN_CHAIN_ID": 8453,
"DESTINATION_CHAIN_ID": 8453,
"ORIGIN_CURRENCY": "0x0000000000000000000000000000000000000000",
"DESTINATION_CURRENCY": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"TRADE_TYPE": "EXACT_INPUT"
},
"delegators": [
{
"delegatorAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"abilityParams": {
"AMOUNT": "1000000000000000000"
}
}
]
}Response
Batch execution completed (some delegators may have failed, check individual results)
Example response
{
"results": {
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb": {
"success": true,
"transactionHash": "0xabc123...",
"userOpHash": "0xdef456..."
},
"0x1234567890123456789012345678901234567890": {
"success": false,
"error": "Precheck failed: Insufficient balance"
}
}
}