Read Outputs
GET /outputs
Fetch outputs in multisigs and collectibles, and the api returns the merged result of GET /multisigs/outputs
and GET /collectibles/outputs
Endpoint URL
https://api.mixin.one/outputs?state=:state&offset=:offset&limit=:limit&members=:members&threshold=:threshold
Golang example for generating hash of multi signature members:
func hashMembers(ids []string) string {
sort.Slice(ids, func(i, j int) bool { return ids[i] < ids[j] })
var in string
for _, id := range ids {
in = in + id
}
return crypto.NewHash([]byte(in)).String()
}