Skip to main content
Glama
accounts.d.ts783 B
import { Pubkey } from "@cosmjs/amino"; import { Any } from "cosmjs-types/google/protobuf/any"; export interface Account { /** Bech32 account address */ readonly address: string; readonly pubkey: Pubkey | null; readonly accountNumber: number; readonly sequence: number; } /** * Represents a generic function that takes an `Any` encoded account from the chain * and extracts some common `Account` information from it. */ export type AccountParser = (any: Any) => Account; /** * Basic implementation of AccountParser. This is supposed to support the most relevant * common Cosmos SDK account types. If you need support for exotic account types, * you'll need to write your own account decoder. */ export declare function accountFromAny(input: Any): Account;

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