TonWeb
Unofficial Golang SDK for TON (The Open Network)
Installation
go get github.com/neotoolkit/tonweb
Usage
package main
import (
"fmt"
"os"
"github.com/neotoolkit/tonweb"
)
func main() {
c := tonweb.NewClient(os.Getenv("TONWEB_API_KEY"))
req, err := c.Blocks().GetConsensusBlock()
fmt.Println(req, err)
}
Documentation
See these docs.