Package org.iota.apis
Class MiscellaneousApi
- java.lang.Object
-
- org.iota.apis.MiscellaneousApi
-
public class MiscellaneousApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MiscellaneousApi(NativeApi nativeApi)
-
Method Summary
-
-
-
Constructor Detail
-
MiscellaneousApi
public MiscellaneousApi(NativeApi nativeApi) throws InitializeClientException
- Throws:
InitializeClientException
-
-
Method Detail
-
buildAliasOutput
public Output buildAliasOutput(AliasOutputBuilderParams params) throws ClientException
- Throws:
ClientException
-
buildBasicOutput
public Output buildBasicOutput(BasicOutputBuilderParams params) throws ClientException
- Throws:
ClientException
-
buildFoundryOutput
public Output buildFoundryOutput(FoundryOutputBuilderParams params) throws ClientException
- Throws:
ClientException
-
buildNftOutput
public Output buildNftOutput(NftOutputBuilderParams params) throws ClientException
- Throws:
ClientException
-
generateAddresses
public java.lang.String[] generateAddresses(SecretManager secretManager, GenerateAddressesOptions generateAddressesOptions) throws ClientException
- Throws:
ClientException
-
buildAndPostBlock
public java.util.Map.Entry<BlockId,Block> buildAndPostBlock(SecretManager secretManager, BuildBlockOptions options) throws ClientException
- Throws:
ClientException
-
getNode
public Node getNode() throws ClientException
- Throws:
ClientException
-
getNetworkInfo
public com.google.gson.JsonObject getNetworkInfo() throws ClientException- Throws:
ClientException
-
getNetworkId
public int getNetworkId() throws ClientException- Throws:
ClientException
-
getBech32Hrp
public java.lang.String getBech32Hrp() throws ClientException- Throws:
ClientException
-
getMinPowScore
public int getMinPowScore() throws ClientException- Throws:
ClientException
-
getTipsInterval
public int getTipsInterval() throws ClientException- Throws:
ClientException
-
getLocalPow
public boolean getLocalPow() throws ClientException- Throws:
ClientException
-
isFallbackToLocalPow
public boolean isFallbackToLocalPow() throws ClientException- Throws:
ClientException
-
getUnhealthyNodes
public Node[] getUnhealthyNodes() throws ClientException
- Throws:
ClientException
-
getLedgerNanoStatus
public LedgerNanoStatus getLedgerNanoStatus(boolean isSimulator) throws ClientException
- Throws:
ClientException
-
prepareTransaction
public PreparedTransactionData prepareTransaction(SecretManager secretManager, BuildBlockOptions buildBlockOptions) throws ClientException
- Throws:
ClientException
-
signTransaction
public TransactionPayload signTransaction(SecretManager secretManager, PreparedTransactionData preparedTransactionData) throws ClientException
- Throws:
ClientException
-
storeMnemonic
public void storeMnemonic(SecretManager secretManager, java.lang.String mnemonic) throws ClientException
- Throws:
ClientException
-
postBlockPayload
public java.util.Map.Entry<BlockId,Block> postBlockPayload(BlockPayload payload) throws ClientException
- Throws:
ClientException
-
getProtocolParameters
public ProtocolParametersResponse getProtocolParameters() throws ClientException
Returns the protocol parameters.- Throws:
ClientException
-
-