Package com.algorand.algosdk.transaction
Class Lease
- java.lang.Object
-
- com.algorand.algosdk.transaction.Lease
-
public class Lease extends Object
Lease parameter, no transaction may also acquire this lease until lastValid.
-
-
Field Summary
Fields Modifier and Type Field Description static int
LEASE_LENGTH
-
-
-
Field Detail
-
LEASE_LENGTH
public static final int LEASE_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Lease
public Lease()
Creates a randomly generated lease.
-
Lease
public Lease(String lease)
Creates a lease from a base64 encoded string.- Parameters:
lease
- base64 encoded string.
-
Lease
public Lease(byte[] lease)
Creates a lease from the provided bytes.- Parameters:
lease
-
-
-