forAsset method
Returns all accounts who are trustees to a specific asset
.
See: Accounts
Implementation
AccountsRequestBuilder forAsset(Asset asset) {
if (queryParameters.containsKey(SIGNER_PARAMETER_NAME)) {
throw new Exception("cannot set both signer and asset");
}
queryParameters.addAll({ASSET_PARAMETER_NAME: encodeAsset(asset)});
return this;
}