func (s *SearchForTransactions) AssetID(AssetID uint64) *SearchForTransactions {
	s.p.AssetID = AssetID
	return s
}
AssetID asset ID
package indexer
import (
	"context"
	"encoding/base64"
	"time"
	"github.com/algorand/go-algorand-sdk/client/v2/common"
	"github.com/algorand/go-algorand-sdk/client/v2/common/models"
)
type SearchForTransactionsParams struct {
	AddressString string `url:"address,omitempty"`
	AddressRole string `url:"address-role,omitempty"`
	AfterTime string `url:"after-time,omitempty"`
	ApplicationId uint64 `url:"application-id,omitempty"`
	AssetID uint64 `url:"asset-id,omitempty"`
	BeforeTime string `url:"before-time,omitempty"`
	CurrencyGreaterThan uint64 `url:"currency-greater-than,omitempty"`
	CurrencyLessThan uint64 `url:"currency-less-than,omitempty"`
	ExcludeCloseTo bool `url:"exclude-close-to,omitempty"`
	Limit uint64 `url:"limit,omitempty"`
	MaxRound uint64 `url:"max-round,omitempty"`
	MinRound uint64 `url:"min-round,omitempty"`
	NextToken string `url:"next,omitempty"`
	NotePrefix string `url:"note-prefix,omitempty"`
	RekeyTo bool `url:"rekey-to,omitempty"`
	Round uint64 `url:"round,omitempty"`
	SigType string `url:"sig-type,omitempty"`
	TxType string `url:"tx-type,omitempty"`
	TXID string `url:"txid,omitempty"`
}
type SearchForTransactions struct {
	c *Client
	p SearchForTransactionsParams
}
func (s *SearchForTransactions) AddressString(AddressString string) *SearchForTransactions {
	s.p.AddressString = AddressString
	return s
}
func (s *SearchForTransactions) AddressRole(AddressRole string) *SearchForTransactions {
	s.p.AddressRole = AddressRole
	return s
}
func (s *SearchForTransactions) AfterTimeString(AfterTime string) *SearchForTransactions {
	s.p.AfterTime = AfterTime
	return s
}
func (s *SearchForTransactions) AfterTime(AfterTime time.Time) *SearchForTransactions {
	AfterTimeStr := AfterTime.Format(time.RFC3339)
	return s.AfterTimeString(AfterTimeStr)
}
func (s *SearchForTransactions) ApplicationId(ApplicationId uint64) *SearchForTransactions {
	s.p.ApplicationId = ApplicationId
	return s
}