forked from LBRYCommunity/lbry-sdk
15 lines
450 B
Python
15 lines
450 B
Python
import lbry
|
|
from lbry.wallet.client.basenetwork import BaseNetwork
|
|
|
|
|
|
class Network(BaseNetwork):
|
|
PROTOCOL_VERSION = lbry.__version__
|
|
|
|
def get_claims_by_ids(self, claim_ids):
|
|
return self.rpc('blockchain.claimtrie.getclaimsbyids', claim_ids)
|
|
|
|
def resolve(self, urls):
|
|
return self.rpc('blockchain.claimtrie.resolve', urls)
|
|
|
|
def claim_search(self, **kwargs):
|
|
return self.rpc('blockchain.claimtrie.search', kwargs)
|