grpc_bchrpc_web 0.0.1 copy "grpc_bchrpc_web: ^0.0.1" to clipboard
grpc_bchrpc_web: ^0.0.1 copied to clipboard

outdated

Connect to a BCHD full node with a simplified grpc-web client wrapper.

example/main.dart

import 'package:grpc_bchrpc_web/grpc_bchrpc_web.dart';
import 'package:convert/convert.dart';

main() async {
  final client = GrpcWebClient();
  const txid =
      "11556da6ee3cb1d14727b3a8f4b37093b6fecd2bc7d577a02b4e98b7be58a7e8";
  final res =
      await client.getRawTransaction(hex.decode(txid), reversedHashOrder: true);
  print(hex.encode(res.transaction));
  client.close();
}
0
likes
0
pub points
8%
popularity

Publisher

verified publisherslp.dev

Connect to a BCHD full node with a simplified grpc-web client wrapper.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

fixnum, grpc, protobuf

More

Packages that depend on grpc_bchrpc_web