Adds a key to the builder's list. Either this or #setRootXpubs(List) must be called before #create(Client). @param xpub key @return updated builder object.
(String xpub)
| 309 | * @return updated builder object. |
| 310 | */ |
| 311 | public Builder addRootXpub(String xpub) { |
| 312 | this.rootXpubs.add(xpub); |
| 313 | return this; |
| 314 | } |
| 315 | |
| 316 | /** |
| 317 | * Sets the builder's list of keys.<br> |