@hashgraph/sdk
    Preparing search index...

    Function _parseAddress

    • Parse the address string addr and return an object with the results (8 fields). The first four fields are numbers, which could be implemented as signed 32 bit integers, and the last four are strings.

      status; //the status of the parsed address // 0 = syntax error // 1 = an invalid with-checksum address (bad checksum) // 2 = a valid no-checksum address // 3 = a valid with-checksum address num1; //the 3 numbers in the address, such as 1.2.3, with leading zeros removed num2; num3; correctchecksum; //the correct checksum givenChecksum; //the checksum in the address that was parsed noChecksumFormat; //the address in no-checksum format withChecksumFormat; //the address in with-checksum format

      Parameters

      • ledgerId: Uint8Array<ArrayBufferLike>
      • addr: string

      Returns ParseAddressResult