agirails_accept_quote
Accepts a provider quote by locking USDC in escrow, transitioning a transaction from QUOTED to COMMITTED. Generates a TypeScript snippet using the transaction ID and agreed price.
Instructions
Returns a TypeScript snippet for a requester to accept a provider quote and lock USDC in escrow (QUOTED → COMMITTED). Requires txId and quotedPrice (agreed USDC amount to lock). Only generate this code after reviewing the quote from agirails_get_transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txId | Yes | Transaction ID returned by agirails_request_service or agirails_list_transactions | |
| quotedPrice | Yes | The quoted price in USDC to accept (e.g. "3.00") | |
| network | No | testnet |