Get State
Get the latest state of an atomical.
Method
atomicalsGetState
Parameters
{
atomicalAliasOrId: string | number
}
Example
Code
const atomicalAliasOrId =
'555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0'
const result: ToResult<{ global: GlobalResult, result: AtomicalStatus }> =
await api.atomicalsGetState({ params: { atomicalAliasOrId } })
Result
{
"global": {
"atomical_count": 226639,
"atomicals_block_hashes": {
"890684": "0b6876bf0a54d1b091a605f11fee65aeb67f86a550301008fe3ec37477878aad",
"890685": "6256246a7349a2fb0a8412378ef311ac50400893e999c25aab8fd273cfb4f241",
"890686": "66a720d1a9b99241197ed92803b12556613af4ce6f375061574507077101a1fb",
"890687": "984989f83d48ece5e9b6224ade3130e14fbe93e04ecdc4d7d3ee46bd4d75b229",
"890688": "b947db5073b0e38458fcf2d643067601b29f9795e4005ed473f3bd3e513fa3e7",
"890689": "184cbb8edf7d65c011b1d0efeebea75ed7916d9f12836f720114608f5d62b755",
"890690": "16f9dd7e02d48d0865544bad3ba6d2c0f8fd494cf86d2a20070fe9bd68521a35",
"890691": "ad0def284725ba261a6908973468ce0883366f7c777ea4a2e3d419434a5f6bf4",
"890692": "514b1ea930100ca88107a1342d747028f544e604467520c7d93317480716792f",
"890693": "bb96a72e10e7b2eaa7701a4525eaa69dd125c4560e01a233bbc4e4c9854f0156"
},
"atomicals_block_tip": "bb96a72e10e7b2eaa7701a4525eaa69dd125c4560e01a233bbc4e4c9854f0156",
"block_tip": "000000000000000000003d7949f5b58c24e98f48ba2bbd024d9c6de5b27fb635",
"coin": "Bitcoin",
"height": 890693,
"network": "mainnet",
"server_time": "2025-04-03T10:38:56.113539"
},
"result": {
"$bitwork": {
"bitworkc": "5557",
"bitworkr": null
},
"$full_realm_name": "techtoshi",
"$realm": "techtoshi",
"$realm_candidates": [
{
"atomical_id": "555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0",
"commit_height": 880018,
"reveal_location_height": 880018,
"tx_num": 1145635051,
"txid": "555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203ae"
}
],
"$request_realm": "techtoshi",
"$request_realm_status": {
"note": "Successfully verified and claimed realm for current Atomical.",
"status": "verified",
"verified_atomical_id": "555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0"
},
"atomical_id": "555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0",
"atomical_number": 226048,
"atomical_ref": "anbgbqv29vmaqw24wr0bbjq1xg53rw3y5yt1cxrj8kw8dak20eq0i0",
"confirmed": true,
"location_counts": 1,
"location_info": [
{
"atomicals_at_location": [
"555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0"
],
"index": 0,
"location": "30fa8c81bb2e80fabe03251a8a44b301e0f3c18be0ea5eb2971e9ec01cf9e7c1i0",
"script": "5120d3353ee13e2121b314f797afa5cb7b95143ce570afbd307f4767b285ffb1947e",
"scripthash": "ae2bb1dbcbdac9161b782dcbc81ec3319e81f5d8b0c2946a6650382a1a0e070a",
"tx_num": 1145635151,
"txid": "30fa8c81bb2e80fabe03251a8a44b301e0f3c18be0ea5eb2971e9ec01cf9e7c1",
"value": 546
}
],
"location_info_obj": {
"locations": [
{
"atomicals_at_location": [
"555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0"
],
"index": 0,
"location": "30fa8c81bb2e80fabe03251a8a44b301e0f3c18be0ea5eb2971e9ec01cf9e7c1i0",
"script": "5120d3353ee13e2121b314f797afa5cb7b95143ce570afbd307f4767b285ffb1947e",
"scripthash": "ae2bb1dbcbdac9161b782dcbc81ec3319e81f5d8b0c2946a6650382a1a0e070a",
"tx_num": 1145635151,
"txid": "30fa8c81bb2e80fabe03251a8a44b301e0f3c18be0ea5eb2971e9ec01cf9e7c1",
"value": 546
}
]
},
"mint_data": {
"fields": {
"args": {
"bitworkc": "5557",
"nonce": 8087572,
"request_realm": "techtoshi",
"time": 1737347293
}
}
},
"mint_info": {
"$bitwork": {
"bitworkc": "5557",
"bitworkr": null
},
"$immutable": false,
"$request_realm": "techtoshi",
"args": {
"bitworkc": "5557",
"nonce": 8087572,
"request_realm": "techtoshi",
"time": 1737347293
},
"commit_height": 880018,
"commit_index": 0,
"commit_location": "555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203aei0",
"commit_tx_num": 1145635051,
"commit_txid": "555705df624ee8abf044e600b5cae1ec0a3c707e2fb416771244f886aa6203ae",
"ctx": {},
"meta": {},
"reveal_location": "30fa8c81bb2e80fabe03251a8a44b301e0f3c18be0ea5eb2971e9ec01cf9e7c1i0",
"reveal_location_blockhash": "d919a5da3cf934b32bdad0beadd036a49d184f7039bb00000000000000000000",
"reveal_location_header": "00e0c0251c98569aa0ae284c47575bb6f6d164abd163bf0be9d000000000000000000000b5d92abc7cfa4282c276464cbd6193277db0abe18ea3da4d966720ed5f937f33a4d18d67618c0217ddd4bb56",
"reveal_location_height": 880018,
"reveal_location_index": 0,
"reveal_location_script": "5120d3353ee13e2121b314f797afa5cb7b95143ce570afbd307f4767b285ffb1947e",
"reveal_location_scripthash": "ae2bb1dbcbdac9161b782dcbc81ec3319e81f5d8b0c2946a6650382a1a0e070a",
"reveal_location_tx_num": 1145635151,
"reveal_location_txid": "30fa8c81bb2e80fabe03251a8a44b301e0f3c18be0ea5eb2971e9ec01cf9e7c1",
"reveal_location_value": 546
},
"state": {
"latest": {}
},
"subtype": "realm",
"type": "NFT"
}
}