Skip to main content
POST
getGrouping
Returns group_key, group_name (the address you sent) and group_size. Also accepted as get_grouping.
  • groupKey is collection or group; any other key returns a group_size of 0.
  • Only verified members are counted, account-based and compressed alike.
  • Use getAssetsByGroup to list the members.
  • Costs 1 credit and counts against your plan’s DAS RPS limit.
Request setup and error handling: RPC quickstart. Billing: credits and limits. All DAS methods: DAS API overview.

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
required

The name of the RPC method to invoke.

Available options:
getGrouping
Example:

"getGrouping"

params
object
required

Group to count. Unknown keys are rejected.

Response

Successfully retrieved the group size.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

Group size.