Roles of a subject in a channel (ERC-8489)
flow_rolesThe participation registry's four-valued evaluation of a subject's roles in a channel at the current clock, the summary of role bits it reports, and the subject's bindings there (basis, interval, state). The subject is an address (its eip155-address reference), a canonical subject string or a bytes32 reference; the channel defaults to the market, then to the cell's own channel.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject": "<subject>"
},
"name": "flow_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | the roles to evaluate (default: submit, respond, observe, redistribute) | |
| subject | Yes | an address, a canonical subject string (<scheme>:<domain>:<id>) or a bytes32 reference | |
| channelId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| roles | Yes | ||
| rolesOf | Yes | ||
| subject | Yes | ||
| bindings | Yes | ||
| canonical | Yes | ||
| channelId | Yes |