Skip to content

Get Rewards

Retrieves historical block trading rewards for the specified address.

Method Declaration

Python
async def get_historical_block_trading_rewards(
    self,
    address: str,
    limit: Optional[int] = None,
) -> Any
Unification Plan

Parameters

ParameterLocationTypeRequiredDescription
addresspathAddresstrueThe wallet address that owns the account.
limitqueryu32falseMaximum number of asset positions to return in the response.
startingBeforeOrAtHeightqueryHeightfalseThe timestamp filter for rewards starting before or at.
startingBeforeOrAtqueryDateTime in UTCfalseThe block height filter for rewards starting before or at.

Response

StatusMeaningSchemaDescription
200OKHistoricalBlockTradingRewardThe historical block trading rewards data.
400Bad RequestThe request was malformed or invalid.
API Example