Nodejs graphql api for libra

Hi,

I have made this graphql api in nodejs, this is the endpoint to consume the api
https://libra-graphql.herokuapp.com/

You can visit this url to play around with graphql playground.

There are 4 queries - queryByAddress, queryBySequenceNumber, querySentEvents, and queryReceivedEvents.

And there are 3 mutations - createAccount, mintCoin, and transferMoney.

Documentation for using the api will be coming soon.

Thank you.

1 Like

what about subscriptions ?

Haven’t had it yet. I will add this in the plan for new functionality.

does it means i will be able to just subscribe to a an account/address and be informed when that address receives a transaction ?

1 Like

Yes, it means that. I plan to add it soon.

Subscription is added. The subscription named “receivedCoins” accepts a receiver address as argument and return signed transaction.

1 Like

when i want to test the app i get this on firefox

I used chrome and it works fine. Could you try it on chrome and see if this issue still happen?

I have tested on firefox and also ms edge, it works fine on both. This picture is on firefox.

Screenshot%20(12)%20-%201

also in safari , will start playing