public static interface WalletKitOuterClass.ImportAccountRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
WalletKitOuterClass.AddressType |
getAddressType()
An address type is only required when the extended account public key has a
legacy version (xpub, tpub, etc.), such that the wallet cannot detect what
address scheme it belongs to.
|
int |
getAddressTypeValue()
An address type is only required when the extended account public key has a
legacy version (xpub, tpub, etc.), such that the wallet cannot detect what
address scheme it belongs to.
|
boolean |
getDryRun()
Whether a dry run should be attempted when importing the account.
|
java.lang.String |
getExtendedPublicKey()
A public key that corresponds to a wallet account represented as an extended
key.
|
com.google.protobuf.ByteString |
getExtendedPublicKeyBytes()
A public key that corresponds to a wallet account represented as an extended
key.
|
com.google.protobuf.ByteString |
getMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path
m/) from which the account public key was derived from.
|
java.lang.String |
getName()
A name to identify the account with.
|
com.google.protobuf.ByteString |
getNameBytes()
A name to identify the account with.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
java.lang.String getName()
A name to identify the account with.
string name = 1;
com.google.protobuf.ByteString getNameBytes()
A name to identify the account with.
string name = 1;
java.lang.String getExtendedPublicKey()
A public key that corresponds to a wallet account represented as an extended key. It must conform to a derivation path of the form m/purpose'/coin_type'/account'.
string extended_public_key = 2;
com.google.protobuf.ByteString getExtendedPublicKeyBytes()
A public key that corresponds to a wallet account represented as an extended key. It must conform to a derivation path of the form m/purpose'/coin_type'/account'.
string extended_public_key = 2;
com.google.protobuf.ByteString getMasterKeyFingerprint()
The fingerprint of the root key (also known as the key with derivation path m/) from which the account public key was derived from. This may be required by some hardware wallets for proper identification and signing. The bytes must be in big-endian order.
bytes master_key_fingerprint = 3;
int getAddressTypeValue()
An address type is only required when the extended account public key has a legacy version (xpub, tpub, etc.), such that the wallet cannot detect what address scheme it belongs to.
.walletrpc.AddressType address_type = 4;
WalletKitOuterClass.AddressType getAddressType()
An address type is only required when the extended account public key has a legacy version (xpub, tpub, etc.), such that the wallet cannot detect what address scheme it belongs to.
.walletrpc.AddressType address_type = 4;
boolean getDryRun()
Whether a dry run should be attempted when importing the account. This serves as a way to confirm whether the account is being imported correctly by returning the first N addresses for the external and internal branches of the account. If these addresses match as expected, then it should be safe to import the account as is.
bool dry_run = 5;