Simple API Client for Coda GraphQL API written in Go
Go 1.11 or newer.
go get -u github.com/spdd/coda-go-client
Api description | Status | Testing | Function |
---|---|---|---|
Get daemon status | 🆗 | 🆗 | GetDaemonStatus |
Get daemon version | 🆗 | 🆗 | GetDaemonVersion |
Get wallets | 🆗 | 🆗 | GetWallets |
Get wallet | 🆗 | 🆗 | GetWallet(pk) |
Unlock wallet | 🆗 | 🆗 | UnlockWallet(pk, ps) |
Create wallet | 🆗 | 🆗 | CreateWallet(ps) |
Send payment | 🆗 | 🆗 | SendPayment(r,s,a,f,m) |
Get pooled payments | 🆗 | 🆗 | GetPooledPayments(pk) |
Get transaction status | 🆗 | 🆗 | GetTransactionStatus(pID) |
Set snark worker | 🆗 | 🆗 | SetSnarkWorker(workerPk,fee) |
Get current snark worker | 🆗 | 🆗 | GetCurrentSnarkWorker() |
Get sync status | 🆗 | 🆗 | GetSyncStatus() |
Get blocks | ❌ | ❌ | - |
Subscription for new blocks | 🆗 | 🆗 | SubscribeForNewBlocks |
Subscription for Network Sync Updates | 🆗 | 🆗 | SubscribeForSyncUpdates |
Subscription for Block Confirmations | ❌ | ❌ | SubscribeForBlockConfirmations |