SignerWithProvider constructor

SignerWithProvider({
  1. required String endpoint,
  2. RequestOptions? options,
  3. TxnDataSerializer? serializer,
})

Implementation

SignerWithProvider({
  required String endpoint,
  RequestOptions? options,
  TxnDataSerializer? serializer
}) {
  rpcClient = JsonRpcClient(endpoint, options: options);
  this.serializer = serializer ?? RpcTxnDataSerializer(endpoint);
}