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) 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) 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) 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 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) 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 SearchAccounts
- func (s *SearchAccounts) AfterAddress(after string) *SearchAccounts
- func (s *SearchAccounts) AssetID(assetID uint64) *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 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) (validRound uint64, result []models.Asset, 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) 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) 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) 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) 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) 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 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) 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 SearchAccounts ¶
type SearchAccounts struct {
// contains filtered or unexported fields
}
func (*SearchAccounts) AfterAddress ¶
func (s *SearchAccounts) AfterAddress(after string) *SearchAccounts
func (*SearchAccounts) AssetID ¶
func (s *SearchAccounts) AssetID(assetID uint64) *SearchAccounts
func (*SearchAccounts) CurrencyGreaterThan ¶
func (s *SearchAccounts) CurrencyGreaterThan(greaterThan uint64) *SearchAccounts
func (*SearchAccounts) CurrencyLessThan ¶
func (s *SearchAccounts) CurrencyLessThan(lessThan uint64) *SearchAccounts
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
func (*SearchAccounts) NextToken ¶
func (s *SearchAccounts) NextToken(nextToken string) *SearchAccounts
func (*SearchAccounts) Round ¶
func (s *SearchAccounts) Round(round uint64) *SearchAccounts
type SearchForAssets ¶
type SearchForAssets struct {
// contains filtered or unexported fields
}
func (*SearchForAssets) AssetID ¶
func (s *SearchForAssets) AssetID(id uint64) *SearchForAssets
func (*SearchForAssets) Creator ¶
func (s *SearchForAssets) Creator(creator string) *SearchForAssets
func (*SearchForAssets) Limit ¶
func (s *SearchForAssets) Limit(lim uint64) *SearchForAssets
func (*SearchForAssets) Name ¶
func (s *SearchForAssets) Name(name string) *SearchForAssets
func (*SearchForAssets) NextToken ¶
func (s *SearchForAssets) NextToken(nextToken string) *SearchForAssets
func (*SearchForAssets) Unit ¶
func (s *SearchForAssets) Unit(unit string) *SearchForAssets
type SearchForTransactions ¶
type SearchForTransactions struct {
// contains filtered or unexported fields
}
func (*SearchForTransactions) Address ¶
func (s *SearchForTransactions) Address(address types.Address) *SearchForTransactions
func (*SearchForTransactions) AddressRole ¶
func (s *SearchForTransactions) AddressRole(role string) *SearchForTransactions
func (*SearchForTransactions) AddressString ¶
func (s *SearchForTransactions) AddressString(address string) *SearchForTransactions
func (*SearchForTransactions) AfterTime ¶
func (s *SearchForTransactions) AfterTime(after time.Time) *SearchForTransactions
func (*SearchForTransactions) AfterTimeString ¶
func (s *SearchForTransactions) AfterTimeString(after string) *SearchForTransactions
func (*SearchForTransactions) AssetID ¶
func (s *SearchForTransactions) AssetID(index uint64) *SearchForTransactions
func (*SearchForTransactions) BeforeTime ¶
func (s *SearchForTransactions) BeforeTime(before time.Time) *SearchForTransactions
func (*SearchForTransactions) BeforeTimeString ¶
func (s *SearchForTransactions) BeforeTimeString(before string) *SearchForTransactions
func (*SearchForTransactions) CurrencyGreaterThan ¶
func (s *SearchForTransactions) CurrencyGreaterThan(greaterThan uint64) *SearchForTransactions
func (*SearchForTransactions) CurrencyLessThan ¶
func (s *SearchForTransactions) CurrencyLessThan(lessThan uint64) *SearchForTransactions
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
func (*SearchForTransactions) Limit ¶
func (s *SearchForTransactions) Limit(limit uint64) *SearchForTransactions
func (*SearchForTransactions) MaxRound ¶
func (s *SearchForTransactions) MaxRound(max uint64) *SearchForTransactions
func (*SearchForTransactions) MinRound ¶
func (s *SearchForTransactions) MinRound(min uint64) *SearchForTransactions
func (*SearchForTransactions) NextToken ¶
func (s *SearchForTransactions) NextToken(nextToken string) *SearchForTransactions
func (*SearchForTransactions) NotePrefix ¶
func (s *SearchForTransactions) NotePrefix(prefix []byte) *SearchForTransactions
func (*SearchForTransactions) Round ¶
func (s *SearchForTransactions) Round(rnd uint64) *SearchForTransactions
func (*SearchForTransactions) SigType ¶
func (s *SearchForTransactions) SigType(sigtype string) *SearchForTransactions
func (*SearchForTransactions) TXID ¶
func (s *SearchForTransactions) TXID(txid string) *SearchForTransactions
func (*SearchForTransactions) TxType ¶
func (s *SearchForTransactions) TxType(txtype string) *SearchForTransactions
Click to show internal directories.
Click to hide internal directories.