diff --git a/fireblocks_sdk/sdk.py b/fireblocks_sdk/sdk.py index b8ebb9e..c68cf2f 100644 --- a/fireblocks_sdk/sdk.py +++ b/fireblocks_sdk/sdk.py @@ -260,6 +260,15 @@ def set_network_connection_routing_policy(self, connection_id: str, routing_poli return self._patch_request(f"/v1/network_connections/{connection_id}/set_routing_policy", body) + def validate_peer_destination(self, connection_id: str, asset_type: str): + """Validates if peer's routing policy is set to it's workspace or to third party service + Args: + connection_id (string): The network connection's id + asset_type (routingAsset): The desired asset type + """ + + return self._get_request(f"/v1/network_connections/{connection_id}/is_third_party_routing/{asset_type}") + def get_discoverable_network_ids(self): """Gets all discoverable network profiles """