Web3Utils.h
-
class UWeb3Utils : public UBlueprintFunctionLibrary
Generic utility functions used by other web3 classes
Public Static Functions
-
static FString ByteArrayToFString(TArray<uint8> arr)
Blueprint function that converts TArray of bytes to c++ string representing the byte array in hex
-
static TArray<uint8> GetPrivateKeyBytes(FString key)
Blueprint function that converts an FString with hex representation of a private key into a byte TArray
-
static std::string hexStr(unsigned char *data, int len)
Converts c style char array to c++ string representing the byte array in hex
-
static std::string hexStr(std::vector<unsigned char> data)
Converts vector char array to c++ string representing the byte array in hex
-
static std::vector<unsigned char> ByteArrayFromHexStr(FString hexString)
Converts a string with hex chars representing a hex value to its corresponding byte array
-
static FString ByteArrayToFString(TArray<uint8> arr)