<p>The destination public key is part of the invoice. In your JSON result it's surely the value of the <code>destination</code> field.</p>
<p>You can use the destination public key from the invoice to make a keysend payment to this node. However, keep in mind that you then won't have the proof of payment (in your specific case it's probably not an issue).</p>

CC BY-SA 4.0
2022-05-17T09:11:49.860Z
2022-05-17T09:11:49.860Z
Antoine Poinsot
<p>I am trying out sending/receiving payments between BlueWallet, Muun wallets and my locally running lnd node. I managed to successfully pay an invoice generated by BlueWallet or Muun from lnd node on mainnet</p>
<p>Now want to be able to sporadically send payments to any of these wallets when some event happens. For that I don't want to generate a new invoice, but just to send a keysend/amp payment.</p>
<p>However, I don't see a direct or even indirect connection between invoice data and public key of the wallet.</p>
<p>I don't see a way to see the public key I can amp/keysend to.</p>
<p>Here is an example of <code>lncli decodepayreq &lt;invoice_string&gt;</code>:</p>
<pre><code>{
    &quot;destination&quot;: &quot;028c584de287761236460baf946b34c1e288c33b8d8e3efcec6b691e442cedd40b&quot;,
    &quot;payment_hash&quot;: &quot;e49f38a4062efbd1ca48f3880f1ede6d3777bf40ec95ae2b3610554092998e25&quot;,
    &quot;num_satoshis&quot;: &quot;0&quot;,
    &quot;timestamp&quot;: &quot;1652777522&quot;,
    &quot;expiry&quot;: &quot;86400&quot;,
    &quot;description&quot;: &quot;&quot;,
    &quot;description_hash&quot;: &quot;&quot;,
    &quot;fallback_addr&quot;: &quot;&quot;,
    &quot;cltv_expiry&quot;: &quot;72&quot;,
    &quot;route_hints&quot;: [
        {
            &quot;hop_hints&quot;: [
                {
                    &quot;node_id&quot;: &quot;038f8f113c580048d847d6949371726653e02b928196bad310e3eda39ff61723f6&quot;,
                    &quot;chan_id&quot;: &quot;15123508029316582222&quot;,
                    &quot;fee_base_msat&quot;: 100,
                    &quot;fee_proportional_millionths&quot;: 1500,
                    &quot;cltv_expiry_delta&quot;: 9
                }
            ]
        }
    ],
    &quot;payment_addr&quot;: &quot;cbef694eea85824a73b84a6323b6c9e489c7c2ce38e23c869fd7907697a3a130&quot;,
    &quot;num_msat&quot;: &quot;0&quot;,
    &quot;features&quot;: {
        &quot;9&quot;: {
            &quot;name&quot;: &quot;tlv-onion&quot;,
            &quot;is_required&quot;: false,
            &quot;is_known&quot;: true
        },
        &quot;15&quot;: {
            &quot;name&quot;: &quot;payment-addr&quot;,
            &quot;is_required&quot;: false,
            &quot;is_known&quot;: true
        }
    }
}
</code></pre>
<p>So, is it possible at all to deduct public key having an invoice?</p>

<lightning-network><lightning-network-daemon><ln-keysend-payments>
Can I make a keysend/amp payment having an invoice?
Sergei Basharov
# Can I make a keysend/amp payment having an invoice?

(Asked by: username_0 on 2022-05-17)

I am trying out sending/receiving payments between BlueWallet, Muun wallets and my locally running lnd node. I managed to successfully pay an invoice generated by BlueWallet or Muun from lnd node on mainnet

Now want to be able to sporadically send payments to any of these wallets when some event happens. For that I don't want to generate a new invoice, but just to send a keysend/amp payment.

However, I don't see a direct or even indirect connection between invoice data and public key of the wallet.

I don't see a way to see the public key I can amp/keysend to.

Here is an example of `lncli decodepayreq <invoice_string>`:

```
{
    "destination": "028c584de287761236460baf946b34c1e288c33b8d8e3efcec6b691e442cedd40b",
    "payment_hash": "e49f38a4062efbd1ca48f3880f1ede6d3777bf40ec95ae2b3610554092998e25",
    "num_satoshis": "0",
    "timestamp": "1652777522",
    "expiry": "86400",
    "description": "",
    "description_hash": "",
    "fallback_addr": "",
    "cltv_expiry": "72",
    "route_hints": [
        {
            "hop_hints": [
                {
                    "node_id": "038f8f113c580048d847d6949371726653e02b928196bad310e3eda39ff61723f6",
                    "chan_id": "15123508029316582222",
                    "fee_base_msat": 100,
                    "fee_proportional_millionths": 1500,
                    "cltv_expiry_delta": 9
                }
            ]
        }
    ],
    "payment_addr": "cbef694eea85824a73b84a6323b6c9e489c7c2ce38e23c869fd7907697a3a130",
    "num_msat": "0",
    "features": {
        "9": {
            "name": "tlv-onion",
            "is_required": false,
            "is_known": true
        },
        "15": {
            "name": "payment-addr",
            "is_required": false,
            "is_known": true
        }
    }
}

```

So, is it possible at all to deduct public key having an invoice?

**Tags:** lightning-network, lightning-network-daemon, ln-keysend-payments


---

## 1 answers

### Answer by username_1 on 2022-05-17. Score: 1

The destination public key is part of the invoice. In your JSON result it's surely the value of the `destination` field.

You can use the destination public key from the invoice to make a keysend payment to this node. However, keep in mind that you then won't have the proof of payment (in your specific case it's probably not an issue).


---

