-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Get atomicals at location returns wrong scripthash.
request:
curl -v "https://ep.atomicalneutron.com/proxy/blockchain.atomicals.at_location?params=\[%22d21f8ea708b21608b09cfec7ca263e35d69b63e1380db0f68954a2b5b3ba8c8fi0%22\]"
response:
{"success":true,"response":{"location_info":{"location":"d21f8ea708b21608b09cfec7ca263e35d69b63e1380db0f68954a2b5b3ba8c8fi0","txid":"d21f8ea708b21608b09cfec7ca263e35d69b63e1380db0f68954a2b5b3ba8c8f","index":0,"scripthash":"4b2ff9b90f0fca6341f6cac374d414a7ee59379a528990cf3a8d1c74bfa4ef45","script":"0014fb7454e043913f46cee06143ff3f320b6e2f8041","value":546},"atomicals":[{"atomical_id":"9125f03bcf9325f6071762b9aee00b461a0b43ed157c336e2e89e07f47ea6f66i0","atomical_number":149087,"atomical_ref":"j4jz0eyfjcjzc1rqcawtxr0b8rd0pgzd2ny36vheh7g7yhzadxk0i0","type":"FT"}]}}
The scripthash here is "4b2ff9b90f0fca6341f6cac374d414a7ee59379a528990cf3a8d1c74bfa4ef45" .
Not equal to the correct scripthash of address "bc1qld69fczrjyl5dnhqv9pl70ejpdhzlqzpu0mfjh", which should be "8e6cec514958b4af4002f0c0a6f9f7b0a84944fcb7e6034083c112aaf7dea721".
We can get the atomical with the correct scripthash:
curl -v "https://ep.atomicalneutron.com/proxy/blockchain.atomicals.listscripthash?params=\[%228e6cec514958b4af4002f0c0a6f9f7b0a84944fcb7e6034083c112aaf7dea721%22\]"
# response is too large to paste here
curl -v "https://ep.atomicalneutron.com/proxy/blockchain.atomicals.listscripthash?params=\[%224b2ff9b90f0fca6341f6cac374d414a7ee59379a528990cf3a8d1c74bfa4ef45%22\]"
# request with wrong scripthash just returns empty utxos
So I think the scripthash in the response of blockchain.atomicals.at_location is not correct. The script field is correct.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels