Class OmniwalletClient

java.lang.Object
foundation.omni.netapi.omniwallet.OmniwalletAbstractClient
foundation.omni.rest.omniwallet.OmniwalletClient
All Implemented Interfaces:
ConsensusService, OmniBalanceService, RxOmniWalletClient, ConsensusFetcher, Closeable, AutoCloseable, ChainTipService

public class OmniwalletClient extends OmniwalletAbstractClient
Omniwallet REST Java client implemented using OkHttpClient.
  • Constructor Details

    • OmniwalletClient

      public OmniwalletClient()
      Default constructor
    • OmniwalletClient

      public OmniwalletClient(URI baseURI, boolean debug)
    • OmniwalletClient

      public OmniwalletClient(URI baseURI, boolean debug, boolean strictMode)
      Constructor with debug and strict-mode options
      Parameters:
      baseURI - Base URL of server
      debug - Enable debugging, logging, etc.
      strictMode - Only accept valid amounts from server
    • OmniwalletClient

      public OmniwalletClient(URI baseURI, boolean debug, boolean strictMode, okhttp3.OkHttpClient client)
    • OmniwalletClient

      public OmniwalletClient(URI baseURI, boolean debug, boolean strictMode, okhttp3.OkHttpClient client, Executor executor)
    • OmniwalletClient

      public OmniwalletClient(URI baseURI, boolean debug, boolean strictMode, org.bitcoinj.base.Network network)
      Parameters:
      baseURI - Base URL of server
      debug - Enable debugging, logging, etc.
      strictMode - Only accept valid amounts from server
      network - Specify active Bitcoin network (used for Address validation)
    • OmniwalletClient

      public OmniwalletClient(URI baseURI, boolean debug, boolean strictMode, org.bitcoinj.base.Network network, okhttp3.OkHttpClient client, Executor executor)
      OmniwalletClient constructor with all parameters
      Parameters:
      baseURI - Base URL of server
      debug - Enable debugging, logging, etc.
      strictMode - Only accept valid amounts from server
      network - Specify active Bitcoin network (used for Address validation)
      client - Custom OkHttp client
      executor - Executor
  • Method Details