Derives multiple blockchain addresses (Ethereum, Bitcoin, and Cosmos) from a given uncompressed eth public key or PKP token ID. If a PKP token ID is provided, it retrieves the public key from the PKP contract.

If the defaultRPCUrl is not provided.

If neither publicKey nor pkpTokenId is provided.

If any of the derived addresses (btcAddress, ethAddress, cosmosAddress) are undefined.

  • Parameters

    • params: DerivedAddressesParams

      The parameters for deriving addresses.

    Returns Promise<any>

    A Promise that resolves to an object containing token information: