• Converts Bytes into Address.

    Example

    import { bytes } from "@protofire/subgraph-devkit";

    const bytesAddress = Bytes.fromHexString("0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984");
    bytes.toAddress(bytesAddress);

    Returns

    the Address representation of the Bytes.

    Parameters

    • bytes: Bytes

      the Bytes.

    Returns Address

Generated using TypeDoc