public static final class WalletKitOuterClass.FundPsbtRequest extends com.google.protobuf.GeneratedMessageV3 implements WalletKitOuterClass.FundPsbtRequestOrBuilder
walletrpc.FundPsbtRequest| Modifier and Type | Class and Description | 
|---|---|
| static class  | WalletKitOuterClass.FundPsbtRequest.BuilderProtobuf type  walletrpc.FundPsbtRequest | 
| static class  | WalletKitOuterClass.FundPsbtRequest.FeesCase | 
| static class  | WalletKitOuterClass.FundPsbtRequest.TemplateCase | 
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description | 
|---|---|
| static int | ACCOUNT_FIELD_NUMBER | 
| static int | CHANGE_TYPE_FIELD_NUMBER | 
| static int | MIN_CONFS_FIELD_NUMBER | 
| static int | PSBT_FIELD_NUMBER | 
| static int | RAW_FIELD_NUMBER | 
| static int | SAT_PER_VBYTE_FIELD_NUMBER | 
| static int | SPEND_UNCONFIRMED_FIELD_NUMBER | 
| static int | TARGET_CONF_FIELD_NUMBER | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| 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. | 
| static WalletKitOuterClass.FundPsbtRequest | getDefaultInstance() | 
| WalletKitOuterClass.FundPsbtRequest | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| 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.Parser<WalletKitOuterClass.FundPsbtRequest> | getParserForType() | 
| 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. | 
| int | getSerializedSize() | 
| 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() | 
| int | hashCode() | 
| 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. | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| static WalletKitOuterClass.FundPsbtRequest.Builder | newBuilder() | 
| static WalletKitOuterClass.FundPsbtRequest.Builder | newBuilder(WalletKitOuterClass.FundPsbtRequest prototype) | 
| WalletKitOuterClass.FundPsbtRequest.Builder | newBuilderForType() | 
| protected WalletKitOuterClass.FundPsbtRequest.Builder | newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) | 
| protected java.lang.Object | newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) | 
| static WalletKitOuterClass.FundPsbtRequest | parseDelimitedFrom(java.io.InputStream input) | 
| static WalletKitOuterClass.FundPsbtRequest | parseDelimitedFrom(java.io.InputStream input,
                  com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(byte[] data) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(java.nio.ByteBuffer data) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(com.google.protobuf.ByteString data) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(com.google.protobuf.CodedInputStream input) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(java.io.InputStream input) | 
| static WalletKitOuterClass.FundPsbtRequest | parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| static com.google.protobuf.Parser<WalletKitOuterClass.FundPsbtRequest> | parser() | 
| WalletKitOuterClass.FundPsbtRequest.Builder | toBuilder() | 
| void | writeTo(com.google.protobuf.CodedOutputStream output) | 
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PSBT_FIELD_NUMBER
public static final int RAW_FIELD_NUMBER
public static final int TARGET_CONF_FIELD_NUMBER
public static final int SAT_PER_VBYTE_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
public static final int MIN_CONFS_FIELD_NUMBER
public static final int SPEND_UNCONFIRMED_FIELD_NUMBER
public static final int CHANGE_TYPE_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public WalletKitOuterClass.FundPsbtRequest.TemplateCase getTemplateCase()
getTemplateCase in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.FundPsbtRequest.FeesCase getFeesCase()
getFeesCase in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic 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;hasPsbt in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic 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;getPsbt in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic boolean hasRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;hasRaw in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.TxTemplate getRaw()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;getRaw in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic WalletKitOuterClass.TxTemplateOrBuilder getRawOrBuilder()
Use the outputs and optional inputs from this raw template.
.walletrpc.TxTemplate raw = 2;getRawOrBuilder in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic boolean hasTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;hasTargetConf in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic int getTargetConf()
The target number of blocks that the transaction should be confirmed in.
uint32 target_conf = 3;getTargetConf in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic boolean hasSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;hasSatPerVbyte in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic long getSatPerVbyte()
The fee rate, expressed in sat/vbyte, that should be used to spend the input with.
uint64 sat_per_vbyte = 4;getSatPerVbyte in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic 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;getAccount in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic 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;getAccountBytes in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic int getMinConfs()
The minimum number of confirmations each one of your outputs used for the transaction must satisfy.
int32 min_confs = 6;getMinConfs in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic boolean getSpendUnconfirmed()
Whether unconfirmed outputs should be used as inputs for the transaction.
bool spend_unconfirmed = 7;getSpendUnconfirmed in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic 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;getChangeTypeValue in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic 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;getChangeType in interface WalletKitOuterClass.FundPsbtRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WalletKitOuterClass.FundPsbtRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static WalletKitOuterClass.FundPsbtRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic WalletKitOuterClass.FundPsbtRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WalletKitOuterClass.FundPsbtRequest.Builder newBuilder()
public static WalletKitOuterClass.FundPsbtRequest.Builder newBuilder(WalletKitOuterClass.FundPsbtRequest prototype)
public WalletKitOuterClass.FundPsbtRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WalletKitOuterClass.FundPsbtRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WalletKitOuterClass.FundPsbtRequest getDefaultInstance()
public static com.google.protobuf.Parser<WalletKitOuterClass.FundPsbtRequest> parser()
public com.google.protobuf.Parser<WalletKitOuterClass.FundPsbtRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WalletKitOuterClass.FundPsbtRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder