Skip to main content

ResQ.Blockchain.NeoClientOptions

NeoClientOptions.RpcUrl Property

Gets or sets the Neo N3 RPC endpoint URL.
public string RpcUrl { get; set; }

Property Value

System.String
The RPC endpoint URL. Default is "http://localhost:10332".

Example

options.RpcUrl = "https://testnet1.neo.coz.io:443";

Remarks

This should point to a Neo N3 RPC node. For testnet, use a public endpoint like "https://testnet1.neo.coz.io:443". For mainnet, use a reliable node provider.