Skip to content

Commit

Permalink
chore: prepare release 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 2, 2025
1 parent e4d46c6 commit de1a63e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .changeset/add_spent_element_endpoints.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 2.1.0 (2025-03-02)

### Features

#### Added Spent Element Endpoints

Added two new endpoints `[GET] /outputs/siacoin/:id/spent` and `[GET] /outputs/siafund/:id/spent`. These endpoints will return a boolean, indicating whether the UTXO was spent, and the transaction it was spent in. These endpoints are designed to make verifying Atomic swaps easier.

##### Example Usage

````
$ curl http://localhost:9980/api/outputs/siacoin/9b89152bb967130326702c9bfb51109e9f80274ec314ba58d9ef49b881340f2f/spent
{
spent: true,
event: {}
}
```
## 2.0.0 (2025-02-21)
### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module go.sia.tech/walletd // v2.0.0
module go.sia.tech/walletd // v2.1.0

go 1.23.1

Expand Down

0 comments on commit de1a63e

Please sign in to comment.