diff --git a/.changeset/famous-deers-mate.md b/.changeset/famous-deers-mate.md new file mode 100644 index 0000000..7b23f4a --- /dev/null +++ b/.changeset/famous-deers-mate.md @@ -0,0 +1,5 @@ +--- +"@delvtech/evm-client": patch +--- + +Add txHash to onTransactionMined diff --git a/packages/evm-client/src/contract/types/Contract.ts b/packages/evm-client/src/contract/types/Contract.ts index d044d84..0d94c82 100644 --- a/packages/evm-client/src/contract/types/Contract.ts +++ b/packages/evm-client/src/contract/types/Contract.ts @@ -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<