Parameters
- typestringREQUIRED
The method type to call
- userstringREQUIRED
User address to query role information for
Returns
- rolestring
The role type of the account.
Possible values:
-
user— Standard trading account with full trading capabilities
Example: {"role": "user"} -
agent— Agent account acting on behalf of another user
Example: {"role": "agent", "data": {"user": "0x..."}} -
vault— Vault account for collective asset management
Example: {"role": "vault"} -
subAccount— Sub-account linked to a master account
Example: {"role": "subAccount", "data": {"master": "0x..."}} -
missing— Unrecognized or non-existent account
Example: {"role": "missing"}
-
Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free