public class DeployHeader extends Object
| Constructor and Description |
|---|
DeployHeader(PublicKey account,
long timestamp,
long ttl,
Integer gasPrice,
Digest bodyHash,
List<Digest> dependencies,
String chainName) |
DeployHeader(PublicKey account,
String timestamp,
String ttl,
Integer gasPrice,
Digest bodyHash,
List<Digest> dependencies,
String chainName) |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
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(PublicKey account, String timestamp, String ttl, Integer gasPrice, Digest bodyHash, List<Digest> dependencies, String chainName)
public static long toEpocMs(String isoDateTime)
public PublicKey getAccount()
public long getTimestamp()
public String getTimeStampIso()
public long getTtl()
public String getTtlStr()
public Integer getGasPrice()
public Digest getBodyHash()
public String getChainName()
Copyright © 2021. All rights reserved.