Skip to main content
Glama
decode.js582 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.decodeTxRaw = void 0; const tx_1 = require("cosmjs-types/cosmos/tx/v1beta1/tx"); /** * Takes a serialized TxRaw (the bytes stored in Tendermint) and decodes it into something usable. */ function decodeTxRaw(tx) { const txRaw = tx_1.TxRaw.decode(tx); return { authInfo: tx_1.AuthInfo.decode(txRaw.authInfoBytes), body: tx_1.TxBody.decode(txRaw.bodyBytes), signatures: txRaw.signatures, }; } exports.decodeTxRaw = decodeTxRaw; //# sourceMappingURL=decode.js.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server