Smart-account: approve + call
fuse_smart_approve_and_callAtomically approves a token and invokes a follow-up call on the spender from the configured smart wallet. Common DeFi pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| amount | Yes | Allowance amount in the token's display unit (or base if `unit: "base"`). | |
| spender | Yes | Contract that will receive the subsequent call. | |
| callData | Yes | Encoded calldata to invoke on `spender` after approval (0x-prefixed hex). | |
| tokenAddress | Yes | ERC-20 token contract address to approve. |