akka_get_spender
Get the AKKA Router address to approve as spender for ERC-20 token swaps on a given chain. Required before executing non-native token trades.
Instructions
Get the AKKA Router contract address that needs token approval before swapping ERC-20 tokens. Users must approve this address to spend their tokens. Not needed for native token swaps.
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": {
"chainId": "<chainId>"
},
"name": "akka_get_spender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain ID |