SigningInput constructor
SigningInput({})
Implementation
factory SigningInput({
$core.int? hashType,
$fixnum.Int64? amount,
$fixnum.Int64? byteFee,
$core.String? toAddress,
$core.String? changeAddress,
$core.Iterable<$core.List<$core.int>>? privateKey,
$core.Map<$core.String, $core.List<$core.int>>? scripts,
$core.Iterable<UnspentTransaction>? utxo,
$core.bool? useMaxAmount,
$core.int? coinType,
TransactionPlan? plan,
$core.int? lockTime,
$core.List<$core.int>? outputOpReturn,
}) {
final _result = create();
if (hashType != null) {
_result.hashType = hashType;
}
if (amount != null) {
_result.amount = amount;
}
if (byteFee != null) {
_result.byteFee = byteFee;
}
if (toAddress != null) {
_result.toAddress = toAddress;
}
if (changeAddress != null) {
_result.changeAddress = changeAddress;
}
if (privateKey != null) {
_result.privateKey.addAll(privateKey);
}
if (scripts != null) {
_result.scripts.addAll(scripts);
}
if (utxo != null) {
_result.utxo.addAll(utxo);
}
if (useMaxAmount != null) {
_result.useMaxAmount = useMaxAmount;
}
if (coinType != null) {
_result.coinType = coinType;
}
if (plan != null) {
_result.plan = plan;
}
if (lockTime != null) {
_result.lockTime = lockTime;
}
if (outputOpReturn != null) {
_result.outputOpReturn = outputOpReturn;
}
return _result;
}