Skip to content

Type Alias: UserRoleResponse ​

ts
type UserRoleResponse = 
  | {
  data: {
     user: string;
  };
  role: "agent";
}
  | {
  role: "missing" | "user" | "vault";
}
  | {
  data: {
     master: string;
  };
  role: "subAccount";
};

Built by Siebly. Open source SDKs for exchange APIs.