request_swap
Request a token swap inside a Gitbank vault (e.g. USDC to WETH). Returns a confirm_code the user must post on GitHub to authorize execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to swap | |
| to_token | Yes | Destination token: USDC or WETH | |
| from_token | Yes | Source token: USDC or WETH | |
| github_username | Yes | GitHub username of the vault owner |