UNPKG

@tedcryptoorg/cosmos-signer

Version:

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

14 lines (13 loc) 329 B
export 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: [] }; }