Package | Description |
---|---|
jota | |
jota.dto.response | |
jota.model | |
jota.utils |
Modifier and Type | Method and Description |
---|---|
List<String> |
IotaAPI.addRemainder(String seed,
int security,
List<Input> inputs,
Bundle bundle,
String tag,
long totalValue,
String remainderAddress,
List<String> signatureFragments)
Uses input, and adds to the bundle, untill totalValue is reached.
|
List<String> |
IotaAPI.prepareTransfers(String seed,
int security,
List<Transfer> transfers,
String remainder,
List<Input> inputs,
List<Transaction> tips,
boolean validateInputs)
Prepares transfer by generating bundle, finding and signing inputs.
|
SendTransferResponse |
IotaAPI.sendTransfer(String seed,
int security,
int depth,
int minWeightMagnitude,
List<Transfer> transfers,
List<Input> inputs,
String remainderAddress,
boolean validateInputs,
boolean validateInputAddresses,
List<Transaction> tips)
Wrapper function: Runs prepareTransfers, as well as attachToTangle.
|
Modifier and Type | Method and Description |
---|---|
List<Input> |
GetAccountDataResponse.getInput()
Gets the inputs.
|
List<Input> |
GetBalancesAndFormatResponse.getInputs()
Gets the input.
|
Modifier and Type | Method and Description |
---|---|
static GetBalancesAndFormatResponse |
GetBalancesAndFormatResponse.create(List<Input> inputs,
long totalBalance,
long duration)
Initializes a new instance of the GetBalancesAndFormatResponse class.
|
static GetAccountDataResponse |
GetAccountDataResponse.create(List<String> addresses,
Bundle[] transferBundle,
List<Input> inputs,
long balance,
long duration)
Initializes a new instance of the GetAccountDataResponse class.
|
void |
GetBalancesAndFormatResponse.setInputs(List<Input> input)
Sets the input.
|
Modifier and Type | Method and Description |
---|---|
List<Input> |
Inputs.getInputsList()
Get the input list.
|
Modifier and Type | Method and Description |
---|---|
void |
Inputs.setInputsList(List<Input> inputsList)
Set the input list.
|
Constructor and Description |
---|
Inputs(List<Input> inputsList,
long totalBalance)
Initializes a new instance of the Input class.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
InputValidator.areValidInputs(Input... inputs)
Checks if the inputs are valid.
|
static boolean |
InputValidator.isValidInput(Input input)
Checks if the input is valid.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
IotaAPIUtils.signInputsAndReturn(String seed,
List<Input> inputs,
Bundle bundle,
List<String> signatureFragments,
ICurl curl)
Finalizes and signs the bundle transactions.
|
Copyright © 2018. All rights reserved.