Transactions API — OpenAPI documentation fix
Fixed OpenAPI schema inconsistencies between documentation and implementation for the/transactions endpoints. No breaking changes — API responses remain unchanged, only the OpenAPI spec was corrected.Nullable fields corrected:- Fee:
fungible_info,price,valuemarked as nullable - Refund:
fungible_info,price,valuemarked as nullable - Transfer:
price,valuemarked as nullable - Fungible Info:
iconmarked as nullable
- Transaction attributes:
address,refund,delegations - Fungible Info:
id
null values, as these were already nullable in practice.Chart periods — new time values
Added two new time period values to thechart_period parameter:6months— 6-month chart period5years— 5-year chart period
hour, day, week, month, 3months, year, and max.Affected endpoints:GET /wallets/{address}/charts/{chart_period}GET /fungibles/{fungible_id}/charts/{chart_period}GET /fungibles/by-implementation/charts/{chart_period}
Portfolio API — sync parameter
Added newsync query parameter to the /wallets/{address}/portfolio endpoint.true: Triggers a position sync and waits up to 30 seconds for fresh portfolio data before responding.false(default): Returns immediately with cached data.
sync=true.Positions API — sync parameter
Added newsync query parameter to the /wallets/{address}/positions endpoint.true: Waits up to 30 seconds for protocol positions to be updated and returns fresh data.false(default): Returns immediately with available position data.
sync=true.