forSigner method

AccountsRequestBuilder forSigner(
  1. String signerAccountId
)

Returns all accounts that contain a specific signer given by the signerAccountId See: Accounts

Implementation

AccountsRequestBuilder forSigner(String signerAccountId) {
  if (queryParameters.containsKey(ASSET_PARAMETER_NAME)) {
    throw new Exception("cannot set both signer and asset");
  }
  queryParameters.addAll({SIGNER_PARAMETER_NAME: signerAccountId});
  return this;
}