Skip to content

Commit dcd529e

Browse files
authored
Merge pull request #771 from MoFayaz/patch-1
fix: Missing ?unspent includes the used utxos [Kupo provider]
2 parents cd26eef + 911bc34 commit dcd529e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mesh-provider/src/kupo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class KupoProvider implements IFetcher {
3131
throw new Error("Method not implemented.");
3232
}
3333
async fetchAddressUTxOs(address: string, asset?: string): Promise<UTxO[]> {
34-
const { status, data } = await this.get(address);
34+
const { status, data } = await this.get(`${address}?unspent`);
3535
if (status === 200) {
3636
return data
3737
.map((utxo: any) => {

0 commit comments

Comments
 (0)