readState abstract method

Future<ReadStateResponse> readState(
  1. Principal effectiveCanisterId,
  2. ReadStateOptions options,
  3. Identity? identity
)

Send a read state query to the replica. This includes a list of paths to return, and will return a Certificate. This will only reject on communication errors, but the certificate might contain less information than requested. @param effectiveCanisterId A Canister ID related to this call. @param options The options for this call.

Implementation

Future<ReadStateResponse> readState(
  Principal effectiveCanisterId,
  ReadStateOptions options,
  Identity? identity,
);