> For the complete documentation index, see [llms.txt](https://docs.shredpay.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shredpay.xyz/developers/agent-wallet/guides/send-transaction.md).

# Send a Transaction

Outline for the full guide:

* Building the request — `chain_id`, `to`, `data`, `value`, optional `gas_limit`.
* The Agent-pays gas model and how to top up.
* Reading the response — `tx_id`, `tx_hash`, status semantics.
* Polling vs. webhook for confirmation.
* Common errors: `LIMIT_EXCEEDED`, `ADDRESS_BLOCKED`, `INSUFFICIENT_GAS`.
* Worked example: ERC-20 transfer.
* Worked example: arbitrary contract call (e.g. NFT mint).

For now see the [Direct API quickstart](/developers/agent-wallet/quickstart/direct-api.md) for a runnable example.
