Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.08 KB

README.md

File metadata and controls

37 lines (29 loc) · 2.08 KB

Coda API Client for Go

Simple API Client for Coda GraphQL API written in Go

gocoda

Requirements

Go 1.11 or newer.

Installation

go get -u github.com/spdd/coda-go-client

Available GraphQL API

Refer official API

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