Get by Realm

Get atomical information for a given realm.

Method

atomicalsGetByRealm

Parameters

{
  realm: string
}

Example

Code

const realm = 'realmapp'
const result: ToResult<{ result: GetResult }> = await api.atomicalsGetByRealm({
  params: { realm },
})

Result

{
  "result": {
    "atomical_id": "7788b52fb3da9d01d11918c0816aa7c62dafa2aca2f0c219d356ba71c29a31cci0",
    "candidate_atomical_id": "7788b52fb3da9d01d11918c0816aa7c62dafa2aca2f0c219d356ba71c29a31cci0",
    "candidates": [
      {
        "atomical_id": "7788b52fb3da9d01d11918c0816aa7c62dafa2aca2f0c219d356ba71c29a31cci0",
        "commit_height": 874371,
        "reveal_location_height": 874371,
        "tx_num": 1130581592,
        "txid": "7788b52fb3da9d01d11918c0816aa7c62dafa2aca2f0c219d356ba71c29a31cc"
      }
    ],
    "status": "verified",
    "type": "realm"
  }
}