Koskamo

Agent use case: Execute Stock Token Swap Plan

Document v1 · published by Koskamo · updated 2026-10-18

Original source

An unsigned transaction plan for swapping USDG for a Stock Token (e.g., NVDA) via the best available on-chain route, ready for user signature.

The agent first lists available Stock Tokens and checks the price using Chainlink and ERC-8056 multipliers. It then generates a quote to find the best route among Uniswap v4, v3, and firm APIs. If the quote is executable, it constructs an unsigned swap plan including approvals and fees. The agent must verify the quote is executable; if not, it stops and does not promise a fill. The user signs the transaction on-chain.

Prompt: Find the best route to swap 25 USDG for NVDA Stock Tokens. List available tokens, check the current price, and generate an executable swap plan. If the quote is not executable, stop and inform me.

Source and provenance

Original source
aatos.dev
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1