Function deriveXAddress

  • Derive an X-Address from a public key and a destination tag.

    Parameters

    • options: {
          publicKey: string;
          tag: number | false;
          test: boolean;
      }

      Public key and destination tag to encode as an X-Address.

      • publicKey: string

        The public key corresponding to an address.

      • tag: number | false

        A destination tag to encode into an X-address. False indicates no destination tag.

      • test: boolean

        Whether this address is for use in Testnet.

    Returns string

    X-Address.

Generated using TypeDoc