A Golang wrapper for the Chain API