# "Public key was neither provided nor published in blockchain."

<mark style="color:yellow;">This issue usually shows when the Counterparty protocol has not seen the ‘public key’ for this address yet.</mark>

It can happen when you are trying to initiate a Counterparty function (Creating an Asset, Creating a Dispenser, etc.) on <mark style="color:yellow;">a new address with no previous blockchain history associated with it</mark>. \
\
This can happen if you only sent BTC to that address but <mark style="color:yellow;">this address has never sent BTC out in its history</mark>.

If you see this error all you need to do is do a BTC send FROM that new address and Freewallet will now see it’s public key published in the blockchain. \
\
After doing this the address will now be usable for Counterparty functions like [Creating an Asset](/freewallet.io-user-manual/freewallet-functions/create-a-counterparty-token-nfts-and-fts.md) or [Creating a Dispenser](/freewallet.io-user-manual/freewallet-functions/setting-up-a-dispenser.md). \
\ <mark style="color:yellow;">This transaction can simply be sending BTC "to yourself", by simply sending BTC from that address back to that same address.</mark>

Freewallet will now be able to see the 'public key' for this new address and all Counterparty Functions will now be accessible.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://davestaxcp.gitbook.io/freewallet.io-user-manual/troubleshooting-issues/public-key-was-neither-provided-nor-published-in-blockchain..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
