pub struct ListHolders { /* private fields */ }Expand description
Request builder for getting top holders
Implementations§
Source§impl ListHolders
impl ListHolders
Sourcepub fn limit(self, limit: u32) -> Self
pub fn limit(self, limit: u32) -> Self
Set maximum number of results per market (0-500, default: 20).
Verified live on 2026-07-25: limit=500 succeeds, limit=501 returns
HTTP 400 {"error":"max holders limit of 500 exceeded"}, and omitting
the parameter yields 20 rows. The value is not range-checked here —
out-of-range values reach the venue and 400.
Sourcepub fn min_balance(self, min_balance: u32) -> Self
pub fn min_balance(self, min_balance: u32) -> Self
Set minimum balance filter (0-999999, default: 1)
Sourcepub async fn send(self) -> Result<Vec<MarketHolders>, DataApiError>
pub async fn send(self) -> Result<Vec<MarketHolders>, DataApiError>
Execute the request
Auto Trait Implementations§
impl !RefUnwindSafe for ListHolders
impl !UnwindSafe for ListHolders
impl Freeze for ListHolders
impl Send for ListHolders
impl Sync for ListHolders
impl Unpin for ListHolders
impl UnsafeUnpin for ListHolders
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more