Get Holders

Return the holder for a given atomical id.

Method

atomicalsGetHolders

Parameters

{
  atomicalAliasOrId: string | number
}

Example

Code

const atomicalAliasOrId =
  '555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0'
const result: ToResult<HolderItem[]> = await api.atomicalsGetHolders({
  params: { atomicalAliasOrId },
})

Result

[
  {
    "address": "bc1p6v6nacf7yysmx98hj7h6tjmmj52reets477nql68v7egtla3j3lqg9pf4z",
    "holding": 546
  }
]