Web3S_Demo > Web 3S Ethereum Function Library

Web 3S Ethereum Function Library

Ethereum Blockchain Blueprint Function Library.

Inheritance Hierarchy

Object
Blueprint Function Library

References

Module Web3S_Blockchain_Runtime
Header Plugins/Web3S_Plugin/Source/Web3S_Blockchain_Runtime/Public/Blockchain/Web3S_EthereumFunctionLibrary.h
Source Plugins/Web3S_Plugin/Source/Web3S_Blockchain_Runtime/Private/Blockchain/Web3S_EthereumFunctionLibrary.cpp
Include Blockchain/Web3S_EthereumFunctionLibrary.h

Functions

EthValueToDec Converts uint256 to String in decimal notation.
Generate Ethereum Address from Public Key (Bytes) Generates Ethereum Address using keccak-256 algorithm from public key provided as an array of bytes. If the public key is not 64 Bytes (128 characters) long or contains non-hex characters the return bool will be false if failed to Generate Ethereum Address and an error message will be returned.
Generate Ethereum Address from Public Key (String) Generates Ethereum Address using keccak-256 algorithm from public key provided as a string. If the public key is not 64 Bytes (128 characters) long or contains non-hex characters the return bool will be false if failed to Generate Ethereum Address and an error message will be returned.
Get Ethereum configuration Gets configuration data for a specific Ethereum network needed to send RPC calls to.
Make Eth Value from String Tries to parse the input string value to an Ethereum value stored in an uint256 data type. If the string value is prefixed with "0x" it will be interpreted as a hex value, otherwise as a decimal value.
Make Eth Value from String with Fractional Value Tries to parse the input string to an Ethereum value stored in an uint256 data type. This function can handle fractional values as inputs but will eventually truncate the fractional part after applying the unit conversion operation. The input string must be a decimal value (i.e. no hex string inputs allowed).
ValidateEthereumAddress Validates an Ethereum address hash and calculates its checksum representation.