<p>The support for <code>transactions-construct</code> <a href="https://github.com/input-output-hk/cardano-wallet/commit/c2f658aede557c01fc53711e3ffe8b4dea76cd21" rel="nofollow noreferrer">has been added just some days ago</a> and is not released yet.</p>

CC BY-SA 4.0
2021-07-26T07:36:40.663Z
2021-07-26T07:36:40.663Z
Marek Mahut - StakeNuts
<p>When I try to construct a transaction by following the <a href="https://input-output-hk.github.io/cardano-wallet/api/edge/" rel="nofollow noreferrer">Cardano Wallet Backend API (v2021-06-11)</a> (Transaction New section) by writing this code in TypeScript:</p>
<pre><code>const resp: Response = await fetch(`http://localhost:1338/v2/wallets/${senderWalletId}/transactions-construct`, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            payments: {
                address: sendToWalletAdress,
                amount: {
                    quantity: tADAToSend,
                    unit: &quot;lovelace&quot;
                }

            },
        })
    });
</code></pre>
<p>I got this response:</p>
<pre><code>{
  message: &quot;I couldn't find the requested endpoint. If the endpoint contains path parameters, please ensure they are well-formed, otherwise I won't be able to route them correctly.&quot;,
  code: 'not_found'
}
</code></pre>
<p>Is <code>transactions-construct</code> not yet implemented or am I doing something wrong?</p>

CC BY-SA 4.0
2021-07-25T11:36:14.540Z
Is the `senderWalletId` correctly formatted?
eddex
CC BY-SA 4.0
2021-07-25T15:25:58.473Z
Yes, but it doesn't even get to that point because /transactions-construct part does not exist
Hrvoje Čukman
<wallet><transaction><api>
I couldn't find the requested endpoint
# I couldn't find the requested endpoint

(Asked by: username_0 on 2021-07-25)

When I try to construct a transaction by following the Cardano Wallet Backend API (v2021-06-11) (Transaction New section) by writing this code in TypeScript:
const resp: Response = await fetch(`http://localhost:1338/v2/wallets/${senderWalletId}/transactions-construct`, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            payments: {
                address: sendToWalletAdress,
                amount: {
                    quantity: tADAToSend,
                    unit: "lovelace"
                }

            },
        })
    });

I got this response:
{
  message: "I couldn't find the requested endpoint. If the endpoint contains path parameters, please ensure they are well-formed, otherwise I won't be able to route them correctly.",
  code: 'not_found'
}

Is transactions-construct not yet implemented or am I doing something wrong?

**Tags:** wallet, transaction, api
> **Comments:**
> **username_1**: Is the `senderWalletId` correctly formatted?  
> **username_0**: Yes, but it doesn't even get to that point because /transactions-construct part does not exist  

---

## 1 answers

### Answer by username_2 on 2021-07-26. Score: 2 | Accepted answer

The support for `transactions-construct` [has been added just some days ago](https://github.com/input-output-hk/cardano-wallet/commit/c2f658aede557c01fc53711e3ffe8b4dea76cd21) and is not released yet.


---

