Пример #1
0
 /**
  * @param int $index
  * @return TransactionOutputInterface
  */
 public function getOutput($index)
 {
     if ($index < 0 || $index > count($this->details->getOutputsList())) {
         throw new \InvalidArgumentException('Output not found at this index');
     }
     return $this->bufToOutput($this->details->getOutputs($index));
 }