Skip to content

Commit 4a348ef

Browse files
committed
fix(walletd-libs): broadcast returns full set
1 parent 7a61015 commit 4a348ef

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changeset/wild-brooms-talk.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@siafoundation/walletd-js': minor
3+
'@siafoundation/walletd-react': minor
4+
'@siafoundation/walletd-types': minor
5+
---
6+
7+
The transaction pool broadcast API now returns the full transaction set.

libs/walletd-types/src/api.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ export type TxPoolBroadcastPayload = {
103103
v2transactions: V2Transaction[]
104104
}
105105
export type TxPoolBroadcastResponse = {
106-
transactions: TransactionID[]
107-
v2transactions: TransactionID[]
106+
basis: ChainIndex
107+
transactions: Transaction[]
108+
v2transactions: V2Transaction[]
108109
}
109110

110111
// rescan

0 commit comments

Comments
 (0)