/**
  * @return int
  */
 public function getRequiredSigCount()
 {
     return $this->scriptInfo->getRequiredSigCount();
 }
Exemple #2
0
 /**
  * @param array $signatures
  * @param array $publicKeys
  * @return ScriptInterface
  */
 public function makeScriptSig(array $signatures = [], array $publicKeys = [])
 {
     $inputScript = $this->handler->makeScriptSig($signatures, $publicKeys);
     return ScriptFactory::create($inputScript->getBuffer())->push($this->redeemScript->getBuffer())->getScript();
 }