Skip to content

Commit

Permalink
fix: add optional tx fee
Browse files Browse the repository at this point in the history
  • Loading branch information
fbwoolf committed Aug 31, 2021
1 parent 294c5ae commit c8e9fc5
Show file tree
Hide file tree
Showing 3 changed files with 1,507 additions and 1,445 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-fishes-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@stacks/connect': minor
---

This adds the optional fee property to transactions so it can be set by apps.
1 change: 1 addition & 0 deletions packages/connect/src/types/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface TxBase {
network?: StacksNetwork;
anchorMode?: AnchorMode;
attachment?: string;
fee?: number | string;
/**
* Provide the Hiro Wallet with a suggested account to sign this transaction with.
* This is set by default if a `userSession` option is provided.
Expand Down
Loading

0 comments on commit c8e9fc5

Please sign in to comment.