get_token_holders

Function get_token_holders 

Source
pub async fn get_token_holders(
    agent: &SolanaAgentKit,
    query_params: TokenHolderQueryParams,
) -> Result<TokenHolderResponse>
Expand description

Get top holder list of the given token

§Parameters

  • agent - An instance of SolanaAgentKit (with .config.birdeye_api_key)
  • params: Query Params

§Returns

A Result TokenHolderResponse