src/Transaction.php
public static function makeMasternodeCreateInstance(string $ipAddress, string $address): self
    {
        $transaction = new self();

        $transaction->setVersion(Version::MASTERNODE_CREATE);
        $transaction->setDestinationAddress($address);
        $transaction->setValue(self::VALUE_MASTERNODE_CREATE);
        $transaction->setFee(self::FEE_MASTERNODE_CREATE);
        $transaction->setMessage($ipAddress);

        return $transaction;
    }
public static function makeMasternodeCreateInstance(string $ipAddress, string $address): self
    {
        $transaction = new self();

        $transaction->setVersion(Version::MASTERNODE_CREATE);
        $transaction->setDestinationAddress($address);
        $transaction->setValue(self::VALUE_MASTERNODE_CREATE);
        $transaction->setFee(self::FEE_MASTERNODE_CREATE);
        $transaction->setMessage($ipAddress);

        return $transaction;
    }
public static function makeMasternodeCreateInstance ( string $ ipAddress , string $ address ) : self { $ transaction = new self ( ) ; $ transaction -> setVersion ( Version :: MASTERNODE_CREATE ) ; $ transaction -> setDestinationAddress ( $ address ) ; $ transaction -> setValue ( self :: VALUE_MASTERNODE_CREATE ) ; $ transaction -> setFee ( self :: FEE_MASTERNODE_CREATE ) ; $ transaction -> setMessage ( $ ipAddress ) ; return $ transaction ; }
Retrieve a pre-populated Transaction instance for creating a masternode.

@param string $ipAddress
@param string $address
@return self
@api
Retrieve a pre - populated Transaction instance for creating a masternode .