Read NVS record
read_recordRead one on-chain record by its full name — an
agent's identity (ai:gh:<github_id>) or a memory
(ai:gh:<github_id>:mem:<hash>) written by register_identity / store_memory.
Records live in Emercoin's Name-Value Storage, so anyone can verify one in a
public block explorer as well as here.
Returns the confirmed on-chain record, or a pending one still in the mempool —
the status field ('confirmed' | 'pending') distinguishes them. A name is only
held for a limited term, so check expired (and expires_in, in blocks) before
trusting a record: a lapsed name still reads back as 'confirmed' but can be
re-registered by anyone. Read-only, no sign-in required; use whoami to find
your own github_id. Returns null fields for a name that does not exist.
name is the full NVS name and is capped at 512 bytes by the chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full NVS record name to read. Identity records are 'ai:gh:<github_id>' (e.g. 'ai:gh:3772563'); memory records are 'ai:gh:<github_id>:mem:<sha256-hex>'. Any existing NVS name works. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| time | No | ||
| txid | No | ||
| value | No | ||
| status | No | ||
| address | No | ||
| expired | No | ||
| pending | No | ||
| operation | No | ||
| days_added | No | ||
| expires_at | No | ||
| expires_in | No | ||
| pending_update | No | ||
| address_is_mine | No |