I created a move struct which embeds a table, but how can I fetch the whole table from ts sdk? The id isn’t even fetchable from explorer, did I miss anything?
Network: testnet
query {
object(address: "0xc027876cf1080eb8bb2e7812c93bba196e8e9fe9415f3c67483441e727688235") {
asMoveObject {
contents {
json
}
}
}
}
{
"data": {
"object": {
"asMoveObject": {
"contents": {
"json": {
"id": "0xc027876cf1080eb8bb2e7812c93bba196e8e9fe9415f3c67483441e727688235",
"items": {
"id": "0x2c2c0097e4666a4e6e72426fa797c336e45ea02bd9b22906e75c0d53f8fcdd21",
"head": "0x9a1443137eb11ebc700476c0b9310cff5cc0df2ff5416f56418c2464b9d2330d",
"table": {
"id": "0x2cd5ee3702a1d8c016a908c712549ea57645bf8e6ca7645c7f6f23fd0a22b509",
"size": "1"
}
}
}
}
}
}
}
}
query {
object(address: "0x2cd5ee3702a1d8c016a908c712549ea57645bf8e6ca7645c7f6f23fd0a22b509") {
asMoveObject {
contents {
json
}
}
}
}
{
"data": {
"object": null
}
}