From c5346e8def2e8560350d03fbbf632ff96be4ed8c Mon Sep 17 00:00:00 2001 From: miiu96 Date: Mon, 8 Nov 2021 10:59:01 +0200 Subject: [PATCH] esdt supply structure --- data/api/apiESDTSupply.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/api/apiESDTSupply.go diff --git a/data/api/apiESDTSupply.go b/data/api/apiESDTSupply.go new file mode 100644 index 000000000..9488f7b98 --- /dev/null +++ b/data/api/apiESDTSupply.go @@ -0,0 +1,9 @@ +package api + +// ESDTSupply represents the structure for esdt supply that is returned by api routes +type ESDTSupply struct { + InitialMinted string `json:"initialMinted"` + Supply string `json:"supply"` + Burned string `json:"burned"` + Minted string `json:"minted"` +}