mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
16 lines
247 B
Go
Executable File
16 lines
247 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"go.m3o.com/nft"
|
|
)
|
|
|
|
// Get a single asset by the contract
|
|
func main() {
|
|
nftService := nft.NewNftService(os.Getenv("M3O_API_TOKEN"))
|
|
rsp, err := nftService.Asset(&nft.AssetRequest{})
|
|
fmt.Println(rsp, err)
|
|
}
|