GetAsset()
This endpoint is designed to retrieve the content of an asset file in JSON format. The asset is identified by its exact name, so it must be spelled correctly for the query to be successful.
func GetAsset(blockchain string, asset string) map[string]interface{}Name
Type
Description
package main
import (
"fmt"
"github.com/circular-protocol/circular-go/circular_protocol_api"
)
func main() {
var blockchain = "0x8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2"
result := circular_protocol_api.GetAsset(blockchain, "CIRX")
fmt.Println(result)
}Last updated