Documentation ¶
Index ¶
- type Client
- func (c *Client) HealthCheck() *HealthCheck
- func (c *Client) LookupAccountAppLocalStates(accountId string) *LookupAccountAppLocalStates
- func (c *Client) LookupAccountAssets(accountId string) *LookupAccountAssets
- func (c *Client) LookupAccountByID(accountId string) *LookupAccountByID
- func (c *Client) LookupAccountCreatedApplications(accountId string) *LookupAccountCreatedApplications
- func (c *Client) LookupAccountCreatedAssets(accountId string) *LookupAccountCreatedAssets
- func (c *Client) LookupAccountTransactions(accountId string) *LookupAccountTransactions
- func (c *Client) LookupApplicationBoxByIDAndName(applicationId uint64, name []byte) *LookupApplicationBoxByIDAndName
- func (c *Client) LookupApplicationByID(applicationId uint64) *LookupApplicationByID
- func (c *Client) LookupApplicationLogsByID(applicationId uint64) *LookupApplicationLogsByID
- func (c *Client) LookupAssetBalances(assetId uint64) *LookupAssetBalances
- func (c *Client) LookupAssetByID(assetId uint64) *LookupAssetByID
- func (c *Client) LookupAssetTransactions(assetId uint64) *LookupAssetTransactions
- func (c *Client) LookupBlock(roundNumber uint64) *LookupBlock
- func (c *Client) LookupTransaction(txid string) *LookupTransaction
- func (c *Client) SearchAccounts() *SearchAccounts
- func (c *Client) SearchForApplicationBoxes(applicationId uint64) *SearchForApplicationBoxes
- func (c *Client) SearchForApplications() *SearchForApplications
- func (c *Client) SearchForAssets() *SearchForAssets
- func (c *Client) SearchForTransactions() *SearchForTransactions
- type HealthCheck
- type LookupAccountAppLocalStates
- func (s *LookupAccountAppLocalStates) ApplicationID(ApplicationID uint64) *LookupAccountAppLocalStates
- func (s *LookupAccountAppLocalStates) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationLocalStatesResponse, err error)
- func (s *LookupAccountAppLocalStates) IncludeAll(IncludeAll bool) *LookupAccountAppLocalStates
- func (s *LookupAccountAppLocalStates) Limit(Limit uint64) *LookupAccountAppLocalStates
- func (s *LookupAccountAppLocalStates) Next(Next string) *LookupAccountAppLocalStates
- type LookupAccountAppLocalStatesParams
- type LookupAccountAssets
- func (s *LookupAccountAssets) AssetID(AssetID uint64) *LookupAccountAssets
- func (s *LookupAccountAssets) Do(ctx context.Context, headers ...*common.Header) (response models.AssetHoldingsResponse, err error)
- func (s *LookupAccountAssets) IncludeAll(IncludeAll bool) *LookupAccountAssets
- func (s *LookupAccountAssets) Limit(Limit uint64) *LookupAccountAssets
- func (s *LookupAccountAssets) Next(Next string) *LookupAccountAssets
- type LookupAccountAssetsParams
- type LookupAccountByID
- func (s *LookupAccountByID) Do(ctx context.Context, headers ...*common.Header) (validRound uint64, result models.Account, err error)
- func (s *LookupAccountByID) Exclude(Exclude []string) *LookupAccountByID
- func (s *LookupAccountByID) IncludeAll(IncludeAll bool) *LookupAccountByID
- func (s *LookupAccountByID) Round(Round uint64) *LookupAccountByID
- type LookupAccountByIDParams
- type LookupAccountCreatedApplications
- func (s *LookupAccountCreatedApplications) ApplicationID(ApplicationID uint64) *LookupAccountCreatedApplications
- func (s *LookupAccountCreatedApplications) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationsResponse, err error)
- func (s *LookupAccountCreatedApplications) IncludeAll(IncludeAll bool) *LookupAccountCreatedApplications
- func (s *LookupAccountCreatedApplications) Limit(Limit uint64) *LookupAccountCreatedApplications
- func (s *LookupAccountCreatedApplications) Next(Next string) *LookupAccountCreatedApplications
- type LookupAccountCreatedApplicationsParams
- type LookupAccountCreatedAssets
- func (s *LookupAccountCreatedAssets) AssetID(AssetID uint64) *LookupAccountCreatedAssets
- func (s *LookupAccountCreatedAssets) Do(ctx context.Context, headers ...*common.Header) (response models.AssetsResponse, err error)
- func (s *LookupAccountCreatedAssets) IncludeAll(IncludeAll bool) *LookupAccountCreatedAssets
- func (s *LookupAccountCreatedAssets) Limit(Limit uint64) *LookupAccountCreatedAssets
- func (s *LookupAccountCreatedAssets) Next(Next string) *LookupAccountCreatedAssets
- type LookupAccountCreatedAssetsParams
- type LookupAccountTransactions
- func (s *LookupAccountTransactions) AfterTime(AfterTime time.Time) *LookupAccountTransactions
- func (s *LookupAccountTransactions) AfterTimeString(AfterTime string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) AssetID(AssetID uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) BeforeTime(BeforeTime time.Time) *LookupAccountTransactions
- func (s *LookupAccountTransactions) BeforeTimeString(BeforeTime string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) CurrencyLessThan(CurrencyLessThan 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(MaxRound uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) MinRound(MinRound uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) NextToken(NextToken string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) NotePrefix(NotePrefix []byte) *LookupAccountTransactions
- func (s *LookupAccountTransactions) RekeyTo(RekeyTo bool) *LookupAccountTransactions
- func (s *LookupAccountTransactions) Round(Round uint64) *LookupAccountTransactions
- func (s *LookupAccountTransactions) SigType(SigType string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) TXID(TXID string) *LookupAccountTransactions
- func (s *LookupAccountTransactions) TxType(TxType string) *LookupAccountTransactions
- type LookupAccountTransactionsParams
- type LookupApplicationBoxByIDAndName
- type LookupApplicationBoxByIDAndNameParams
- type LookupApplicationByID
- type LookupApplicationByIDParams
- type LookupApplicationLogsByID
- func (s *LookupApplicationLogsByID) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationLogsResponse, err error)
- func (s *LookupApplicationLogsByID) Limit(Limit uint64) *LookupApplicationLogsByID
- func (s *LookupApplicationLogsByID) MaxRound(MaxRound uint64) *LookupApplicationLogsByID
- func (s *LookupApplicationLogsByID) MinRound(MinRound uint64) *LookupApplicationLogsByID
- func (s *LookupApplicationLogsByID) Next(Next string) *LookupApplicationLogsByID
- func (s *LookupApplicationLogsByID) SenderAddress(SenderAddress string) *LookupApplicationLogsByID
- func (s *LookupApplicationLogsByID) Txid(Txid string) *LookupApplicationLogsByID
- type LookupApplicationLogsByIDParams
- type LookupAssetBalances
- func (s *LookupAssetBalances) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAssetBalances
- func (s *LookupAssetBalances) CurrencyLessThan(CurrencyLessThan uint64) *LookupAssetBalances
- func (s *LookupAssetBalances) Do(ctx context.Context, headers ...*common.Header) (response models.AssetBalancesResponse, err error)
- func (s *LookupAssetBalances) IncludeAll(IncludeAll bool) *LookupAssetBalances
- func (s *LookupAssetBalances) Limit(Limit uint64) *LookupAssetBalances
- func (s *LookupAssetBalances) NextToken(NextToken string) *LookupAssetBalances
- type LookupAssetBalancesParams
- type LookupAssetByID
- type LookupAssetByIDParams
- type LookupAssetTransactions
- func (s *LookupAssetTransactions) AddressRole(AddressRole string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AddressString(AddressString string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AfterTime(AfterTime time.Time) *LookupAssetTransactions
- func (s *LookupAssetTransactions) AfterTimeString(AfterTime string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) BeforeTime(BeforeTime time.Time) *LookupAssetTransactions
- func (s *LookupAssetTransactions) BeforeTimeString(BeforeTime string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) CurrencyLessThan(CurrencyLessThan uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
- func (s *LookupAssetTransactions) ExcludeCloseTo(ExcludeCloseTo bool) *LookupAssetTransactions
- func (s *LookupAssetTransactions) Limit(Limit uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) MaxRound(MaxRound uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) MinRound(MinRound uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) NextToken(NextToken string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) NotePrefix(NotePrefix []byte) *LookupAssetTransactions
- func (s *LookupAssetTransactions) RekeyTo(RekeyTo bool) *LookupAssetTransactions
- func (s *LookupAssetTransactions) Round(Round uint64) *LookupAssetTransactions
- func (s *LookupAssetTransactions) SigType(SigType string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) TXID(TXID string) *LookupAssetTransactions
- func (s *LookupAssetTransactions) TxType(TxType string) *LookupAssetTransactions
- type LookupAssetTransactionsParams
- type LookupBlock
- type LookupBlockParams
- type LookupTransaction
- type SearchAccounts
- func (s *SearchAccounts) ApplicationId(ApplicationId uint64) *SearchAccounts
- func (s *SearchAccounts) AssetID(AssetID uint64) *SearchAccounts
- func (s *SearchAccounts) AuthAddress(AuthAddress string) *SearchAccounts
- func (s *SearchAccounts) CurrencyGreaterThan(CurrencyGreaterThan uint64) *SearchAccounts
- func (s *SearchAccounts) CurrencyLessThan(CurrencyLessThan uint64) *SearchAccounts
- func (s *SearchAccounts) Do(ctx context.Context, headers ...*common.Header) (response models.AccountsResponse, err error)
- func (s *SearchAccounts) Exclude(Exclude []string) *SearchAccounts
- func (s *SearchAccounts) IncludeAll(IncludeAll bool) *SearchAccounts
- func (s *SearchAccounts) Limit(Limit uint64) *SearchAccounts
- func (s *SearchAccounts) NextToken(NextToken string) *SearchAccounts
- func (s *SearchAccounts) Round(Round uint64) *SearchAccounts
- type SearchAccountsParams
- type SearchForApplicationBoxes
- type SearchForApplicationBoxesParams
- type SearchForApplications
- func (s *SearchForApplications) ApplicationId(ApplicationId uint64) *SearchForApplications
- func (s *SearchForApplications) Creator(Creator string) *SearchForApplications
- func (s *SearchForApplications) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationsResponse, err error)
- func (s *SearchForApplications) IncludeAll(IncludeAll bool) *SearchForApplications
- func (s *SearchForApplications) Limit(Limit uint64) *SearchForApplications
- func (s *SearchForApplications) Next(Next string) *SearchForApplications
- type SearchForApplicationsParams
- type SearchForAssets
- func (s *SearchForAssets) AssetID(AssetID 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) IncludeAll(IncludeAll bool) *SearchForAssets
- func (s *SearchForAssets) Limit(Limit uint64) *SearchForAssets
- func (s *SearchForAssets) Name(Name string) *SearchForAssets
- func (s *SearchForAssets) NextToken(NextToken string) *SearchForAssets
- func (s *SearchForAssets) Unit(Unit string) *SearchForAssets
- type SearchForAssetsParams
- type SearchForTransactions
- func (s *SearchForTransactions) AddressRole(AddressRole string) *SearchForTransactions
- func (s *SearchForTransactions) AddressString(AddressString string) *SearchForTransactions
- func (s *SearchForTransactions) AfterTime(AfterTime time.Time) *SearchForTransactions
- func (s *SearchForTransactions) AfterTimeString(AfterTime string) *SearchForTransactions
- func (s *SearchForTransactions) ApplicationId(ApplicationId uint64) *SearchForTransactions
- func (s *SearchForTransactions) AssetID(AssetID uint64) *SearchForTransactions
- func (s *SearchForTransactions) BeforeTime(BeforeTime time.Time) *SearchForTransactions
- func (s *SearchForTransactions) BeforeTimeString(BeforeTime string) *SearchForTransactions
- func (s *SearchForTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint64) *SearchForTransactions
- func (s *SearchForTransactions) CurrencyLessThan(CurrencyLessThan uint64) *SearchForTransactions
- func (s *SearchForTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
- func (s *SearchForTransactions) ExcludeCloseTo(ExcludeCloseTo bool) *SearchForTransactions
- func (s *SearchForTransactions) Limit(Limit uint64) *SearchForTransactions
- func (s *SearchForTransactions) MaxRound(MaxRound uint64) *SearchForTransactions
- func (s *SearchForTransactions) MinRound(MinRound uint64) *SearchForTransactions
- func (s *SearchForTransactions) NextToken(NextToken string) *SearchForTransactions
- func (s *SearchForTransactions) NotePrefix(NotePrefix []byte) *SearchForTransactions
- func (s *SearchForTransactions) RekeyTo(RekeyTo bool) *SearchForTransactions
- func (s *SearchForTransactions) Round(Round uint64) *SearchForTransactions
- func (s *SearchForTransactions) SigType(SigType string) *SearchForTransactions
- func (s *SearchForTransactions) TXID(TXID string) *SearchForTransactions
- func (s *SearchForTransactions) TxType(TxType string) *SearchForTransactions
- type SearchForTransactionsParams
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 a ClientV2 for a given endpoint.
func MakeClientWithHeaders ¶ added in v1.8.0
func MakeClientWithHeaders(address string, apiToken string, headers []*common.Header) (c *Client, err error)
MakeClientWithHeaders is the factory for constructing a ClientV2 for a given endpoint with custom headers.
func (*Client) HealthCheck ¶
func (c *Client) HealthCheck() *HealthCheck
func (*Client) LookupAccountAppLocalStates ¶ added in v1.14.0
func (c *Client) LookupAccountAppLocalStates(accountId string) *LookupAccountAppLocalStates
func (*Client) LookupAccountAssets ¶ added in v1.14.0
func (c *Client) LookupAccountAssets(accountId string) *LookupAccountAssets
func (*Client) LookupAccountByID ¶
func (c *Client) LookupAccountByID(accountId string) *LookupAccountByID
func (*Client) LookupAccountCreatedApplications ¶ added in v1.14.0
func (c *Client) LookupAccountCreatedApplications(accountId string) *LookupAccountCreatedApplications
func (*Client) LookupAccountCreatedAssets ¶ added in v1.14.0
func (c *Client) LookupAccountCreatedAssets(accountId string) *LookupAccountCreatedAssets
func (*Client) LookupAccountTransactions ¶
func (c *Client) LookupAccountTransactions(accountId string) *LookupAccountTransactions
func (*Client) LookupApplicationBoxByIDAndName ¶ added in v1.23.0
func (c *Client) LookupApplicationBoxByIDAndName(applicationId uint64, name []byte) *LookupApplicationBoxByIDAndName
func (*Client) LookupApplicationByID ¶ added in v1.5.0
func (c *Client) LookupApplicationByID(applicationId uint64) *LookupApplicationByID
func (*Client) LookupApplicationLogsByID ¶ added in v1.11.0
func (c *Client) LookupApplicationLogsByID(applicationId uint64) *LookupApplicationLogsByID
func (*Client) LookupAssetBalances ¶
func (c *Client) LookupAssetBalances(assetId uint64) *LookupAssetBalances
func (*Client) LookupAssetByID ¶
func (c *Client) LookupAssetByID(assetId uint64) *LookupAssetByID
func (*Client) LookupAssetTransactions ¶
func (c *Client) LookupAssetTransactions(assetId uint64) *LookupAssetTransactions
func (*Client) LookupBlock ¶
func (c *Client) LookupBlock(roundNumber uint64) *LookupBlock
func (*Client) LookupTransaction ¶ added in v1.6.0
func (c *Client) LookupTransaction(txid string) *LookupTransaction
func (*Client) SearchAccounts ¶
func (c *Client) SearchAccounts() *SearchAccounts
func (*Client) SearchForApplicationBoxes ¶ added in v1.23.0
func (c *Client) SearchForApplicationBoxes(applicationId uint64) *SearchForApplicationBoxes
func (*Client) SearchForApplications ¶ added in v1.5.0
func (c *Client) SearchForApplications() *SearchForApplications
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
}
HealthCheck returns 200 if healthy.
func (*HealthCheck) Do ¶
func (s *HealthCheck) Do(ctx context.Context, headers ...*common.Header) (response models.HealthCheckResponse, err error)
Do performs the HTTP request
type LookupAccountAppLocalStates ¶ added in v1.14.0
type LookupAccountAppLocalStates struct {
// contains filtered or unexported fields
}
LookupAccountAppLocalStates lookup an account's asset holdings, optionally for a specific ID.
func (*LookupAccountAppLocalStates) ApplicationID ¶ added in v1.14.0
func (s *LookupAccountAppLocalStates) ApplicationID(ApplicationID uint64) *LookupAccountAppLocalStates
ApplicationID application ID
func (*LookupAccountAppLocalStates) Do ¶ added in v1.14.0
func (s *LookupAccountAppLocalStates) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationLocalStatesResponse, err error)
Do performs the HTTP request
func (*LookupAccountAppLocalStates) IncludeAll ¶ added in v1.14.0
func (s *LookupAccountAppLocalStates) IncludeAll(IncludeAll bool) *LookupAccountAppLocalStates
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*LookupAccountAppLocalStates) Limit ¶ added in v1.14.0
func (s *LookupAccountAppLocalStates) Limit(Limit uint64) *LookupAccountAppLocalStates
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAccountAppLocalStates) Next ¶ added in v1.14.0
func (s *LookupAccountAppLocalStates) Next(Next string) *LookupAccountAppLocalStates
Next the next page of results. Use the next token provided by the previous results.
type LookupAccountAppLocalStatesParams ¶ added in v1.14.0
type LookupAccountAppLocalStatesParams struct { // ApplicationID application ID ApplicationID uint64 `url:"application-id,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` }
LookupAccountAppLocalStatesParams contains all of the query parameters for url serialization.
type LookupAccountAssets ¶ added in v1.14.0
type LookupAccountAssets struct {
// contains filtered or unexported fields
}
LookupAccountAssets lookup an account's asset holdings, optionally for a specific ID.
func (*LookupAccountAssets) AssetID ¶ added in v1.14.0
func (s *LookupAccountAssets) AssetID(AssetID uint64) *LookupAccountAssets
AssetID asset ID
func (*LookupAccountAssets) Do ¶ added in v1.14.0
func (s *LookupAccountAssets) Do(ctx context.Context, headers ...*common.Header) (response models.AssetHoldingsResponse, err error)
Do performs the HTTP request
func (*LookupAccountAssets) IncludeAll ¶ added in v1.14.0
func (s *LookupAccountAssets) IncludeAll(IncludeAll bool) *LookupAccountAssets
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*LookupAccountAssets) Limit ¶ added in v1.14.0
func (s *LookupAccountAssets) Limit(Limit uint64) *LookupAccountAssets
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAccountAssets) Next ¶ added in v1.14.0
func (s *LookupAccountAssets) Next(Next string) *LookupAccountAssets
Next the next page of results. Use the next token provided by the previous results.
type LookupAccountAssetsParams ¶ added in v1.14.0
type LookupAccountAssetsParams struct { // AssetID asset ID AssetID uint64 `url:"asset-id,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` }
LookupAccountAssetsParams contains all of the query parameters for url serialization.
type LookupAccountByID ¶
type LookupAccountByID struct {
// contains filtered or unexported fields
}
LookupAccountByID lookup account information.
func (*LookupAccountByID) Do ¶
func (s *LookupAccountByID) Do(ctx context.Context, headers ...*common.Header) (validRound uint64, result models.Account, err error)
Do performs the HTTP request
func (*LookupAccountByID) Exclude ¶ added in v1.14.0
func (s *LookupAccountByID) Exclude(Exclude []string) *LookupAccountByID
Exclude exclude additional items such as asset holdings, application local data stored for this account, asset parameters created by this account, and application parameters created by this account.
func (*LookupAccountByID) IncludeAll ¶ added in v1.6.0
func (s *LookupAccountByID) IncludeAll(IncludeAll bool) *LookupAccountByID
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*LookupAccountByID) Round ¶
func (s *LookupAccountByID) Round(Round uint64) *LookupAccountByID
Round include results for the specified round.
type LookupAccountByIDParams ¶ added in v1.6.0
type LookupAccountByIDParams struct { // Exclude exclude additional items such as asset holdings, application local data // stored for this account, asset parameters created by this account, and // application parameters created by this account. Exclude []string `url:"exclude,omitempty,comma"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Round include results for the specified round. Round uint64 `url:"round,omitempty"` }
LookupAccountByIDParams contains all of the query parameters for url serialization.
type LookupAccountCreatedApplications ¶ added in v1.14.0
type LookupAccountCreatedApplications struct {
// contains filtered or unexported fields
}
LookupAccountCreatedApplications lookup an account's created application parameters, optionally for a specific ID.
func (*LookupAccountCreatedApplications) ApplicationID ¶ added in v1.14.0
func (s *LookupAccountCreatedApplications) ApplicationID(ApplicationID uint64) *LookupAccountCreatedApplications
ApplicationID application ID
func (*LookupAccountCreatedApplications) Do ¶ added in v1.14.0
func (s *LookupAccountCreatedApplications) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationsResponse, err error)
Do performs the HTTP request
func (*LookupAccountCreatedApplications) IncludeAll ¶ added in v1.14.0
func (s *LookupAccountCreatedApplications) IncludeAll(IncludeAll bool) *LookupAccountCreatedApplications
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*LookupAccountCreatedApplications) Limit ¶ added in v1.14.0
func (s *LookupAccountCreatedApplications) Limit(Limit uint64) *LookupAccountCreatedApplications
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAccountCreatedApplications) Next ¶ added in v1.14.0
func (s *LookupAccountCreatedApplications) Next(Next string) *LookupAccountCreatedApplications
Next the next page of results. Use the next token provided by the previous results.
type LookupAccountCreatedApplicationsParams ¶ added in v1.14.0
type LookupAccountCreatedApplicationsParams struct { // ApplicationID application ID ApplicationID uint64 `url:"application-id,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` }
LookupAccountCreatedApplicationsParams contains all of the query parameters for url serialization.
type LookupAccountCreatedAssets ¶ added in v1.14.0
type LookupAccountCreatedAssets struct {
// contains filtered or unexported fields
}
LookupAccountCreatedAssets lookup an account's created asset parameters, optionally for a specific ID.
func (*LookupAccountCreatedAssets) AssetID ¶ added in v1.14.0
func (s *LookupAccountCreatedAssets) AssetID(AssetID uint64) *LookupAccountCreatedAssets
AssetID asset ID
func (*LookupAccountCreatedAssets) Do ¶ added in v1.14.0
func (s *LookupAccountCreatedAssets) Do(ctx context.Context, headers ...*common.Header) (response models.AssetsResponse, err error)
Do performs the HTTP request
func (*LookupAccountCreatedAssets) IncludeAll ¶ added in v1.14.0
func (s *LookupAccountCreatedAssets) IncludeAll(IncludeAll bool) *LookupAccountCreatedAssets
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*LookupAccountCreatedAssets) Limit ¶ added in v1.14.0
func (s *LookupAccountCreatedAssets) Limit(Limit uint64) *LookupAccountCreatedAssets
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAccountCreatedAssets) Next ¶ added in v1.14.0
func (s *LookupAccountCreatedAssets) Next(Next string) *LookupAccountCreatedAssets
Next the next page of results. Use the next token provided by the previous results.
type LookupAccountCreatedAssetsParams ¶ added in v1.14.0
type LookupAccountCreatedAssetsParams struct { // AssetID asset ID AssetID uint64 `url:"asset-id,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` }
LookupAccountCreatedAssetsParams contains all of the query parameters for url serialization.
type LookupAccountTransactions ¶
type LookupAccountTransactions struct {
// contains filtered or unexported fields
}
LookupAccountTransactions lookup account transactions. Transactions are returned newest to oldest.
func (*LookupAccountTransactions) AfterTime ¶
func (s *LookupAccountTransactions) AfterTime(AfterTime time.Time) *LookupAccountTransactions
AfterTime include results after the given time. Must be an RFC 3339 formatted string.
func (*LookupAccountTransactions) AfterTimeString ¶
func (s *LookupAccountTransactions) AfterTimeString(AfterTime string) *LookupAccountTransactions
AfterTimeString include results after the given time. Must be an RFC 3339 formatted string.
func (*LookupAccountTransactions) AssetID ¶
func (s *LookupAccountTransactions) AssetID(AssetID uint64) *LookupAccountTransactions
AssetID asset ID
func (*LookupAccountTransactions) BeforeTime ¶
func (s *LookupAccountTransactions) BeforeTime(BeforeTime time.Time) *LookupAccountTransactions
BeforeTime include results before the given time. Must be an RFC 3339 formatted string.
func (*LookupAccountTransactions) BeforeTimeString ¶
func (s *LookupAccountTransactions) BeforeTimeString(BeforeTime string) *LookupAccountTransactions
BeforeTimeString include results before the given time. Must be an RFC 3339 formatted string.
func (*LookupAccountTransactions) CurrencyGreaterThan ¶
func (s *LookupAccountTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAccountTransactions
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 (*LookupAccountTransactions) CurrencyLessThan ¶
func (s *LookupAccountTransactions) CurrencyLessThan(CurrencyLessThan uint64) *LookupAccountTransactions
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 (*LookupAccountTransactions) Do ¶
func (s *LookupAccountTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
Do performs the HTTP request
func (*LookupAccountTransactions) Limit ¶
func (s *LookupAccountTransactions) Limit(Limit uint64) *LookupAccountTransactions
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAccountTransactions) MaxRound ¶
func (s *LookupAccountTransactions) MaxRound(MaxRound uint64) *LookupAccountTransactions
MaxRound include results at or before the specified max-round.
func (*LookupAccountTransactions) MinRound ¶
func (s *LookupAccountTransactions) MinRound(MinRound uint64) *LookupAccountTransactions
MinRound include results at or after the specified min-round.
func (*LookupAccountTransactions) NextToken ¶
func (s *LookupAccountTransactions) NextToken(NextToken string) *LookupAccountTransactions
NextToken the next page of results. Use the next token provided by the previous results.
func (*LookupAccountTransactions) NotePrefix ¶
func (s *LookupAccountTransactions) NotePrefix(NotePrefix []byte) *LookupAccountTransactions
NotePrefix specifies a prefix which must be contained in the note field.
func (*LookupAccountTransactions) RekeyTo ¶ added in v1.5.0
func (s *LookupAccountTransactions) RekeyTo(RekeyTo bool) *LookupAccountTransactions
RekeyTo include results which include the rekey-to field.
func (*LookupAccountTransactions) Round ¶
func (s *LookupAccountTransactions) Round(Round uint64) *LookupAccountTransactions
Round include results for the specified round.
func (*LookupAccountTransactions) SigType ¶
func (s *LookupAccountTransactions) SigType(SigType string) *LookupAccountTransactions
SigType sigType filters just results using the specified type of signature: * sig - Standard * msig - MultiSig * lsig - LogicSig
func (*LookupAccountTransactions) TXID ¶
func (s *LookupAccountTransactions) TXID(TXID string) *LookupAccountTransactions
TXID lookup the specific transaction by ID.
func (*LookupAccountTransactions) TxType ¶
func (s *LookupAccountTransactions) TxType(TxType string) *LookupAccountTransactions
TxType
type LookupAccountTransactionsParams ¶ added in v1.6.0
type LookupAccountTransactionsParams struct { // AfterTime include results after the given time. Must be an RFC 3339 formatted // string. AfterTime string `url:"after-time,omitempty"` // AssetID asset ID AssetID uint64 `url:"asset-id,omitempty"` // BeforeTime include results before the given time. Must be an RFC 3339 formatted // string. BeforeTime string `url:"before-time,omitempty"` // 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. CurrencyGreaterThan uint64 `url:"currency-greater-than,omitempty"` // 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. CurrencyLessThan uint64 `url:"currency-less-than,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // MaxRound include results at or before the specified max-round. MaxRound uint64 `url:"max-round,omitempty"` // MinRound include results at or after the specified min-round. MinRound uint64 `url:"min-round,omitempty"` // NextToken the next page of results. Use the next token provided by the previous // results. NextToken string `url:"next,omitempty"` // NotePrefix specifies a prefix which must be contained in the note field. NotePrefix string `url:"note-prefix,omitempty"` // RekeyTo include results which include the rekey-to field. RekeyTo bool `url:"rekey-to,omitempty"` // Round include results for the specified round. Round uint64 `url:"round,omitempty"` // SigType sigType filters just results using the specified type of signature: // * sig - Standard // * msig - MultiSig // * lsig - LogicSig SigType string `url:"sig-type,omitempty"` // TxType TxType string `url:"tx-type,omitempty"` // TXID lookup the specific transaction by ID. TXID string `url:"txid,omitempty"` }
LookupAccountTransactionsParams contains all of the query parameters for url serialization.
type LookupApplicationBoxByIDAndName ¶ added in v1.23.0
type LookupApplicationBoxByIDAndName struct {
// contains filtered or unexported fields
}
LookupApplicationBoxByIDAndName given an application ID and box name, returns base64 encoded box name and value. Box names must be in the goal app call arg form 'encoding:value'. For ints, use the form 'int:1234'. For raw bytes, encode base 64 and use 'b64' prefix as in 'b64:A=='. For printable strings, use the form 'str:hello'. For addresses, use the form 'addr:XYZ...'.
type LookupApplicationBoxByIDAndNameParams ¶ added in v1.23.0
type LookupApplicationBoxByIDAndNameParams struct { // Name a box name in goal-arg form 'encoding:value'. For ints, use the form // 'int:1234'. For raw bytes, use the form 'b64:A=='. For printable strings, use // the form 'str:hello'. For addresses, use the form 'addr:XYZ...'. Name string `url:"name,omitempty"` }
LookupApplicationBoxByIDAndNameParams contains all of the query parameters for url serialization.
type LookupApplicationByID ¶ added in v1.5.0
type LookupApplicationByID struct {
// contains filtered or unexported fields
}
LookupApplicationByID 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 the HTTP request
func (*LookupApplicationByID) IncludeAll ¶ added in v1.6.0
func (s *LookupApplicationByID) IncludeAll(IncludeAll bool) *LookupApplicationByID
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
type LookupApplicationByIDParams ¶ added in v1.6.0
type LookupApplicationByIDParams struct { // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` }
LookupApplicationByIDParams contains all of the query parameters for url serialization.
type LookupApplicationLogsByID ¶ added in v1.11.0
type LookupApplicationLogsByID struct {
// contains filtered or unexported fields
}
LookupApplicationLogsByID lookup application logs.
func (*LookupApplicationLogsByID) Do ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) Do(ctx context.Context, headers ...*common.Header) (response models.ApplicationLogsResponse, err error)
Do performs the HTTP request
func (*LookupApplicationLogsByID) Limit ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) Limit(Limit uint64) *LookupApplicationLogsByID
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupApplicationLogsByID) MaxRound ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) MaxRound(MaxRound uint64) *LookupApplicationLogsByID
MaxRound include results at or before the specified max-round.
func (*LookupApplicationLogsByID) MinRound ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) MinRound(MinRound uint64) *LookupApplicationLogsByID
MinRound include results at or after the specified min-round.
func (*LookupApplicationLogsByID) Next ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) Next(Next string) *LookupApplicationLogsByID
Next the next page of results. Use the next token provided by the previous results.
func (*LookupApplicationLogsByID) SenderAddress ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) SenderAddress(SenderAddress string) *LookupApplicationLogsByID
SenderAddress only include transactions with this sender address.
func (*LookupApplicationLogsByID) Txid ¶ added in v1.11.0
func (s *LookupApplicationLogsByID) Txid(Txid string) *LookupApplicationLogsByID
Txid lookup the specific transaction by ID.
type LookupApplicationLogsByIDParams ¶ added in v1.11.0
type LookupApplicationLogsByIDParams struct { // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // MaxRound include results at or before the specified max-round. MaxRound uint64 `url:"max-round,omitempty"` // MinRound include results at or after the specified min-round. MinRound uint64 `url:"min-round,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` // SenderAddress only include transactions with this sender address. SenderAddress string `url:"sender-address,omitempty"` // Txid lookup the specific transaction by ID. Txid string `url:"txid,omitempty"` }
LookupApplicationLogsByIDParams contains all of the query parameters for url serialization.
type LookupAssetBalances ¶
type LookupAssetBalances struct {
// contains filtered or unexported fields
}
LookupAssetBalances lookup the list of accounts who hold this asset
func (*LookupAssetBalances) CurrencyGreaterThan ¶
func (s *LookupAssetBalances) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAssetBalances
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 (*LookupAssetBalances) CurrencyLessThan ¶
func (s *LookupAssetBalances) CurrencyLessThan(CurrencyLessThan uint64) *LookupAssetBalances
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 (*LookupAssetBalances) Do ¶
func (s *LookupAssetBalances) Do(ctx context.Context, headers ...*common.Header) (response models.AssetBalancesResponse, err error)
Do performs the HTTP request
func (*LookupAssetBalances) IncludeAll ¶ added in v1.6.0
func (s *LookupAssetBalances) IncludeAll(IncludeAll bool) *LookupAssetBalances
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*LookupAssetBalances) Limit ¶
func (s *LookupAssetBalances) Limit(Limit uint64) *LookupAssetBalances
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAssetBalances) NextToken ¶
func (s *LookupAssetBalances) NextToken(NextToken string) *LookupAssetBalances
NextToken the next page of results. Use the next token provided by the previous results.
type LookupAssetBalancesParams ¶ added in v1.6.0
type LookupAssetBalancesParams struct { // 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. CurrencyGreaterThan uint64 `url:"currency-greater-than,omitempty"` // 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. CurrencyLessThan uint64 `url:"currency-less-than,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // NextToken the next page of results. Use the next token provided by the previous // results. NextToken string `url:"next,omitempty"` }
LookupAssetBalancesParams contains all of the query parameters for url serialization.
type LookupAssetByID ¶
type LookupAssetByID struct {
// contains filtered or unexported fields
}
LookupAssetByID lookup asset information.
func (*LookupAssetByID) Do ¶
func (s *LookupAssetByID) Do(ctx context.Context, headers ...*common.Header) (validRound uint64, result models.Asset, err error)
Do performs the HTTP request
func (*LookupAssetByID) IncludeAll ¶ added in v1.6.0
func (s *LookupAssetByID) IncludeAll(IncludeAll bool) *LookupAssetByID
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
type LookupAssetByIDParams ¶ added in v1.6.0
type LookupAssetByIDParams struct { // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` }
LookupAssetByIDParams contains all of the query parameters for url serialization.
type LookupAssetTransactions ¶
type LookupAssetTransactions struct {
// contains filtered or unexported fields
}
LookupAssetTransactions lookup transactions for an asset. Transactions are returned oldest to newest.
func (*LookupAssetTransactions) AddressRole ¶
func (s *LookupAssetTransactions) AddressRole(AddressRole string) *LookupAssetTransactions
AddressRole combine with the address parameter to define what type of address to search for.
func (*LookupAssetTransactions) AddressString ¶
func (s *LookupAssetTransactions) AddressString(AddressString string) *LookupAssetTransactions
AddressString only include transactions with this address in one of the transaction fields.
func (*LookupAssetTransactions) AfterTime ¶
func (s *LookupAssetTransactions) AfterTime(AfterTime time.Time) *LookupAssetTransactions
AfterTime include results after the given time. Must be an RFC 3339 formatted string.
func (*LookupAssetTransactions) AfterTimeString ¶
func (s *LookupAssetTransactions) AfterTimeString(AfterTime string) *LookupAssetTransactions
AfterTimeString include results after the given time. Must be an RFC 3339 formatted string.
func (*LookupAssetTransactions) BeforeTime ¶
func (s *LookupAssetTransactions) BeforeTime(BeforeTime time.Time) *LookupAssetTransactions
BeforeTime include results before the given time. Must be an RFC 3339 formatted string.
func (*LookupAssetTransactions) BeforeTimeString ¶
func (s *LookupAssetTransactions) BeforeTimeString(BeforeTime string) *LookupAssetTransactions
BeforeTimeString include results before the given time. Must be an RFC 3339 formatted string.
func (*LookupAssetTransactions) CurrencyGreaterThan ¶
func (s *LookupAssetTransactions) CurrencyGreaterThan(CurrencyGreaterThan uint64) *LookupAssetTransactions
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 (*LookupAssetTransactions) CurrencyLessThan ¶
func (s *LookupAssetTransactions) CurrencyLessThan(CurrencyLessThan uint64) *LookupAssetTransactions
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 (*LookupAssetTransactions) Do ¶
func (s *LookupAssetTransactions) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionsResponse, err error)
Do performs the HTTP request
func (*LookupAssetTransactions) ExcludeCloseTo ¶
func (s *LookupAssetTransactions) ExcludeCloseTo(ExcludeCloseTo bool) *LookupAssetTransactions
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 (*LookupAssetTransactions) Limit ¶
func (s *LookupAssetTransactions) Limit(Limit uint64) *LookupAssetTransactions
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*LookupAssetTransactions) MaxRound ¶
func (s *LookupAssetTransactions) MaxRound(MaxRound uint64) *LookupAssetTransactions
MaxRound include results at or before the specified max-round.
func (*LookupAssetTransactions) MinRound ¶
func (s *LookupAssetTransactions) MinRound(MinRound uint64) *LookupAssetTransactions
MinRound include results at or after the specified min-round.
func (*LookupAssetTransactions) NextToken ¶
func (s *LookupAssetTransactions) NextToken(NextToken string) *LookupAssetTransactions
NextToken the next page of results. Use the next token provided by the previous results.
func (*LookupAssetTransactions) NotePrefix ¶
func (s *LookupAssetTransactions) NotePrefix(NotePrefix []byte) *LookupAssetTransactions
NotePrefix specifies a prefix which must be contained in the note field.
func (*LookupAssetTransactions) RekeyTo ¶ added in v1.5.0
func (s *LookupAssetTransactions) RekeyTo(RekeyTo bool) *LookupAssetTransactions
RekeyTo include results which include the rekey-to field.
func (*LookupAssetTransactions) Round ¶
func (s *LookupAssetTransactions) Round(Round uint64) *LookupAssetTransactions
Round include results for the specified round.
func (*LookupAssetTransactions) SigType ¶
func (s *LookupAssetTransactions) SigType(SigType string) *LookupAssetTransactions
SigType sigType filters just results using the specified type of signature: * sig - Standard * msig - MultiSig * lsig - LogicSig
func (*LookupAssetTransactions) TXID ¶
func (s *LookupAssetTransactions) TXID(TXID string) *LookupAssetTransactions
TXID lookup the specific transaction by ID.
func (*LookupAssetTransactions) TxType ¶
func (s *LookupAssetTransactions) TxType(TxType string) *LookupAssetTransactions
TxType
type LookupAssetTransactionsParams ¶ added in v1.6.0
type LookupAssetTransactionsParams struct { // AddressString only include transactions with this address in one of the // transaction fields. AddressString string `url:"address,omitempty"` // AddressRole combine with the address parameter to define what type of address to // search for. AddressRole string `url:"address-role,omitempty"` // AfterTime include results after the given time. Must be an RFC 3339 formatted // string. AfterTime string `url:"after-time,omitempty"` // BeforeTime include results before the given time. Must be an RFC 3339 formatted // string. BeforeTime string `url:"before-time,omitempty"` // 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. CurrencyGreaterThan uint64 `url:"currency-greater-than,omitempty"` // 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. CurrencyLessThan uint64 `url:"currency-less-than,omitempty"` // 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. ExcludeCloseTo bool `url:"exclude-close-to,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // MaxRound include results at or before the specified max-round. MaxRound uint64 `url:"max-round,omitempty"` // MinRound include results at or after the specified min-round. MinRound uint64 `url:"min-round,omitempty"` // NextToken the next page of results. Use the next token provided by the previous // results. NextToken string `url:"next,omitempty"` // NotePrefix specifies a prefix which must be contained in the note field. NotePrefix string `url:"note-prefix,omitempty"` // RekeyTo include results which include the rekey-to field. RekeyTo bool `url:"rekey-to,omitempty"` // Round include results for the specified round. Round uint64 `url:"round,omitempty"` // SigType sigType filters just results using the specified type of signature: // * sig - Standard // * msig - MultiSig // * lsig - LogicSig SigType string `url:"sig-type,omitempty"` // TxType TxType string `url:"tx-type,omitempty"` // TXID lookup the specific transaction by ID. TXID string `url:"txid,omitempty"` }
LookupAssetTransactionsParams contains all of the query parameters for url serialization.
type LookupBlock ¶
type LookupBlock struct {
// contains filtered or unexported fields
}
LookupBlock lookup block.
func (*LookupBlock) Do ¶
func (s *LookupBlock) Do(ctx context.Context, headers ...*common.Header) (response models.Block, err error)
Do performs the HTTP request
func (*LookupBlock) HeaderOnly ¶ added in v1.22.0
func (s *LookupBlock) HeaderOnly(HeaderOnly bool) *LookupBlock
HeaderOnly header only flag. When this is set to true, returned block does not contain the transactions
type LookupBlockParams ¶ added in v1.22.0
type LookupBlockParams struct { // HeaderOnly header only flag. When this is set to true, returned block does not // contain the transactions HeaderOnly bool `url:"header-only,omitempty"` }
LookupBlockParams contains all of the query parameters for url serialization.
type LookupTransaction ¶ added in v1.6.0
type LookupTransaction struct {
// contains filtered or unexported fields
}
LookupTransaction lookup a single transaction.
func (*LookupTransaction) Do ¶ added in v1.6.0
func (s *LookupTransaction) Do(ctx context.Context, headers ...*common.Header) (response models.TransactionResponse, err error)
Do performs the HTTP request
type SearchAccounts ¶
type SearchAccounts struct {
// contains filtered or unexported fields
}
SearchAccounts search for accounts.
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
AssetID asset ID
func (*SearchAccounts) AuthAddress ¶ added in v1.5.0
func (s *SearchAccounts) AuthAddress(AuthAddress string) *SearchAccounts
AuthAddress include accounts configured to use this spending key.
func (*SearchAccounts) CurrencyGreaterThan ¶
func (s *SearchAccounts) CurrencyGreaterThan(CurrencyGreaterThan 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(CurrencyLessThan 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)
Do performs the HTTP request
func (*SearchAccounts) Exclude ¶ added in v1.14.0
func (s *SearchAccounts) Exclude(Exclude []string) *SearchAccounts
Exclude exclude additional items such as asset holdings, application local data stored for this account, asset parameters created by this account, and application parameters created by this account.
func (*SearchAccounts) IncludeAll ¶ added in v1.6.0
func (s *SearchAccounts) IncludeAll(IncludeAll bool) *SearchAccounts
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*SearchAccounts) Limit ¶
func (s *SearchAccounts) Limit(Limit uint64) *SearchAccounts
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
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
Round include results for the specified round. For performance reasons, this parameter may be disabled on some configurations. Using application-id or asset-id filters will return both creator and opt-in accounts. Filtering by include-all will return creator and opt-in accounts for deleted assets and accounts. Non-opt-in managers are not included in the results when asset-id is used.
type SearchAccountsParams ¶ added in v1.6.0
type SearchAccountsParams struct { // ApplicationId application ID ApplicationId uint64 `url:"application-id,omitempty"` // AssetID asset ID AssetID uint64 `url:"asset-id,omitempty"` // AuthAddress include accounts configured to use this spending key. AuthAddress string `url:"auth-addr,omitempty"` // 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. CurrencyGreaterThan uint64 `url:"currency-greater-than,omitempty"` // 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. CurrencyLessThan uint64 `url:"currency-less-than,omitempty"` // Exclude exclude additional items such as asset holdings, application local data // stored for this account, asset parameters created by this account, and // application parameters created by this account. Exclude []string `url:"exclude,omitempty,comma"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // NextToken the next page of results. Use the next token provided by the previous // results. NextToken string `url:"next,omitempty"` // Round include results for the specified round. For performance reasons, this // parameter may be disabled on some configurations. Using application-id or // asset-id filters will return both creator and opt-in accounts. Filtering by // include-all will return creator and opt-in accounts for deleted assets and // accounts. Non-opt-in managers are not included in the results when asset-id is // used. Round uint64 `url:"round,omitempty"` }
SearchAccountsParams contains all of the query parameters for url serialization.
type SearchForApplicationBoxes ¶ added in v1.23.0
type SearchForApplicationBoxes struct {
// contains filtered or unexported fields
}
SearchForApplicationBoxes given an application ID, returns the box names of that application sorted lexicographically.
func (*SearchForApplicationBoxes) Do ¶ added in v1.23.0
func (s *SearchForApplicationBoxes) Do(ctx context.Context, headers ...*common.Header) (response models.BoxesResponse, err error)
Do performs the HTTP request
func (*SearchForApplicationBoxes) Limit ¶ added in v1.23.0
func (s *SearchForApplicationBoxes) Limit(Limit uint64) *SearchForApplicationBoxes
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
func (*SearchForApplicationBoxes) Next ¶ added in v1.23.0
func (s *SearchForApplicationBoxes) Next(Next string) *SearchForApplicationBoxes
Next the next page of results. Use the next token provided by the previous results.
type SearchForApplicationBoxesParams ¶ added in v1.23.0
type SearchForApplicationBoxesParams struct { // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` }
SearchForApplicationBoxesParams contains all of the query parameters for url serialization.
type SearchForApplications ¶ added in v1.5.0
type SearchForApplications struct {
// contains filtered or unexported fields
}
SearchForApplications search for applications
func (*SearchForApplications) ApplicationId ¶ added in v1.5.0
func (s *SearchForApplications) ApplicationId(ApplicationId uint64) *SearchForApplications
ApplicationId application ID
func (*SearchForApplications) Creator ¶ added in v1.14.0
func (s *SearchForApplications) Creator(Creator string) *SearchForApplications
Creator filter just applications with the given creator address.
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 the HTTP request
func (*SearchForApplications) IncludeAll ¶ added in v1.6.0
func (s *SearchForApplications) IncludeAll(IncludeAll bool) *SearchForApplications
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*SearchForApplications) Limit ¶ added in v1.5.0
func (s *SearchForApplications) Limit(Limit uint64) *SearchForApplications
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
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 SearchForApplicationsParams ¶ added in v1.6.0
type SearchForApplicationsParams struct { // ApplicationId application ID ApplicationId uint64 `url:"application-id,omitempty"` // Creator filter just applications with the given creator address. Creator string `url:"creator,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Next the next page of results. Use the next token provided by the previous // results. Next string `url:"next,omitempty"` }
SearchForApplicationsParams contains all of the query parameters for url serialization.
type SearchForAssets ¶
type SearchForAssets struct {
// contains filtered or unexported fields
}
SearchForAssets search for assets.
func (*SearchForAssets) AssetID ¶
func (s *SearchForAssets) AssetID(AssetID 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 the HTTP request
func (*SearchForAssets) IncludeAll ¶ added in v1.6.0
func (s *SearchForAssets) IncludeAll(IncludeAll bool) *SearchForAssets
IncludeAll include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.
func (*SearchForAssets) Limit ¶
func (s *SearchForAssets) Limit(Limit uint64) *SearchForAssets
Limit maximum number of results to return. There could be additional pages even if the limit is not reached.
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 SearchForAssetsParams ¶ added in v1.6.0
type SearchForAssetsParams struct { // AssetID asset ID AssetID uint64 `url:"asset-id,omitempty"` // Creator filter just assets with the given creator address. Creator string `url:"creator,omitempty"` // IncludeAll include all items including closed accounts, deleted applications, // destroyed assets, opted-out asset holdings, and closed-out application // localstates. IncludeAll bool `url:"include-all,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // Name filter just assets with the given name. Name string `url:"name,omitempty"` // NextToken the next page of results. Use the next token provided by the previous // results. NextToken string `url:"next,omitempty"` // Unit filter just assets with the given unit. Unit string `url:"unit,omitempty"` }
SearchForAssetsParams contains all of the query parameters for url serialization.
type SearchForTransactions ¶
type SearchForTransactions struct {
// contains filtered or unexported fields
}
SearchForTransactions search for transactions. Transactions are returned oldest to newest unless the address parameter is used, in which case results are returned newest to oldest.
func (*SearchForTransactions) AddressRole ¶
func (s *SearchForTransactions) AddressRole(AddressRole string) *SearchForTransactions
AddressRole combine with the address parameter to define what type of address to search for.
func (*SearchForTransactions) AddressString ¶
func (s *SearchForTransactions) AddressString(AddressString string) *SearchForTransactions
AddressString only include transactions with this address in one of the transaction fields.
func (*SearchForTransactions) AfterTime ¶
func (s *SearchForTransactions) AfterTime(AfterTime time.Time) *SearchForTransactions
AfterTime include results after the given time. Must be an RFC 3339 formatted string.
func (*SearchForTransactions) AfterTimeString ¶
func (s *SearchForTransactions) AfterTimeString(AfterTime string) *SearchForTransactions
AfterTimeString include results after the given time. Must be an RFC 3339 formatted string.
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(AssetID uint64) *SearchForTransactions
AssetID asset ID
func (*SearchForTransactions) BeforeTime ¶
func (s *SearchForTransactions) BeforeTime(BeforeTime time.Time) *SearchForTransactions
BeforeTime include results before the given time. Must be an RFC 3339 formatted string.
func (*SearchForTransactions) BeforeTimeString ¶
func (s *SearchForTransactions) BeforeTimeString(BeforeTime string) *SearchForTransactions
BeforeTimeString include results before the given time. Must be an RFC 3339 formatted string.
func (*SearchForTransactions) CurrencyGreaterThan ¶
func (s *SearchForTransactions) CurrencyGreaterThan(CurrencyGreaterThan 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(CurrencyLessThan 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)
Do performs the HTTP request
func (*SearchForTransactions) ExcludeCloseTo ¶
func (s *SearchForTransactions) ExcludeCloseTo(ExcludeCloseTo 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. There could be additional pages even if the limit is not reached.
func (*SearchForTransactions) MaxRound ¶
func (s *SearchForTransactions) MaxRound(MaxRound uint64) *SearchForTransactions
MaxRound include results at or before the specified max-round.
func (*SearchForTransactions) MinRound ¶
func (s *SearchForTransactions) MinRound(MinRound uint64) *SearchForTransactions
MinRound include results at or after the specified min-round.
func (*SearchForTransactions) NextToken ¶
func (s *SearchForTransactions) NextToken(NextToken string) *SearchForTransactions
NextToken the next page of results. Use the next token provided by the previous results.
func (*SearchForTransactions) NotePrefix ¶
func (s *SearchForTransactions) NotePrefix(NotePrefix []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(Round uint64) *SearchForTransactions
Round include results for the specified round.
func (*SearchForTransactions) SigType ¶
func (s *SearchForTransactions) SigType(SigType string) *SearchForTransactions
SigType 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
TxType
type SearchForTransactionsParams ¶ added in v1.6.0
type SearchForTransactionsParams struct { // AddressString only include transactions with this address in one of the // transaction fields. AddressString string `url:"address,omitempty"` // AddressRole combine with the address parameter to define what type of address to // search for. AddressRole string `url:"address-role,omitempty"` // AfterTime include results after the given time. Must be an RFC 3339 formatted // string. AfterTime string `url:"after-time,omitempty"` // ApplicationId application ID ApplicationId uint64 `url:"application-id,omitempty"` // AssetID asset ID AssetID uint64 `url:"asset-id,omitempty"` // BeforeTime include results before the given time. Must be an RFC 3339 formatted // string. BeforeTime string `url:"before-time,omitempty"` // 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. CurrencyGreaterThan uint64 `url:"currency-greater-than,omitempty"` // 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. CurrencyLessThan uint64 `url:"currency-less-than,omitempty"` // 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. ExcludeCloseTo bool `url:"exclude-close-to,omitempty"` // Limit maximum number of results to return. There could be additional pages even // if the limit is not reached. Limit uint64 `url:"limit,omitempty"` // MaxRound include results at or before the specified max-round. MaxRound uint64 `url:"max-round,omitempty"` // MinRound include results at or after the specified min-round. MinRound uint64 `url:"min-round,omitempty"` // NextToken the next page of results. Use the next token provided by the previous // results. NextToken string `url:"next,omitempty"` // NotePrefix specifies a prefix which must be contained in the note field. NotePrefix string `url:"note-prefix,omitempty"` // RekeyTo include results which include the rekey-to field. RekeyTo bool `url:"rekey-to,omitempty"` // Round include results for the specified round. Round uint64 `url:"round,omitempty"` // SigType sigType filters just results using the specified type of signature: // * sig - Standard // * msig - MultiSig // * lsig - LogicSig SigType string `url:"sig-type,omitempty"` // TxType TxType string `url:"tx-type,omitempty"` // TXID lookup the specific transaction by ID. TXID string `url:"txid,omitempty"` }
SearchForTransactionsParams contains all of the query parameters for url serialization.
Source Files ¶
- indexer.go
- lookupAccountAppLocalStates.go
- lookupAccountAssets.go
- lookupAccountByID.go
- lookupAccountCreatedApplications.go
- lookupAccountCreatedAssets.go
- lookupAccountTransactions.go
- lookupApplicationBoxByIDandName.go
- lookupApplicationByID.go
- lookupApplicationLogsByID.go
- lookupAssetBalances.go
- lookupAssetByID.go
- lookupAssetTransactions.go
- lookupBlock.go
- lookupTransaction.go
- makeHealthCheck.go
- searchForAccounts.go
- searchForApplicationBoxes.go
- searchForApplications.go
- searchForAssets.go
- searchForTransactions.go