<p>Yes.  Use <code>"expiration": "3600"</code> and it'll work.</p>

CC BY-SA 3.0
2018-02-13T19:28:06.720Z
2018-02-13T19:28:06.720Z
Vlad
<p>I tried modifying the request so it would include a 3600 second expire time. (minutes - 1 hour) as shown in the example  it returned an error the parameter was invalid.  It shows - but as "null"</p>

<pre><code>curl --data-binary '{"id":"curltext","method":"addrequest","params":{"amount":"3.14","exp":"3600","memo":"test"}}' http://127.0.0.1:7777

{"error": {"message": "Invalid parameters.", "code": -32602}, "jsonrpc": "2.0", "id": "curltext"}[
</code></pre>

<p>This is Electrum client daemon - not server - Linux (CentOS 7) - not Windows - it runs and returns a request fine without the "exp" parameter</p>

<electrum><php>
does anyone know how to send the "exp" parameter in an Electrum request
wilburunion
# does anyone know how to send the "exp" parameter in an Electrum request

(Asked by: username_0 on 2017-08-19)

I tried modifying the request so it would include a 3600 second expire time. (minutes - 1 hour) as shown in the example it returned an error the parameter was invalid. It shows - but as "null"

```
curl --data-binary '{"id":"curltext","method":"addrequest","params":{"amount":"3.14","exp":"3600","memo":"test"}}' http://127.0.0.1:7777

{"error": {"message": "Invalid parameters.", "code": -32602}, "jsonrpc": "2.0", "id": "curltext"}[

```

This is Electrum client daemon - not server - Linux (CentOS 7) - not Windows - it runs and returns a request fine without the "exp" parameter

**Tags:** electrum, php


---

## 1 answers

### Answer by username_1 on 2018-02-13. Score: 1

Yes. Use `"expiration": "3600"` and it'll work.


---

