build_permission_observation

Documentation for eth_defi.hyperliquid.permission.build_permission_observation function.

build_permission_observation(vault, info)

Capture the successful response before portfolio processing starts.

The client retains trimmed raw flags and their receipt clock. Test doubles without this envelope use the immediately returned parsed response instead.

Parameters
Returns

New immutable coherent observation, even without price history.

Return type

eth_defi.hyperliquid.permission.PermissionObservation