src/Arionum.php
public function checkAddress(string $address, ?string $publicKey = null): bool
    {
        return $this->getJson([
            'q' => 'checkAddress',
            'account' => $address,
            'public_key' => $publicKey,
        ]);
    }
public function checkAddress(string $address, ?string $publicKey = null): bool
    {
        return $this->getJson([
            'q' => 'checkAddress',
            'account' => $address,
            'public_key' => $publicKey,
        ]);
    }
public function checkAddress ( string $ address , ? string $ publicKey = null ) : bool { return $ this -> getJson ( [ 'q' => 'checkAddress' , 'account' => $ address , 'public_key' => $ publicKey , ] ) ; }
Check that an address is valid.
Optionally validate it against the corresponding public key.

@param string      $address
@param string|null $publicKey An optional corresponding public key.
@return bool
@throws ApiException
@api
Check that an address is valid . Optionally validate it against the corresponding public key .