SigningInput constructor
SigningInput({
- List<
int> ? privateKey, - String? recentBlockhash,
- bool? v0Msg,
- Transfer? transferTransaction,
- DelegateStake? delegateStakeTransaction,
- DeactivateStake? deactivateStakeTransaction,
- DeactivateAllStake? deactivateAllStakeTransaction,
- WithdrawStake? withdrawTransaction,
- WithdrawAllStake? withdrawAllTransaction,
- CreateTokenAccount? createTokenAccountTransaction,
- TokenTransfer? tokenTransferTransaction,
- CreateAndTransferToken? createAndTransferTokenTransaction,
- CreateNonceAccount? createNonceAccount,
- String? sender,
- String? nonceAccount,
- WithdrawNonceAccount? withdrawNonceAccount,
- List<
int> ? feePayerPrivateKey, - String? feePayer,
- AdvanceNonceAccount? advanceNonceAccount,
- RawMessage? rawMessage,
- Encoding? txEncoding,
- PriorityFeePrice? priorityFeePrice,
- PriorityFeeLimit? priorityFeeLimit,
- TokenTransferToFeePayer? tokenTransferToFeePayer,
- Transfer? transferToFeePayer,
Implementation
factory SigningInput({
$core.List<$core.int>? privateKey,
$core.String? recentBlockhash,
$core.bool? v0Msg,
Transfer? transferTransaction,
DelegateStake? delegateStakeTransaction,
DeactivateStake? deactivateStakeTransaction,
DeactivateAllStake? deactivateAllStakeTransaction,
WithdrawStake? withdrawTransaction,
WithdrawAllStake? withdrawAllTransaction,
CreateTokenAccount? createTokenAccountTransaction,
TokenTransfer? tokenTransferTransaction,
CreateAndTransferToken? createAndTransferTokenTransaction,
CreateNonceAccount? createNonceAccount,
$core.String? sender,
$core.String? nonceAccount,
WithdrawNonceAccount? withdrawNonceAccount,
$core.List<$core.int>? feePayerPrivateKey,
$core.String? feePayer,
AdvanceNonceAccount? advanceNonceAccount,
RawMessage? rawMessage,
Encoding? txEncoding,
PriorityFeePrice? priorityFeePrice,
PriorityFeeLimit? priorityFeeLimit,
TokenTransferToFeePayer? tokenTransferToFeePayer,
Transfer? transferToFeePayer,
}) {
final $result = create();
if (privateKey != null) {
$result.privateKey = privateKey;
}
if (recentBlockhash != null) {
$result.recentBlockhash = recentBlockhash;
}
if (v0Msg != null) {
$result.v0Msg = v0Msg;
}
if (transferTransaction != null) {
$result.transferTransaction = transferTransaction;
}
if (delegateStakeTransaction != null) {
$result.delegateStakeTransaction = delegateStakeTransaction;
}
if (deactivateStakeTransaction != null) {
$result.deactivateStakeTransaction = deactivateStakeTransaction;
}
if (deactivateAllStakeTransaction != null) {
$result.deactivateAllStakeTransaction = deactivateAllStakeTransaction;
}
if (withdrawTransaction != null) {
$result.withdrawTransaction = withdrawTransaction;
}
if (withdrawAllTransaction != null) {
$result.withdrawAllTransaction = withdrawAllTransaction;
}
if (createTokenAccountTransaction != null) {
$result.createTokenAccountTransaction = createTokenAccountTransaction;
}
if (tokenTransferTransaction != null) {
$result.tokenTransferTransaction = tokenTransferTransaction;
}
if (createAndTransferTokenTransaction != null) {
$result.createAndTransferTokenTransaction =
createAndTransferTokenTransaction;
}
if (createNonceAccount != null) {
$result.createNonceAccount = createNonceAccount;
}
if (sender != null) {
$result.sender = sender;
}
if (nonceAccount != null) {
$result.nonceAccount = nonceAccount;
}
if (withdrawNonceAccount != null) {
$result.withdrawNonceAccount = withdrawNonceAccount;
}
if (feePayerPrivateKey != null) {
$result.feePayerPrivateKey = feePayerPrivateKey;
}
if (feePayer != null) {
$result.feePayer = feePayer;
}
if (advanceNonceAccount != null) {
$result.advanceNonceAccount = advanceNonceAccount;
}
if (rawMessage != null) {
$result.rawMessage = rawMessage;
}
if (txEncoding != null) {
$result.txEncoding = txEncoding;
}
if (priorityFeePrice != null) {
$result.priorityFeePrice = priorityFeePrice;
}
if (priorityFeeLimit != null) {
$result.priorityFeeLimit = priorityFeeLimit;
}
if (tokenTransferToFeePayer != null) {
$result.tokenTransferToFeePayer = tokenTransferToFeePayer;
}
if (transferToFeePayer != null) {
$result.transferToFeePayer = transferToFeePayer;
}
return $result;
}