Skip to content

Commit

Permalink
Add txHash to onTransactionMined (#52)
Browse files Browse the repository at this point in the history
* Add txHash to onTransactionMined

* Update changeset
  • Loading branch information
DannyDelott authored Mar 13, 2024
1 parent 8367115 commit e3880c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-deers-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@delvtech/evm-client": patch
---

Add txHash to onTransactionMined
2 changes: 1 addition & 1 deletion packages/evm-client/src/contract/types/Contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export interface ContractWriteOptions {
/**
* A callback for when the transaction has been mined.
*/
onTransactionMined?(): void;
onTransactionMined?(hash: `0x${string}`): void;
}

export type ContractWriteArgs<
Expand Down

0 comments on commit e3880c8

Please sign in to comment.