---
title: "Spend from yield (agent-signed)"
method: POST
path: "/api/ncaccount/spend"
tags: ["account"]
---

# Spend from yield (agent-signed)

`POST /api/ncaccount/spend`

## Request

- Base URL: `https://api.anygas.xyz/svc`
- URL: `https://api.anygas.xyz/svc/api/ncaccount/spend`
- Auth: none declared

Execute a spend from the agent's yield with ONE EIP-712 signature. Body: {intent:{agent,srcChain,amount,toChain,toAddress,nonce,deadline}, signature, live:true}. The relayer verifies the signature, pulls ONLY up to the agent's on-chain aUSDC/mUSDC allowance, unwinds from the agent's yield venue (Aave v3 or Moonwell), and delivers gaslessly. EIP-712 domain: {name:'RobynNCAccount', version:'1', chainId:srcChain}.

## Request body

- object

## Response `200`

OK

---

[API](https://skmtc.dev/anygas/apis/robyn-anygas-api.md) · [All operations](https://skmtc.dev/anygas/apis/robyn-anygas-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anygas/apis/robyn-anygas-api/revisions/9b7498be8304?raw)
