Koskamo

Execute X Layer voucher buy transaction

The agent prepares and executes a buy transaction for an X Layer voucher by generating the necessary steps, simulating the fill, obtaining the user's signature, and submitting the transaction on-chain.

How it works

Moves money or places ordersFinance and payments

The agent identifies a target order hash and the user's wallet address. It calls the /xl/tx/buy endpoint to retrieve the transaction steps. It simulates the fill to ensure it won't revert (checking for HTTP 409). If successful, it guides the user to sign the transaction using eth_signTypedData_v4, then posts the signature to complete the transaction. The agent ensures the steps are run in order: tx, sign, post.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Execute X Layer voucher buy transaction
Buy the X Layer voucher with order hash [ORDER_HASH] for wallet [0xYOU]. Use the OwlGate MCP server to get the transaction steps, simulate the fill, and prepare the signature request. Do not execute until I confirm.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Act (GET, returns steps) GET /xl/tx/buy?hash=ORDER_HASH&from=0xYOU GET /xl/tx/sell?v=VOUCHER_ID&from=0xYOU GET /xl/order/build?kind=list|offer|coll&from=0xYOU&v=ID&price=1.5&days=1|3|7 GET /xl/tx/cancel?hash=ORDER_HASH&from=0xYOU (or &all=1) The answer is {chainId:196, from, steps, summary} . Run…
OwlGate Docs

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.