protected function getBlocktrailPublicKey($path) {
        $path = BIP32Path::path($path);

        $keyIndex = str_replace("'", "", $path[1]);

        if (!isset($this->blocktrailPublicKeys[$keyIndex])) {
            throw new \Exception("No blocktrail publickey for key index [{$keyIndex}]");
        }

        return $this->blocktrailPublicKeys[$keyIndex];
    }
protected function getBlocktrailPublicKey($path) {
        $path = BIP32Path::path($path);

        $keyIndex = str_replace("'", "", $path[1]);

        if (!isset($this->blocktrailPublicKeys[$keyIndex])) {
            throw new \Exception("No blocktrail publickey for key index [{$keyIndex}]");
        }

        return $this->blocktrailPublicKeys[$keyIndex];
    }
protected function getBlocktrailPublicKey ( $ path ) { $ path = BIP32Path :: path ( $ path ) ; $ keyIndex = str_replace ( "'" , "" , $ path [ 1 ] ) ; if ( ! isset ( $ this -> blocktrailPublicKeys [ $ keyIndex ] ) ) { throw new \ Exception ( "No blocktrail publickey for key index [{$keyIndex}]" ) ; } return $ this -> blocktrailPublicKeys [ $ keyIndex ] ; }
gets the blocktrail pub key for the given path from the stored array of pub keys

@param string|BIP32Path  $path
@return BIP32Key
@throws \Exception
gets the blocktrail pub key for the given path from the stored array of pub keys