func (sdk *SDK) WalletBalanceSTAS(walletID, symbol string) ([]map[string]interface{}, error) {

	response, err := sdk.Relysia.Balance(walletID, "STAS", "")
	if err != nil {
		return nil, err
	}

	pretty.Println(response)

	output := []map[string]interface{}{}
	for _, coin := range response.Coins {
		if coin.Symbol == symbol {

			tokenInfo, err := sdk.Relysia.GetToken(coin.ID())
			if err != nil {
				log.Println(fmt.Errorf("GetToken: %w", err))
				continue
			}

			output = append(output, tokenInfo)
		}
	}

	return output, nil
}
// WalletBalanceSTAS gives you the stas tokens in a slice
WalletBalanceSTAS gives you the stas tokens in a slice
// WalletBalanceSTAS gives you the stas tokens in a slice
func (sdk *SDK) WalletBalanceSTAS(walletID, symbol string) ([]map[string]interface{}, error) {
	response, err := sdk.Relysia.Balance(walletID, "STAS", "")
	if err != nil {
		return nil, err
	}
	pretty.Println(response)
	output := []map[string]interface{}{}
	for _, coin := range response.Coins {
		if coin.Symbol == symbol {
			tokenInfo, err := sdk.Relysia.GetToken(coin.ID())
			if err != nil {
				log.Println(fmt.Errorf("GetToken: %w", err))
				continue
			}
			output = append(output, tokenInfo)
		}
	}
	return output, nil
}
func ( sdk * SDK ) WalletBalanceSTAS ( walletID , symbol string ) ( [ ] map [ string ] interface { } , error ) { response , err := sdk . Relysia . Balance ( walletID , " " , " " ) if err != nil { return nil , err } pretty . Println ( response ) output := [ ] map [ string ] interface { } { } for _ , coin := range response . Coins { if coin . Symbol == symbol { tokenInfo , err := sdk . Relysia . GetToken ( coin . ID ( ) ) if err != nil { log . Println ( fmt . Errorf ( " " , err ) ) continue } output = append ( output , tokenInfo ) } } return output , nil }
WalletBalanceSTAS gives you the stas tokens in a slice
WalletBalanceSTAS gives you the stas tokens in a slice