CosmJS v0
ParaCosmosSigner.getAccounts
Returns the selected Cosmos account in the shape CosmJS expects.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the selected Cosmos account in the shape CosmJS expects.
import type { Para as ParaServer } from '@getpara/server-sdk';
import { createParaProtoSigner } from '@getpara/cosmjs-v0-integration';
declare const para: ParaServer; // An authenticated Para Server client with a loaded Cosmos wallet.
const signer = createParaProtoSigner({ para, prefix: 'cosmos' });
const [account] = await signer.getAccounts();