Skip to content

Client implementation of Pinknetwork's atomicassets API in go.

License

Notifications You must be signed in to change notification settings

eosswedenorg-go/atomicasset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atomicassets API Client

Test Go Reference Go Report Card

This package aims to implement a client for Pinknetwork's atomicassets API in go.

Install package

go get -u github.com/eosswedenorg-go/atomicasset@latest

Example

package main

import (
	"fmt"
	"github.com/eosswedenorg-go/atomicasset"
)

func main() {

	client := atomicasset.New("https://wax.api.atomicassets.io")

	health, err := client.GetHealth()
	if err != nil {
		panic(err)
	}

	fmt.Println("Head block at:", health.Data.Chain.HeadBlock)
}

TODO

  • implement stats resource

Author

Henrik Hautakoski - Sw/eden - henrik@eossweden.org