Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions fireblocks_sdk/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down