nomos
  • V1
    • Getting Started
      • Technology Stack
      • Setting Up Your Environment
      • Deploying Smart Contracts
      • Interacting with Smart Contracts
    • Protocol Overview
      • Factory
      • Nomos
      • Supported Networks
      • GraphQL API
    • Nomos SDK
      • Nomos
      • Multisig
      • Examples
      • Utils
    • Nomos Providers
      • Nomos Client
      • Signing Nomos Client
      • Archway Nomos Client
      • Adding a Nomos App
      • User authentication
    • ICA
  • V2
    • Features
    • Networks
    • Structure
      • Account Settings
      • Factory
        • Wallet
        • Membership
        • Vote Module
        • Authz Proxy
    • Frontend
      • Create Proposal
Powered by GitBook
On this page
  1. V1
  2. Nomos Providers

Archway Nomos Client

Our implementation of the ArchwayClient

ArchwayClient is the archway main provider without signer. It extends the cosmos client and read information that only archway has, such as fees, rewards, metadata, etc.

We implemented our version of the Archway client so that any read action in third party apps is forwarded and handled by our application.

Interface

We implement the same functions as the Archway Query client since it has the same functions as the archway client.

export declare class NomosArchwayClient extends NomosClient implements IArchwayQueryClient {
    readonly communicator: Communicator;
    protected constructor(tmClient: TendermintClient | undefined);
    static connect(endpoint: string | HttpEndpoint): Promise<NomosArchwayClient>;
    static connectWithBatchClient(endpoint: string | HttpEndpoint, options?: Partial<HttpBatchClientOptions>): Promise<NomosArchwayClient>;
    static create(tmClient: TendermintClient): Promise<NomosArchwayClient>;
    static createSync(tmClient: TendermintClient): NomosArchwayClient;
    getBlockRewardsTracking(): Promise<BlockTracking>;
    getContractMetadata(contract: string): Promise<ContractMetadata | undefined>;
    getContractPremium(contract: string): Promise<ContractPremium>;
    getEstimateTxFees(gasLimit?: number, contractAddress?: string): Promise<EstimateTxFees>;
    getOutstandingRewards(rewardsAddress: string): Promise<OutstandingRewards>;
    getRewardsPool(): Promise<RewardsPool>;
    getAllRewardsRecords(rewardsAddress: string): Promise<readonly RewardsRecord[]>;
}
PreviousSigning Nomos ClientNextAdding a Nomos App

Last updated 1 year ago