diff --git a/src/features/wallet/hooks/cosmos.ts b/src/features/wallet/hooks/cosmos.ts index 30f39918..fc675d63 100644 --- a/src/features/wallet/hooks/cosmos.ts +++ b/src/features/wallet/hooks/cosmos.ts @@ -97,7 +97,12 @@ export function useCosmosTransactionFns(): ChainTransactionFns { assert(txDetails, `Cosmos tx failed: ${JSON.stringify(result)}`); return { type: tx.type, - receipt: { ...txDetails, transactionHash: result.transactionHash }, + receipt: { + ...txDetails, + gasUsed: parseInt(txDetails.gasUsed.toString()), + gasWanted: parseInt(txDetails.gasWanted.toString()), + transactionHash: result.transactionHash, + }, }; }; return { hash: result.transactionHash, confirm };