Documentation ¶
Index ¶
- Constants
- type MetaQuery
- type NodeRunnerByIdsQuery
- type SubgraphService
- func (s *SubgraphService) Configure(url *url.URL) error
- func (s *SubgraphService) ConnectedChainId() *big.Int
- func (s *SubgraphService) GetValidatorsByRepresentative(representatives []common.Address, limit uint64) (response NodeRunnerByIdsQuery, err error)
- func (s *SubgraphService) MetaInfo() (response MetaQuery, err error)
- func (s *SubgraphService) SetConnectedChainID(chainID *big.Int)
Constants ¶
View Source
const ( InfoPath = "/info" GenerateSignaturePath = "/validator-registration" BatchGenerateSignaturePath = "/batch-validator-registration" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeRunnerByIdsQuery ¶
type SubgraphService ¶
type SubgraphService struct {
// contains filtered or unexported fields
}
func NewSubgraphService ¶
func NewSubgraphService() *SubgraphService
func (*SubgraphService) ConnectedChainId ¶
func (s *SubgraphService) ConnectedChainId() *big.Int
no need to lock as the setConfiguredChainID is called before the service is used
func (*SubgraphService) GetValidatorsByRepresentative ¶
func (s *SubgraphService) GetValidatorsByRepresentative(representatives []common.Address, limit uint64) (response NodeRunnerByIdsQuery, err error)
func (*SubgraphService) MetaInfo ¶
func (s *SubgraphService) MetaInfo() (response MetaQuery, err error)
func (*SubgraphService) SetConnectedChainID ¶
func (s *SubgraphService) SetConnectedChainID(chainID *big.Int)
Click to show internal directories.
Click to hide internal directories.