neoneo-go/pkg/rpc/response/result/nep5.go
2020-03-05 18:22:40 +03:00

16 lines
473 B
Go

package result
import "github.com/nspcc-dev/neo-go/pkg/util"
// NEP5Balances is a result for the getnep5balances RPC call.
type NEP5Balances struct {
Balances []NEP5Balance `json:"balances"`
Address string `json:"address"`
}
// NEP5Balance represents balance for the single token contract.
type NEP5Balance struct {
Asset util.Uint160 `json:"asset_hash"`
Amount string `json:"amount"`
LastUpdated uint32 `json:"last_updated_block"`
}