MCPcopy Index your code
hub / github.com/chain/Core / addRootXpub

Method addRootXpub

sdk/java/src/main/java/com/chain/api/Asset.java:311–314  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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>

Callers 15

mainMethod · 0.45
setupMethod · 0.45
benchMethod · 0.45
testAccountQueryMethod · 0.45
testAssetQueryMethod · 0.45
testAssetPaginationMethod · 0.45
testTransactionQueryMethod · 0.45
testBalanceQueryMethod · 0.45
testPaginationMethod · 0.45
testAccountCreateMethod · 0.45

Calls 1

addMethod · 0.80

Tested by 15

testAccountQueryMethod · 0.36
testAssetQueryMethod · 0.36
testAssetPaginationMethod · 0.36
testTransactionQueryMethod · 0.36
testBalanceQueryMethod · 0.36
testPaginationMethod · 0.36
testAccountCreateMethod · 0.36
testAssetCreateMethod · 0.36
testAssetCreateBatchMethod · 0.36
testReceiverCreateMethod · 0.36