public void TestLease() { CheckBalance(); long amount = 1 * Blockchain.V_UNITY; LeaseTransaction tx = TransactionFactory.BuildLeaseTx(recipient, amount); ProvenTransaction result = account.SendTransaction(chain, tx); Assert.IsNotNull(result.Id); Assert.IsTrue(WaitPackageOnChain(result.Id)); leaseId = result.Id; }