added model and func to fetch vouchers from the API

This commit is contained in:
2024-09-28 14:07:37 +03:00
parent 3a46fda769
commit 31aea6b807
4 changed files with 53 additions and 25 deletions

View File

@@ -0,0 +1,7 @@
package models
// VoucherHolding represents a single voucher holding
type VoucherHolding struct {
Symbol string `json:"symbol"`
Address string `json:"address"`
}