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

NAME

    Ethereum::Contract::RPC::ContractResponse - Centralize contract response

to_big_int

Convert response to a Math::BigInt if not undef

Parameters: hexadecimal response

Return: new Math::BigInt

to_big_float

Convert response to a Math::BigFloat if not undef

Parameters: hexadecimal response

Return: new Math::BigFloat

to_string

Convert response to a string if not undef

Parameters: hexadecimal response

Return: string

to_hex

Convert response to a hexadecimal if not undef and is not already a hex

Parameters: hexadecimal response

Return: hexadecimal string