Documentation ¶
Index ¶
- type Client
- func (c *Client) HealthCheck() *HealthCheck
- func (c *Client) LookupAccountByID(account string) *LookupAccountByID
- func (c *Client) LookupAccountTransactions(account string) *LookupAccountTransactions
- func (c *Client) LookupApplicationByID(applicationId uint64) *LookupApplicationByID
- func (c *Client) LookupAssetBalances(index uint64) *LookupAssetBalances
- func (c *Client) LookupAssetByID(index uint64) *LookupAssetByID
- func (c *Client) LookupAssetTransactions(index uint64) *LookupAssetTransactions
- func (c *Client) LookupBlock(round uint64) *LookupBlock
- func (c *Client) SearchAccounts() *SearchAccounts
- func (c *Client) SearchForApplications() *SearchForApplications
- func (c *Client) SearchForAssets() *SearchForAssets
- func (c *Client) SearchForTransactions() *SearchForTransactions
- type HealthCheck
- type LookupAccountByID
- type LookupAccountTransactions
- func (s *LookupAccountTransactions) AfterTime(after time.Time) *LookupAccountTransactions
- func (s *LookupAccountTransactions) AfterTimeString(after string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) AssetID(index uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) BeforeTime(before time.Time) *LookupAccountTransactions
- func (s *LookupAccountTransactions) BeforeTimeString(before string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) CurrencyGreaterThan(greaterThan uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) CurrencyLessThan(lessThan uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
- func (s *LookupAccountTransactions) Limit(limit uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) MaxRound(max uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) MinRound(min uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) NextToken(nextToken string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) NotePrefix(prefix []byte) *LookupAccountTransactions
- func (s *LookupAccountTransactions) RekeyTo(rekeyTo bool) *LookupAccountTransactions
- func (s *LookupAccountTransactions) Round(rnd uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) SigType(sigtype string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) TXID(txid string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) TxType(txtype string) *LookupAccountTransactions
- type LookupApplicationByID
- type LookupAssetBalances
- func (s *LookupAssetBalances) CurrencyGreaterThan(greaterThan uint64) *LookupAssetBalances
- func (s *LookupAssetBalances) CurrencyLessThan(lessThan uint64) *LookupAssetBalances
- func (s *LookupAssetBalances) Do(ctx context.Context, headers ...*common.Header) (response models.AssetBalancesResponse, err error)
- func (s *LookupAssetBalances) Limit(lim uint64) *LookupAssetBalances
- func (s *LookupAssetBalances) NextToken(nextToken string) *LookupAssetBalances
- func (s *LookupAssetBalances) Round(rnd uint64) *LookupAssetBalances
- type LookupAssetByID
- type LookupAssetTransactions
- func (s *LookupAssetTransactions) Address(address types.Address) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AddressRole(role string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AddressString(address string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AfterTime(after time.Time) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AfterTimeString(after string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) BeforeTime(before time.Time) *LookupAssetTransactions
- func (s *LookupAssetTransactions) BeforeTimeString(before string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) CurrencyGreaterThan(greaterThan uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) CurrencyLessThan(lessThan uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
- func (s *LookupAssetTransactions) ExcludeCloseTo(exclude bool) *LookupAssetTransactions
- func (s *LookupAssetTransactions) Limit(limit uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) MaxRound(max uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) MinRound(min uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) NextToken(nextToken string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) NotePrefix(prefix []byte) *LookupAssetTransactions
- func (s *LookupAssetTransactions) RekeyTo(rekeyTo bool) *LookupAssetTransactions
- func (s *LookupAssetTransactions) Round(rnd uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) SigType(sigtype string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) TXID(txid string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) TxType(txtype string) *LookupAssetTransactions
- type LookupBlock
- type MakeHealthCheck
- type SearchAccounts
- func (s *SearchAccounts) AfterAddress(after string) *SearchAccounts
- func (s *SearchAccounts) ApplicationId(applicationId uint64) *SearchAccounts
- func (s *SearchAccounts) AssetID(assetID uint64) *SearchAccounts
- func (s *SearchAccounts) AuthAddress(authAddr string) *SearchAccounts
- func (s *SearchAccounts) CurrencyGreaterThan(greaterThan uint64) *SearchAccounts
- func (s *SearchAccounts) CurrencyLessThan(lessThan uint64) *SearchAccounts
- func (s *SearchAccounts) Do(ctx context.Context, headers ...*common.Header) (response models.AccountsResponse, err error)
- func (s *SearchAccounts) Limit(limit uint64) *SearchAccounts
- func (s *SearchAccounts) NextToken(nextToken string) *SearchAccounts
- func (s *SearchAccounts) Round(round uint64) *SearchAccounts
- type SearchForApplications
- func (s *SearchForApplications) ApplicationId(applicationId uint64) *SearchForApplications
- func (s *SearchForApplications) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationsResponse, err error)
- func (s *SearchForApplications) Limit(limit uint64) *SearchForApplications
- func (s *SearchForApplications) Next(next string) *SearchForApplications
- type SearchForAssets
- func (s *SearchForAssets) AssetID(id uint64) *SearchForAssets
- func (s *SearchForAssets) Creator(creator string) *SearchForAssets
- func (s *SearchForAssets) Do(ctx context.Context, headers ...*common.Header) (response models.AssetsResponse, err error)
- func (s *SearchForAssets) Limit(lim uint64) *SearchForAssets
- func (s *SearchForAssets) Name(name string) *SearchForAssets
- func (s *SearchForAssets) NextToken(nextToken string) *SearchForAssets
- func (s *SearchForAssets) Unit(unit string) *SearchForAssets
- type SearchForTransactions
- func (s *SearchForTransactions) Address(address types.Address) *SearchForTransactions
- func (s *SearchForTransactions) AddressRole(role string) *SearchForTransactions
- func (s *SearchForTransactions) AddressString(address string) *SearchForTransactions
- func (s *SearchForTransactions) AfterTime(after time.Time) *SearchForTransactions
- func (s *SearchForTransactions) AfterTimeString(after string) *SearchForTransactions
- func (s *SearchForTransactions) ApplicationId(applicationId uint64) *SearchForTransactions
- func (s *SearchForTransactions) AssetID(index uint64) *SearchForTransactions
- func (s *SearchForTransactions) BeforeTime(before time.Time) *SearchForTransactions
- func (s *SearchForTransactions) BeforeTimeString(before string) *SearchForTransactions
- func (s *SearchForTransactions) CurrencyGreaterThan(greaterThan uint64) *SearchForTransactions
- func (s *SearchForTransactions) CurrencyLessThan(lessThan uint64) *SearchForTransactions
- func (s *SearchForTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
- func (s *SearchForTransactions) ExcludeCloseTo(exclude bool) *SearchForTransactions
- func (s *SearchForTransactions) Limit(limit uint64) *SearchForTransactions
- func (s *SearchForTransactions) MaxRound(max uint64) *SearchForTransactions
- func (s *SearchForTransactions) MinRound(min uint64) *SearchForTransactions
- func (s *SearchForTransactions) NextToken(nextToken string) *SearchForTransactions
- func (s *SearchForTransactions) NotePrefix(prefix []byte) *SearchForTransactions
- func (s *SearchForTransactions) RekeyTo(rekeyTo bool) *SearchForTransactions
- func (s *SearchForTransactions) Round(rnd uint64) *SearchForTransactions
- func (s *SearchForTransactions) SigType(sigtype string) *SearchForTransactions
- func (s *SearchForTransactions) TXID(txid string) *SearchForTransactions
- func (s *SearchForTransactions) TxType(txtype string) *SearchForTransactions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func MakeClient ¶
MakeClient is the factory for constructing an IndexerClient for a given endpoint.
func (*Client) HealthCheck ¶
func (c *Client) HealthCheck() *HealthCheck
func (*Client) LookupAccountByID ¶
func (c *Client) LookupAccountByID(account string) *LookupAccountByID
func (*Client) LookupAccountTransactions ¶
func (c *Client) LookupAccountTransactions(account string) *LookupAccountTransactions
func (*Client) LookupApplicationByID ¶ added in v1.5.0
func (c *Client) LookupApplicationByID(applicationId uint64) *LookupApplicationByID
/v2/applications/{application-id} Lookup application.
func (*Client) LookupAssetBalances ¶
func (c *Client) LookupAssetBalances(index uint64) *LookupAssetBalances
func (*Client) LookupAssetByID ¶
func (c *Client) LookupAssetByID(index uint64) *LookupAssetByID
func (*Client) LookupAssetTransactions ¶
func (c *Client) LookupAssetTransactions(index uint64) *LookupAssetTransactions
func (*Client) LookupBlock ¶
func (c *Client) LookupBlock(round uint64) *LookupBlock
func (*Client) SearchAccounts ¶
func (c *Client) SearchAccounts() *SearchAccounts
func (*Client) SearchForApplications ¶ added in v1.5.0
func (c *Client) SearchForApplications() *SearchForApplications
/v2/applications Search for applications
func (*Client) SearchForAssets ¶
func (c *Client) SearchForAssets() *SearchForAssets
func (*Client) SearchForTransactions ¶
func (c *Client) SearchForTransactions() *SearchForTransactions
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
func (*HealthCheck) Do ¶
func (s *HealthCheck) Do(ctx context.Context, headers ...*common.Header) (healthCheck models.HealthCheckResponse, err error)
type LookupAccountByID ¶
type LookupAccountByID struct {
// contains filtered or unexported fields
}
func (*LookupAccountByID) Round ¶
func (s *LookupAccountByID) Round(round uint64) *LookupAccountByID
type LookupAccountTransactions ¶
type LookupAccountTransactions struct {
// contains filtered or unexported fields
}
func (*LookupAccountTransactions) AfterTime ¶
func (s *LookupAccountTransactions) AfterTime(after time.Time) *LookupAccountTransactions
func (*LookupAccountTransactions) AfterTimeString ¶
func (s *LookupAccountTransactions) AfterTimeString(after string) *LookupAccountTransactions
func (*LookupAccountTransactions) AssetID ¶
func (s *LookupAccountTransactions) AssetID(index uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) BeforeTime ¶
func (s *LookupAccountTransactions) BeforeTime(before time.Time) *LookupAccountTransactions
func (*LookupAccountTransactions) BeforeTimeString ¶
func (s *LookupAccountTransactions) BeforeTimeString(before string) *LookupAccountTransactions
func (*LookupAccountTransactions) CurrencyGreaterThan ¶
func (s *LookupAccountTransactions) CurrencyGreaterThan(greaterThan uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) CurrencyLessThan ¶
func (s *LookupAccountTransactions) CurrencyLessThan(lessThan uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) Do ¶
func (s *LookupAccountTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
func (*LookupAccountTransactions) Limit ¶
func (s *LookupAccountTransactions) Limit(limit uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) MaxRound ¶
func (s *LookupAccountTransactions) MaxRound(max uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) MinRound ¶
func (s *LookupAccountTransactions) MinRound(min uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) NextToken ¶
func (s *LookupAccountTransactions) NextToken(nextToken string) *LookupAccountTransactions
func (*LookupAccountTransactions) NotePrefix ¶
func (s *LookupAccountTransactions) NotePrefix(prefix []byte) *LookupAccountTransactions
func (*LookupAccountTransactions) RekeyTo ¶ added in v1.5.0
func (s *LookupAccountTransactions) RekeyTo(rekeyTo bool) *LookupAccountTransactions
func (*LookupAccountTransactions) Round ¶
func (s *LookupAccountTransactions) Round(rnd uint64) *LookupAccountTransactions
func (*LookupAccountTransactions) SigType ¶
func (s *LookupAccountTransactions) SigType(sigtype string) *LookupAccountTransactions
func (*LookupAccountTransactions) TXID ¶
func (s *LookupAccountTransactions) TXID(txid string) *LookupAccountTransactions
func (*LookupAccountTransactions) TxType ¶
func (s *LookupAccountTransactions) TxType(txtype string) *LookupAccountTransactions
type LookupApplicationByID ¶ added in v1.5.0
type LookupApplicationByID struct {
// contains filtered or unexported fields
}
LookupApplicationByID /v2/applications/{application-id} Lookup application.
func (*LookupApplicationByID) Do ¶ added in v1.5.0
func (s *LookupApplicationByID) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationResponse, err error)
Do performs HTTP request
type LookupAssetBalances ¶
type LookupAssetBalances struct {
// contains filtered or unexported fields
}
LookupAssetBalances is used to lookup asset balances
func (*LookupAssetBalances) CurrencyGreaterThan ¶
func (s *LookupAssetBalances) CurrencyGreaterThan(greaterThan uint64) *LookupAssetBalances
func (*LookupAssetBalances) CurrencyLessThan ¶
func (s *LookupAssetBalances) CurrencyLessThan(lessThan uint64) *LookupAssetBalances
func (*LookupAssetBalances) Do ¶
func (s *LookupAssetBalances) Do(ctx context.Context, headers ...*common.Header) (response models.AssetBalancesResponse, err error)
func (*LookupAssetBalances) Limit ¶
func (s *LookupAssetBalances) Limit(lim uint64) *LookupAssetBalances
func (*LookupAssetBalances) NextToken ¶
func (s *LookupAssetBalances) NextToken(nextToken string) *LookupAssetBalances
func (*LookupAssetBalances) Round ¶
func (s *LookupAssetBalances) Round(rnd uint64) *LookupAssetBalances
type LookupAssetByID ¶
type LookupAssetByID struct {
// contains filtered or unexported fields
}
type LookupAssetTransactions ¶
type LookupAssetTransactions struct {
// contains filtered or unexported fields
}
func (*LookupAssetTransactions) Address ¶
func (s *LookupAssetTransactions) Address(address types.Address) *LookupAssetTransactions
func (*LookupAssetTransactions) AddressRole ¶
func (s *LookupAssetTransactions) AddressRole(role string) *LookupAssetTransactions
func (*LookupAssetTransactions) AddressString ¶
func (s *LookupAssetTransactions) AddressString(address string) *LookupAssetTransactions
func (*LookupAssetTransactions) AfterTime ¶
func (s *LookupAssetTransactions) AfterTime(after time.Time) *LookupAssetTransactions
func (*LookupAssetTransactions) AfterTimeString ¶
func (s *LookupAssetTransactions) AfterTimeString(after string) *LookupAssetTransactions
func (*LookupAssetTransactions) BeforeTime ¶
func (s *LookupAssetTransactions) BeforeTime(before time.Time) *LookupAssetTransactions
func (*LookupAssetTransactions) BeforeTimeString ¶
func (s *LookupAssetTransactions) BeforeTimeString(before string) *LookupAssetTransactions
func (*LookupAssetTransactions) CurrencyGreaterThan ¶
func (s *LookupAssetTransactions) CurrencyGreaterThan(greaterThan uint64) *LookupAssetTransactions
func (*LookupAssetTransactions) CurrencyLessThan ¶
func (s *LookupAssetTransactions) CurrencyLessThan(lessThan uint64) *LookupAssetTransactions
func (*LookupAssetTransactions) Do ¶
func (s *LookupAssetTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
func (*LookupAssetTransactions) ExcludeCloseTo ¶
func (s *LookupAssetTransactions) ExcludeCloseTo(exclude bool) *LookupAssetTransactions
func (*LookupAssetTransactions) Limit ¶
func (s *LookupAssetTransactions) Limit(limit uint64) *LookupAssetTransactions
func (*LookupAssetTransactions) MaxRound ¶
func (s *LookupAssetTransactions) MaxRound(max uint64) *LookupAssetTransactions
func (*LookupAssetTransactions) MinRound ¶
func (s *LookupAssetTransactions) MinRound(min uint64) *LookupAssetTransactions
func (*LookupAssetTransactions) NextToken ¶
func (s *LookupAssetTransactions) NextToken(nextToken string) *LookupAssetTransactions
func (*LookupAssetTransactions) NotePrefix ¶
func (s *LookupAssetTransactions) NotePrefix(prefix []byte) *LookupAssetTransactions
func (*LookupAssetTransactions) RekeyTo ¶ added in v1.5.0
func (s *LookupAssetTransactions) RekeyTo(rekeyTo bool) *LookupAssetTransactions
func (*LookupAssetTransactions) Round ¶
func (s *LookupAssetTransactions) Round(rnd uint64) *LookupAssetTransactions
func (*LookupAssetTransactions) SigType ¶
func (s *LookupAssetTransactions) SigType(sigtype string) *LookupAssetTransactions
func (*LookupAssetTransactions) TXID ¶
func (s *LookupAssetTransactions) TXID(txid string) *LookupAssetTransactions
func (*LookupAssetTransactions) TxType ¶
func (s *LookupAssetTransactions) TxType(txtype string) *LookupAssetTransactions
type LookupBlock ¶
type LookupBlock struct {
// contains filtered or unexported fields
}
type MakeHealthCheck ¶ added in v1.5.0
type MakeHealthCheck struct {
// contains filtered or unexported fields
}
*
- /health *
func (*MakeHealthCheck) Do ¶ added in v1.5.0
func (s *MakeHealthCheck) Do(ctx context.Context, headers ...*common.Header) (response models.HealthCheckResponse, err error)
type SearchAccounts ¶
type SearchAccounts struct {
// contains filtered or unexported fields
}
func (*SearchAccounts) AfterAddress ¶
func (s *SearchAccounts) AfterAddress(after string) *SearchAccounts
func (*SearchAccounts) ApplicationId ¶ added in v1.5.0
func (s *SearchAccounts) ApplicationId(applicationId uint64) *SearchAccounts
ApplicationId application ID
func (*SearchAccounts) AssetID ¶
func (s *SearchAccounts) AssetID(assetID uint64) *SearchAccounts
func (*SearchAccounts) AuthAddress ¶ added in v1.5.0
func (s *SearchAccounts) AuthAddress(authAddr string) *SearchAccounts
func (*SearchAccounts) CurrencyGreaterThan ¶
func (s *SearchAccounts) CurrencyGreaterThan(greaterThan uint64) *SearchAccounts
CurrencyGreaterThan results should have an amount greater than this value. MicroAlgos are the default currency unless an asset-id is provided, in which case the asset will be used.
func (*SearchAccounts) CurrencyLessThan ¶
func (s *SearchAccounts) CurrencyLessThan(lessThan uint64) *SearchAccounts
CurrencyLessThan results should have an amount less than this value. MicroAlgos are the default currency unless an asset-id is provided, in which case the asset will be used.
func (*SearchAccounts) Do ¶
func (s *SearchAccounts) Do(ctx context.Context, headers ...*common.Header) (response models.AccountsResponse, err error)
func (*SearchAccounts) Limit ¶
func (s *SearchAccounts) Limit(limit uint64) *SearchAccounts
Limit maximum number of results to return.
func (*SearchAccounts) NextToken ¶
func (s *SearchAccounts) NextToken(nextToken string) *SearchAccounts
NextToken the next page of results. Use the next token provided by the previous results.
func (*SearchAccounts) Round ¶
func (s *SearchAccounts) Round(round uint64) *SearchAccounts
type SearchForApplications ¶ added in v1.5.0
type SearchForApplications struct {
// contains filtered or unexported fields
}
SearchForApplications /v2/applications Search for applications
func (*SearchForApplications) ApplicationId ¶ added in v1.5.0
func (s *SearchForApplications) ApplicationId(applicationId uint64) *SearchForApplications
ApplicationId application ID
func (*SearchForApplications) Do ¶ added in v1.5.0
func (s *SearchForApplications) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationsResponse, err error)
Do performs HTTP request
func (*SearchForApplications) Limit ¶ added in v1.5.0
func (s *SearchForApplications) Limit(limit uint64) *SearchForApplications
Limit maximum number of results to return.
func (*SearchForApplications) Next ¶ added in v1.5.0
func (s *SearchForApplications) Next(next string) *SearchForApplications
Next the next page of results. Use the next token provided by the previous results.
type SearchForAssets ¶
type SearchForAssets struct {
// contains filtered or unexported fields
}
SearchForAssets /v2/assets Search for assets.
func (*SearchForAssets) AssetID ¶
func (s *SearchForAssets) AssetID(id uint64) *SearchForAssets
AssetID asset ID
func (*SearchForAssets) Creator ¶
func (s *SearchForAssets) Creator(creator string) *SearchForAssets
Creator filter just assets with the given creator address.
func (*SearchForAssets) Do ¶
func (s *SearchForAssets) Do(ctx context.Context, headers ...*common.Header) (response models.AssetsResponse, err error)
Do performs HTTP request
func (*SearchForAssets) Limit ¶
func (s *SearchForAssets) Limit(lim uint64) *SearchForAssets
Limit maximum number of results to return.
func (*SearchForAssets) Name ¶
func (s *SearchForAssets) Name(name string) *SearchForAssets
Name filter just assets with the given name.
func (*SearchForAssets) NextToken ¶
func (s *SearchForAssets) NextToken(nextToken string) *SearchForAssets
NextToken the next page of results. Use the next token provided by the previous results.
func (*SearchForAssets) Unit ¶
func (s *SearchForAssets) Unit(unit string) *SearchForAssets
Unit filter just assets with the given unit.
type SearchForTransactions ¶
type SearchForTransactions struct {
// contains filtered or unexported fields
}
SearchForTransactions /v2/transactions Search for transactions.
func (*SearchForTransactions) Address ¶
func (s *SearchForTransactions) Address(address types.Address) *SearchForTransactions
Address only include transactions with this address in one of the transaction fields.
func (*SearchForTransactions) AddressRole ¶
func (s *SearchForTransactions) AddressRole(role string) *SearchForTransactions
AddressRole combine with the address parameter to define what type of address to search for.
func (*SearchForTransactions) AddressString ¶
func (s *SearchForTransactions) AddressString(address string) *SearchForTransactions
func (*SearchForTransactions) AfterTime ¶
func (s *SearchForTransactions) AfterTime(after time.Time) *SearchForTransactions
AfterTime include results after the given time. Must be an RFC 3339 formatted string.
func (*SearchForTransactions) AfterTimeString ¶
func (s *SearchForTransactions) AfterTimeString(after string) *SearchForTransactions
func (*SearchForTransactions) ApplicationId ¶ added in v1.5.0
func (s *SearchForTransactions) ApplicationId(applicationId uint64) *SearchForTransactions
ApplicationId application ID
func (*SearchForTransactions) AssetID ¶
func (s *SearchForTransactions) AssetID(index uint64) *SearchForTransactions
func (*SearchForTransactions) BeforeTime ¶
func (s *SearchForTransactions) BeforeTime(before time.Time) *SearchForTransactions
BeforeTime include results before the given time. Must be an RFC 3339 formatted string.
func (*SearchForTransactions) BeforeTimeString ¶
func (s *SearchForTransactions) BeforeTimeString(before string) *SearchForTransactions
func (*SearchForTransactions) CurrencyGreaterThan ¶
func (s *SearchForTransactions) CurrencyGreaterThan(greaterThan uint64) *SearchForTransactions
CurrencyGreaterThan results should have an amount greater than this value. MicroAlgos are the default currency unless an asset-id is provided, in which case the asset will be used.
func (*SearchForTransactions) CurrencyLessThan ¶
func (s *SearchForTransactions) CurrencyLessThan(lessThan uint64) *SearchForTransactions
CurrencyLessThan results should have an amount less than this value. MicroAlgos are the default currency unless an asset-id is provided, in which case the asset will be used.
func (*SearchForTransactions) Do ¶
func (s *SearchForTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
func (*SearchForTransactions) ExcludeCloseTo ¶
func (s *SearchForTransactions) ExcludeCloseTo(exclude bool) *SearchForTransactions
ExcludeCloseTo combine with address and address-role parameters to define what type of address to search for. The close to fields are normally treated as a receiver, if you would like to exclude them set this parameter to true.
func (*SearchForTransactions) Limit ¶
func (s *SearchForTransactions) Limit(limit uint64) *SearchForTransactions
Limit maximum number of results to return.
func (*SearchForTransactions) MaxRound ¶
func (s *SearchForTransactions) MaxRound(max uint64) *SearchForTransactions
MaxRound include results at or before the specified max-round.
func (*SearchForTransactions) MinRound ¶
func (s *SearchForTransactions) MinRound(min uint64) *SearchForTransactions
MinRound include results at or after the specified min-round.
func (*SearchForTransactions) NextToken ¶
func (s *SearchForTransactions) NextToken(nextToken string) *SearchForTransactions
func (*SearchForTransactions) NotePrefix ¶
func (s *SearchForTransactions) NotePrefix(prefix []byte) *SearchForTransactions
NotePrefix specifies a prefix which must be contained in the note field.
func (*SearchForTransactions) RekeyTo ¶ added in v1.5.0
func (s *SearchForTransactions) RekeyTo(rekeyTo bool) *SearchForTransactions
RekeyTo include results which include the rekey-to field.
func (*SearchForTransactions) Round ¶
func (s *SearchForTransactions) Round(rnd uint64) *SearchForTransactions
Round include results for the specified round.
func (*SearchForTransactions) SigType ¶
func (s *SearchForTransactions) SigType(sigtype string) *SearchForTransactions
SigType filters just results using the specified type of signature: * sig - Standard * msig - MultiSig * lsig - LogicSig
func (*SearchForTransactions) TXID ¶
func (s *SearchForTransactions) TXID(txid string) *SearchForTransactions
TXID lookup the specific transaction by ID.
func (*SearchForTransactions) TxType ¶
func (s *SearchForTransactions) TxType(txtype string) *SearchForTransactions
Source Files ¶
- application_client.go
- healthCheck.go
- indexer.go
- lookupAccountByID.go
- lookupAccountTransactions.go
- lookupApplicationByID.go
- lookupAssetBalances.go
- lookupAssetByID.go
- lookupAssetTransactions.go
- lookupBlock.go
- makeHealthCheck.go
- searchAccounts.go
- searchForApplications.go
- searchForAssets.go
- searchForTransactions.go