UNPKG

@firmachain/firma-js

Version:

The Official FirmaChain Javascript SDK written in Typescript

17 lines (16 loc) 637 B
import { Pubkey } from "@cosmjs/amino"; import { Any } from "../google/protobuf/any"; export interface Account { /** Bech32 account address */ readonly address: string; readonly pubkey: Pubkey | null; readonly accountNumber: number; readonly sequence: number; } /** * Takes an `Any` encoded account from the chain and extracts some common * `Account` information from it. 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;