The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

INHERITED METHODS

Moo::Object

BUILDALL, BUILDARGS, DEMOLISHALL, does, meta