Table of Contents

Interface IServiceProxy

Namespace
chia.dotnet
Assembly
chia-dotnet.dll

Core interface to chia RPC endpoints that passes and returns dynamic objects

public interface IServiceProxy
Extension Methods

Methods

SendMessage(string, dynamic?, CancellationToken)

These methods are the important ones that package up the request for the rpc client and then parse and convert the response for the requester

Task<dynamic> SendMessage(string command, dynamic? data, CancellationToken cancellationToken = default)

Parameters

command string
data dynamic
cancellationToken CancellationToken

Returns

Task<dynamic>

SendMessage(string, CancellationToken)

These methods are the important ones that package up the request for the rpc client and then parse and convert the response for the requester

Task<dynamic> SendMessage(string command, CancellationToken cancellationToken = default)

Parameters

command string
cancellationToken CancellationToken

Returns

Task<dynamic>