func (t *Transaction) Quantity() string {
	return t.quantity
}
Quantity returns the quantity of the transaction
package tx
import (
	"crypto/sha256"
	"encoding/json"
	"math/big"
	"github.com/Dev43/arweave-go"
	"github.com/Dev43/arweave-go/utils"
)
func NewTransaction(lastTx string, owner *big.Int, quantity string, target string, data []byte, reward string) *Transaction {
	return &Transaction{
		lastTx:   lastTx,
		owner:    owner,
		quantity: quantity,
		target:   target,
		data:     data,
		reward:   reward,
		tags:     make([]Tag, 0),
	}
}
func (t *Transaction) Data() string {
	return utils.EncodeToBase64(t.data)
}
func (t *Transaction) RawData() []byte {
	return t.data
}
func (t *Transaction) LastTx() string {
	return t.lastTx
}
func (t *Transaction) Owner() string {
	return utils.EncodeToBase64(t.owner.Bytes())
}