define importable voucher response

This commit is contained in:
Carlosokumu 2024-10-08 13:43:57 +03:00
parent b3c7a3a337
commit 4b6fd35e7a
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -0,0 +1,18 @@
package models
type ApiResponse struct {
OK bool `json:"ok"`
Description string `json:"description"`
Result Result `json:"result"`
}
type Result struct {
Holdings []Holding `json:"holdings"`
}
type Holding struct {
ContractAddress string `json:"contractAddress"`
TokenSymbol string `json:"tokenSymbol"`
TokenDecimals string `json:"tokenDecimals"`
Balance string `json:"balance"`
}