Admin

Get referral lineage

Changed on

Walk a wallet's invite-code redemption chain up to its root (the wallet that redeemed no one else's code) and report the hop count. depth=0 means the wallet itself is a root; depth=1/2/... means it is that many levels below the root (L1, L2, ...).

get/admin/invite/referral-lineage/{wallet}

Request

Path parameters

walletstring required

Wallet address (0x-prefixed).

Response

A successful response.

rootstring

The wallet at the top of this chain — the one that redeemed no one else's invite code. Equals wallet when it is itself a root.

depthinteger

Hops from root to wallet. 0 = wallet is the root; 1 = wallet redeemed root's own code (L1); 2 = wallet redeemed an L1 wallet's code (L2); and so on.

Changes