The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CryptoTron::ClaimReward - Perl extension for use with the blockchain of the crypto coin Tron.

SYNOPSIS

  use CryptoTron::ClaimReward;

  # Set the public and private key.
  my $PublicKey = "4113661E105128E9918D50CC9F6ABD83DE10C302FC";
  my $PrivateKey = "315763645E812CD269A326F6A59B971F31101BCB91190503B6C279B63D81A725";
  
  # Get the response from claiming rewards.
  my $response = ClaimReward({
      pubAddr => $PublicKey,
      privAddr => $PrivateKey
  });

  # Print the response into the terminal window.
  print $response;

DESCRIPTION

Claim rewards from the Tron blockchain.

SEE ALSO

Try::Catch

URI

LWP::UserAgent

JSON::PP

AUTHOR

Dr. Peter Netz, <ztenretep@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2022 by Dr. Peter Netz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.30.0 or, at your option, any later version of Perl 5 you may have available.