post https://api.solana.fm/v0/domains/bonfida/favourites
Parameters
accountHashes
- a list of domain owner's account hashes to query forfidaType
- SNS domain type to query for
Available options for this field are ["OWNER"
,"NAME_SERVICE"
]
Results
Valid Response
[<object>]
- a list of JSON objects containing the following fields each:
owner:
<String>, the domain owner's account hashname:
<String>, the name of the domain accountnameServiceAccount:
<String>, the name service account hash- Example of a valid response:
{
"status": "Success",
"message": "Retrived favourite domains of multiple accounts!",
"result": [
{
"owner": "6PzyBQbt3F8aRRAEohn3usYtdTx6nQAVwiFUHVtC7giW",
"name": "impuesto",
"nameServiceAccount": "6PzyBQbt3F8aRRAEohn3usYtdTx6nQAVwiFUHVtC7giW"
}
]
}
Invalid Response
<object>
- a JSON object containing the following fields if the requested account doesn't exist
code:
<integer>, The error codemessage:
<String>, An error message to indicate which part of the query went wrongstatus:
<String>, The response status following the error code- 400 = Bad Request (client side)
- 500 = Internal Server Error (server side)