We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c7f8f commit 06ade95Copy full SHA for 06ade95
src/server/routes/transaction/blockchain/getTxReceipt.ts
@@ -136,9 +136,9 @@ export async function getTxHashReceipt(fastify: FastifyInstance) {
136
result: receipt
137
? {
138
...receipt,
139
- gasUsed: receipt.gasUsed.toString(),
140
- cumulativeGasUsed: receipt.cumulativeGasUsed.toString(),
141
- effectiveGasPrice: receipt.effectiveGasPrice.toString(),
+ gasUsed: receipt.gasUsed.toHexString(),
+ cumulativeGasUsed: receipt.cumulativeGasUsed.toHexString(),
+ effectiveGasPrice: receipt.effectiveGasPrice.toHexString(),
142
}
143
: null,
144
});
0 commit comments