query · Module: Data Network
Arguments
Returns
Anchor!
Errors
Errors are returned inerrors[], with the REST error object in extensions (type, code, param, request_id), using the codes in Conventions §9.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
query Anchor($id: ID!) {
anchor(id: $id) {
id
object
status
ledger {
network
contract
tx
block
}
merkle_root
records
created
}
}
{
"id": "obj_1a2B3c"
}
{
"data": {
"anchor": {
"id": "obj_1a2B3c",
"object": "anchor",
"status": "pending",
"ledger": {
"network": "example",
"contract": "example",
"tx": "example",
"block": 2
},
"merkle_root": "example",
"records": 2,
"created": 1791302400
}
}
}
Retrieve an anchor
query Anchor($id: ID!) {
anchor(id: $id) {
id
object
status
ledger {
network
contract
tx
block
}
merkle_root
records
created
}
}
{
"id": "obj_1a2B3c"
}
{
"data": {
"anchor": {
"id": "obj_1a2B3c",
"object": "anchor",
"status": "pending",
"ledger": {
"network": "example",
"contract": "example",
"tx": "example",
"block": 2
},
"merkle_root": "example",
"records": 2,
"created": 1791302400
}
}
}
query · Module: Data Network
| Argument | Type | Description |
|---|---|---|
id | ID! | The object’s ID. |
Anchor!
| Field | Type |
|---|---|
id | String! |
object | AnchorObject! |
ledger | AnchorLedger |
merkle_root | String! |
records | Int |
created | Int |
status | AnchorStatus! |
errors[], with the REST error object in extensions (type, code, param, request_id), using the codes in Conventions §9.
query Anchor($id: ID!) {
anchor(id: $id) {
id
object
status
ledger {
network
contract
tx
block
}
merkle_root
records
created
}
}
{
"id": "obj_1a2B3c"
}
{
"data": {
"anchor": {
"id": "obj_1a2B3c",
"object": "anchor",
"status": "pending",
"ledger": {
"network": "example",
"contract": "example",
"tx": "example",
"block": 2
},
"merkle_root": "example",
"records": 2,
"created": 1791302400
}
}
}