public class DeployHeader extends Object
| Constructor and Description |
|---|
DeployHeader(CLPublicKey account,
long timestamp,
long ttl,
Integer gasPrice,
Digest bodyHash,
List<Digest> dependencies,
String chainName) |
DeployHeader(CLPublicKey account,
String timestamp,
String ttl,
Integer gasPrice,
Digest bodyHash,
List<Digest> dependencies,
String chainName) |
| Modifier and Type | Method and Description |
|---|---|
CLPublicKey |
getAccount() |
Digest |
getBodyHash() |
String |
getChainName() |
List<Digest> |
getDependencies() |
Integer |
getGasPrice() |
long |
getTimestamp() |
String |
getTimeStampIso()
Obtains the timestamp as an ISO string for writing to JSON
|
long |
getTtl() |
String |
getTtlStr()
Obtains the ttl as a string for writing to JSON
|
static long |
toEpocMs(String isoDateTime) |
public DeployHeader(CLPublicKey account, String timestamp, String ttl, Integer gasPrice, Digest bodyHash, List<Digest> dependencies, String chainName)
public static long toEpocMs(String isoDateTime)
public CLPublicKey getAccount()
public long getTimestamp()
public String getTimeStampIso()
public long getTtl()
public String getTtlStr()
public Integer getGasPrice()
public Digest getBodyHash()
public String getChainName()
Copyright © 2022. All rights reserved.