Skip to content

Commit

Permalink
Self review update
Browse files Browse the repository at this point in the history
  • Loading branch information
phanigovindaraju committed Aug 5, 2024
1 parent 0d35b26 commit 215ee16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fireblocks_sdk/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -2900,7 +2900,7 @@ def get_linked_token(self, id: str):
def get_linked_tokens_count(self):
return self._get_request(f"/v1/tokenization/tokens/count")

def link_token(self, type: TokenLinkType, ref_id: str = None, display_name: Optional[str] = None):
def link_token(self, type: TokenLinkType, ref_id: str, display_name: Optional[str] = None):
body = {
"type": type,
"refId": ref_id,
Expand All @@ -2911,8 +2911,8 @@ def link_token(self, type: TokenLinkType, ref_id: str = None, display_name: Opti

return self._post_request(f"/v1/tokenization/tokens/link", body)

def link_contract_by_address(self, type: TokenLinkType, base_asset_id: str = None,
contract_address: str = None, display_name: Optional[str] = None):
def link_contract_by_address(self, type: TokenLinkType, base_asset_id: str,
contract_address: str, display_name: Optional[str] = None):
body = {
"type": type,
"baseAssetId": base_asset_id,
Expand Down

0 comments on commit 215ee16

Please sign in to comment.