Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Omit<ConcreteCosmosWalletStrategy, "sendTransaction" | "signTransaction" | "isChainIdSupported" | "signAminoTransaction">
    • ConcreteWalletStrategy

Index

Methods

  • cancelAllEvents(): void
  • cancelOnAccountChange(): void
  • cancelOnChainIdChange(): void
  • confirm(address: string): Promise<string>
  • disconnect(): Promise<void>
  • getAddresses(): Promise<string[]>
  • getEthereumChainId(): Promise<string>
  • getEthereumTransactionReceipt(txHash: string): void
  • getPubKey(): Promise<string>
  • sendEthereumTransaction(transaction: unknown, options: { address: string; ethereumChainId: EthereumChainId }): Promise<string>
  • Sends Ethereum transaction. Returns a transaction hash

    Parameters

    • transaction: unknown

      should implement TransactionConfig

    • options: { address: string; ethereumChainId: EthereumChainId }
      • address: string
      • ethereumChainId: EthereumChainId

    Returns Promise<string>

  • signCosmosTransaction(transaction: { accountNumber: number; address: string; chainId: string; txRaw: TxRaw }): Promise<DirectSignResponse>
  • signEip712TypedData(eip712TypedData: string, address: string): Promise<string>
  • signTransaction(data: string | { accountNumber: number; chainId: string; txRaw: TxRaw }, address: string): Promise<string | DirectSignResponse>

Generated using TypeDoc