public static interface WalletKitOuterClass.FundPsbtRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccount()
The name of the account to fund the PSBT with.
|
com.google.protobuf.ByteString |
getAccountBytes()
The name of the account to fund the PSBT with.
|
WalletKitOuterClass.ChangeAddressType |
getChangeType()
The address type for the change.
|
int |
getChangeTypeValue()
The address type for the change.
|
WalletKitOuterClass.FundPsbtRequest.FeesCase |
getFeesCase() |
int |
getMinConfs()
The minimum number of confirmations each one of your outputs used for
the transaction must satisfy.
|
com.google.protobuf.ByteString |
getPsbt()
Use an existing PSBT packet as the template for the funded PSBT.
|
WalletKitOuterClass.TxTemplate |
getRaw()
Use the outputs and optional inputs from this raw template.
|
WalletKitOuterClass.TxTemplateOrBuilder |
getRawOrBuilder()
Use the outputs and optional inputs from this raw template.
|
long |
getSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the
input with.
|
boolean |
getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
|
int |
getTargetConf()
The target number of blocks that the transaction should be confirmed in.
|
WalletKitOuterClass.FundPsbtRequest.TemplateCase |
getTemplateCase() |
boolean |
hasPsbt()
Use an existing PSBT packet as the template for the funded PSBT.
|
boolean |
hasRaw()
Use the outputs and optional inputs from this raw template.
|
boolean |
hasSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the
input with.
|
boolean |
hasTargetConf()
The target number of blocks that the transaction should be confirmed in.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasPsbt()
Use an existing PSBT packet as the template for the funded PSBT. The packet must contain at least one non-dust output. If one or more inputs are specified, no coin selection is performed. In that case every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the specified fee rate. A change output is added to the PSBT if necessary.
bytes psbt = 1;
com.google.protobuf.ByteString getPsbt()
Use an existing PSBT packet as the template for the funded PSBT. The packet must contain at least one non-dust output. If one or more inputs are specified, no coin selection is performed. In that case every input must be an UTXO known to the wallet that has not been locked before. The sum of all inputs must be sufficiently greater than the sum of all outputs to pay a miner fee with the specified fee rate. A change output is added to the PSBT if necessary.
bytes psbt = 1;
boolean hasRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;
WalletKitOuterClass.TxTemplate getRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;
WalletKitOuterClass.TxTemplateOrBuilder getRawOrBuilder()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;
boolean hasTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;
int getTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;
boolean hasSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;
long getSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;
java.lang.String getAccount()
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;
com.google.protobuf.ByteString getAccountBytes()
The name of the account to fund the PSBT with. If empty, the default wallet account is used.
string account = 5;
int getMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 6;
boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 7;
int getChangeTypeValue()
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;
WalletKitOuterClass.ChangeAddressType getChangeType()
The address type for the change. If empty, P2WPKH addresses will be used for default accounts and single imported public keys. For custom accounts, no change type should be provided as the coin selection key scope will always be used to generate the change address.
.walletrpc.ChangeAddressType change_type = 8;
WalletKitOuterClass.FundPsbtRequest.TemplateCase getTemplateCase()
WalletKitOuterClass.FundPsbtRequest.FeesCase getFeesCase()