Skip to content
Merged
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
8 changes: 8 additions & 0 deletions cobo_custody/client/mpc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,11 @@ def unlock_spendable(self, coin: str, tx_hash: str, vout_n: int):
def get_rare_satoshis(self, coin: str, tx_hash: str, vout_n: int):
params = {"coin": coin, "tx_hash": tx_hash, "vout_n": vout_n}
return self.request("GET", "/v1/custody/mpc/get_rare_satoshis/", params)

def get_utxo_assets(self, coin: str, tx_hash: str, vout_n: int):
params = {"coin": coin, "tx_hash": tx_hash, "vout_n": vout_n}
return self.request("GET", "/v1/custody/mpc/get_utxo_assets/", params)

def get_ordinals_inscription(self, inscription_id: str):
params = {"inscription_id": inscription_id}
return self.request("GET", "/v1/custody/mpc/get_ordinals_inscription/", params)