hack-a-chain-software / indexer-kadena

2 stars 2 forks source link

[Test] Query: fungibleAccount #107

Closed davibauer closed 1 month ago

davibauer commented 1 month ago

Execution Times

Kadena:

Hack-a-chain:

Results

{
    "data": {
        "fungibleAccount": {
            "accountName": "35fe76ea8f40caa2bb660b3236132f339dfdac2586a3d2a9d63ea96ee91202ad"
        }
    },
    "extensions": {}
}

Reference Query https://graph.kadena.network/graphql

query FungibleAccount {
    fungibleAccount(accountName: "35fe76ea8f40caa2bb660b3236132f339dfdac2586a3d2a9d63ea96ee91202ad", fungibleName: "coin") {
        accountName
    }
}
mschead commented 1 month ago

Actually the account is k:35fe76ea8f40caa2bb660b3236132f339dfdac2586a3d2a9d63ea96ee91202ad. You should use the k: prefix.