query_allocation

Function query_allocation 

Source
pub fn query_allocation(
    deps: Deps<'_>,
    account: String,
    timestamp: Option<u64>,
) -> StdResult<AllocationResponse>
Expand description

Return either historical or current information about a specific allocation.

  • account account whose allocation we query.

  • timestamp timestamp at which we query the allocation. Optional.