diff --git a/packages/cosmwasm-stargate/src/cosmwasmclient.ts b/packages/cosmwasm-stargate/src/cosmwasmclient.ts index 80f33b38..3137e5c7 100644 --- a/packages/cosmwasm-stargate/src/cosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/cosmwasmclient.ts @@ -224,6 +224,8 @@ export class CosmWasmClient { height: result.height, rawLog: result.rawLog, transactionHash: txId, + gasUsed: result.gasUsed, + gasWanted: result.gasWanted, } : pollForTx(txId); }; @@ -382,6 +384,8 @@ export class CosmWasmClient { code: tx.result.code, rawLog: tx.result.log || "", tx: tx.tx, + gasUsed: tx.result.gasUsed, + gasWanted: tx.result.gasWanted, }; }); }