Skip to main content

ResQ.Blockchain.NeoClientOptions

NeoClientOptions.MockMode Property

Gets or sets a value indicating whether to use mock mode for testing.
public bool MockMode { get; set; }

Property Value

System.Boolean
True to use mock implementation; false to use real blockchain. Default is false.

Example

// Development/testing
options.MockMode = true;

// Production
options.MockMode = false;

Remarks

When enabled, the client will use MockNeoClient instead of making real blockchain calls. This is useful for development and testing without requiring a live blockchain connection. Set to false for production deployments.