public final class Change
extends java.lang.Object
Account.
m / purpose' / coin_type' / account' / change / address_index
Constant 0 is used for external chain and constant 1 for internal chain (also known as change addresses). External chain is used for addresses that are meant to be visible outside of the wallet (e.g. for receiving payments). Internal chain is used for addresses which are not meant to be visible outside of the wallet and is used for return transaction change.
Public derivation is used at this level (not hardened).
| Modifier and Type | Method and Description |
|---|---|
AddressIndex |
address(int addressIndex)
Create a
AddressIndex for this purpose, coin type, account and change. |
Account |
getParent() |
int |
getValue() |
java.lang.String |
toString() |
public int getValue()
public Account getParent()
public java.lang.String toString()
toString in class java.lang.Objectpublic AddressIndex address(int addressIndex)
AddressIndex for this purpose, coin type, account and change.addressIndex - The index of the child