# What exactly is the function of Defender's Relay when using metatransactions?

**URL:** <https://forum.openzeppelin.com/t/what-exactly-is-the-function-of-defenders-relay-when-using-metatransactions/23122>\
**Category:** Defender\
**Created:** [January 21, 2022, 2:26pm UTC](https://forum.openzeppelin.com/t/what-exactly-is-the-function-of-defenders-relay-when-using-metatransactions/23122 "2022-01-21T14:26:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![shanexavier313](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/shanexavier313/32/13921_2.png) [@shanexavier313](https://forum.openzeppelin.com/u/shanexavier313)\
**Post date:** [September 9, 2022, 1:05am UTC](https://forum.openzeppelin.com/t/what-exactly-is-the-function-of-defenders-relay-when-using-metatransactions/23122/5 "2022-09-09T01:05:02Z")

</div>

@spalladino Thanks for the helpful workshop and thanks the OZ team for creating this much-needed product. To clarify, when you say

> The relayer is a service that just **takes users' signed messages, wraps them in a transaction, and sends it to the application contract** , paying the gas for it.

That means the steps for using the Relayer API to submit meta txns would be:

- App generate the unsigned txn
- User signs the transaction
- App sends the signed txn via the Defender Relay API to the `/txs` [endpoint](https://docs.openzeppelin.com/defender/relay-api-reference#send-transaction) to be submitted on chain

The docs for that `/txs` endpoint suggest that the it only accepts unsigned requests, however, so am I missing something?

I'd like to note that I'm not using the `defender-relay-client` JS package but instead am writing my own client for the Relayer API in my server-side python web app. I know in your demo and also this more recent [demo](https://www.youtube.com/watch?v=Bhz5LJbq9YY) the steps involve using Autotasks, but I'm curious if there's a way for me to submit user-signed transactions directly to the relayer without calling an autotask.

EDIT: just saw you already answered this [here](https://forum.openzeppelin.com/t/defender-error/12479/4). So to confirm, directly calling the `/txs` should work?

---

_[View the full topic](https://forum.openzeppelin.com/t/what-exactly-is-the-function-of-defenders-relay-when-using-metatransactions/23122)._
