Skip to main content
Glama
stdtx.js633 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.makeStdTx = exports.isStdTx = void 0; function isStdTx(txValue) { const { memo, msg, fee, signatures } = txValue; return (typeof memo === "string" && Array.isArray(msg) && typeof fee === "object" && Array.isArray(signatures)); } exports.isStdTx = isStdTx; function makeStdTx(content, signatures) { return { msg: content.msgs, fee: content.fee, memo: content.memo, signatures: Array.isArray(signatures) ? signatures : [signatures], }; } exports.makeStdTx = makeStdTx; //# sourceMappingURL=stdtx.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