API Reference

Get Descendant Tree

Method Name

public/get_descendant_tree

Returns the tree of descendants given a root wallet up to 2 levels deep.

Parameters

wallet_or_invite_code string or integer required
Wallet of account owner to get descendants for.

Response

id string or integer required
result object required
result.parent string required
Wallet address of wallet that referred this account
result.descendants object required
Nested dict representing a tree of descendants two layers deep

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}