func (c Client) GetTransactions(page int) (*transactions, error) {
	params := map[string]int{
		"page": page,
	}
	holder := transactionsHolder{}
	if err := c.Get("transactions", params, &holder); err != nil {
		return nil, err
	}
	transactions := transactions{
		paginationStats: holder.paginationStats,
	}
	// Remove one layer of nesting
	for _, tx := range holder.Transactions {
		transactions.Transactions = append(transactions.Transactions, tx.Transaction)
	}
	return &transactions, nil
}
func (c Client) GetTransactions(page int) (*transactions, error) {
	params := map[string]int{
		"page": page,
	}
	holder := transactionsHolder{}
	if err := c.Get("transactions", params, &holder); err != nil {
		return nil, err
	}
	transactions := transactions{
		paginationStats: holder.paginationStats,
	}
	
	for _, tx := range holder.Transactions {
		transactions.Transactions = append(transactions.Transactions, tx.Transaction)
	}
	return &transactions, nil
}
func ( c Client ) GetTransactions ( page int ) ( * transactions , error ) { params := map [ string ] int { " " : page , } holder := transactionsHolder { } if err := c . Get ( " " , params , & holder ) ; err != nil { return nil , err } transactions := transactions { paginationStats : holder . paginationStats , } // Remove one layer of nesting for _ , tx := range holder . Transactions { transactions . Transactions = append ( transactions . Transactions , tx . Transaction ) } return & transactions , nil }
// GetTransactions gets transactions associated with an account
GetTransactions gets transactions associated with an account