TxSigner.build constructor

TxSigner.build(
  1. GrpcOrGrpcWebClientChannel clientChannel,
  2. Client httpClient
)

Builds a new TxSigner from a given gRPC client channel and HTTP client.

Implementation

factory TxSigner.build(
  GrpcOrGrpcWebClientChannel clientChannel,
  http.Client httpClient,
) {
  return TxSigner(
    authQuerier: AuthQuerier.build(clientChannel),
    nodeQuerier: NodeQuerier.build(clientChannel),
  );
}