UNPKG

@tedcryptoorg/cosmos-signer

Version:

Cosmos Signer - A library for signing transactions for Cosmos SDK chains

17 lines (16 loc) 438 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseTxResult = parseTxResult; function parseTxResult(result) { return { code: result.code, height: result.height, rawLog: result.raw_log, transactionHash: result.txhash, gasUsed: result.gas_used, gasWanted: result.gas_wanted, events: [], txIndex: 0, msgResponses: [] }; }