# Broadcasting

The SPV Wallet broadcasts all valid transactions it receives or creates to ARC.

{% embed url="<https://github.com/bitcoin-sv/go-broadcast-client/>" %}

## ARC Endpoints

We use the first endpoint to determine the correct fee model to use when creating a transaction.

{% openapi src="<https://bitcoin-sv.github.io/arc/arc.json>" path="/v1/policy" method="get" %}
<https://bitcoin-sv.github.io/arc/arc.json>
{% endopenapi %}

Thereafter we simply broadcast to ARC and expect a `SEEN_ON_NETWORK` txStatus response in most cases.

{% openapi src="<https://bitcoin-sv.github.io/arc/arc.json>" path="/v1/tx" method="post" %}
<https://bitcoin-sv.github.io/arc/arc.json>
{% endopenapi %}

Usually a callbackUrl would be set for async status updates - but if you'd like to manually check the most recent state of a given transaction, you can use this:

{% openapi src="<https://bitcoin-sv.github.io/arc/arc.json>" path="/v1/tx/{txid}" method="get" %}
<https://bitcoin-sv.github.io/arc/arc.json>
{% endopenapi %}
