public function getAddressByPath($path) {
        $path = (string)BIP32Path::path($path)->privatePath();
        if (!isset($this->derivations[$path])) {
            list($address, ) = $this->getRedeemScriptByPath($path);

            $this->derivations[$path] = $address;
            $this->derivationsByAddress[$address] = $path;
        }

        return $this->derivations[$path];
    }
public function getAddressByPath($path) {
        $path = (string)BIP32Path::path($path)->privatePath();
        if (!isset($this->derivations[$path])) {
            list($address, ) = $this->getRedeemScriptByPath($path);

            $this->derivations[$path] = $address;
            $this->derivationsByAddress[$address] = $path;
        }

        return $this->derivations[$path];
    }
public function getAddressByPath ( $ path ) { $ path = ( string ) BIP32Path :: path ( $ path ) -> privatePath ( ) ; if ( ! isset ( $ this -> derivations [ $ path ] ) ) { list ( $ address , ) = $ this -> getRedeemScriptByPath ( $ path ) ; $ this -> derivations [ $ path ] = $ address ; $ this -> derivationsByAddress [ $ address ] = $ path ; } return $ this -> derivations [ $ path ] ; }
get address for the specified path

@param string|BIP32Path  $path
@return string
get address for the specified path