for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ZenCash\Rpc\Command\Wallet;
final class Transaction implements \JsonSerializable
{
private $txid;
private $vout;
public function __construct(string $txid, int $vout)
$this->txid = $txid;
$this->vout = $vout;
}
public function jsonSerialize(): object
return (object) [
'txid' => $this->txid,
'vout' => $this->vout
];