Skip to content

Commit

Permalink
feat: react-wallet-v2: hash and operationHash in tezos_send response
Browse files Browse the repository at this point in the history
  • Loading branch information
dianasavvatina committed Jan 6, 2025
1 parent 18dc528 commit 21415fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function approveTezosRequest(
case TEZOS_SIGNING_METHODS.TEZOS_SEND:
try {
const sendResponse = await wallet.signTransaction(request.params.operations, chainId)
return formatJsonRpcResult(id, { hash: sendResponse })
return formatJsonRpcResult(id, { hash: sendResponse, operationHash: sendResponse })
} catch (error) {
if (error instanceof Error) {
console.error('Tezos_send operation failed with error: ', error.message)
Expand Down

0 comments on commit 21415fe

Please sign in to comment.