# Double Spending

Double-spending is a type of attack where the attacker makes the same transaction operation to be performed more than once.

The attacker aims to make multiple expenses by sending the same signed transaction back to the network while the transaction is still in the process of being recorded in blocks.

The same transaction sent more than once by the attacker is subjected to the "Pre-verified Sign Is Valid" stage by Web3Anthill. Unsigned transactions are denied directly, and nodes are prevented from performing the same transaction a second time.

<figure><img src="https://3961530331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE0AsD6OL7TIzQ6UZVhUw%2Fuploads%2FKuSK8PoAufBEnxO2igZs%2Fimage.png?alt=media&#x26;token=0970b68f-ce2c-4fbc-a157-f60302612735" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3961530331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE0AsD6OL7TIzQ6UZVhUw%2Fuploads%2FGekuKzvbOBrxPt8yeW42%2Fimage.png?alt=media&#x26;token=ba405681-5be9-4d45-8746-708d00db4a0e" alt=""><figcaption></figcaption></figure>


---

# 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://web3-coin.gitbook.io/welcome-to-web3-coin/whitepaper/attack-vectors-and-security/double-spending.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.
