feat: Add search page

This commit is contained in:
2023-12-28 18:04:38 +11:00
parent d6f98960b0
commit f5c222576b
14 changed files with 330 additions and 44 deletions

View File

@@ -173,4 +173,13 @@ def send(account,address,amount):
}
return {
"tx": response['result']
}
}
def getDomain(domain: str):
# Get the domain
response = hsd.rpc_getNameInfo(domain)
if response['error'] is not None:
return {
"error": response['error']['message']
}
return response['result']