spraay_payroll_execute
Batch pay up to 200 employees in a single transaction using any stablecoin on Base. Returns unsigned transaction data with $0.02 USDC cost.
Instructions
Execute a payroll batch payment via Spraay V2 contract on Base. Pay up to 200 employees in a single transaction with any stablecoin. Returns unsigned transaction data. Costs $0.02 USDC.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>",
"sender": "<sender>",
"employees": "<employees>"
},
"name": "spraay_payroll_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Payment token symbol (e.g. 'USDC', 'USDT', 'DAI') | |
| sender | Yes | Employer/sender wallet address | |
| employees | Yes | Array of 1-200 employee payment objects |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |