func (txs *TransactionService) GetTransaction(ctx context.Context, id string) (Transaction, error) {
	var b bytes.Buffer
	url := net.NewUrl(fmt.Sprintf(transactionRoute, id))
	resp, err := txs.client.DoNewRequest(ctx, http.MethodGet, url.Encode(), nil, &b)
	if err != nil {
		return nil, err
	}
	if err = handleResponseStatusCode(resp, map[int]error{404: ErrResourceNotFound, 409: ErrArgumentNotValid}); err != nil {
		return nil, err
	}
	return MapTransaction(&b)
}
Returns transaction information for a given transaction id or hash
package sdk
import (
	"bytes"
	"context"
	"fmt"
	"github.com/proximax-storage/proximax-utils-go/net"
	"net/http"
)
type TransactionService service