 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Node
- func (node *Node) Blob(ctx context.Context, height pkgTypes.Level, namespace, commitment string) (types.Blob, error)
- func (node *Node) Blobs(ctx context.Context, height pkgTypes.Level, namespaces ...string) ([]types.Blob, error)
- func (node *Node) Proofs(ctx context.Context, height pkgTypes.Level, namespace, commitment string) ([]types.Proof, error)
- func (node *Node) WithAuthToken(token string) *Node
- func (node *Node) WithJsonRpcVersion(version string) *Node
- func (node *Node) WithRateLimit(requestPerSecond int) *Node
- func (node *Node) WithStartId(id int64) *Node
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
	// contains filtered or unexported fields
}
    func (*Node) Blob ¶
func (node *Node) Blob(ctx context.Context, height pkgTypes.Level, namespace, commitment string) (types.Blob, error)
Blob - retrieves the blob by commitment under the given namespace and height.
func (*Node) Blobs ¶
func (node *Node) Blobs(ctx context.Context, height pkgTypes.Level, namespaces ...string) ([]types.Blob, error)
Blobs - returns all blobs under the given namespaces and height.
func (*Node) Proofs ¶
func (node *Node) Proofs(ctx context.Context, height pkgTypes.Level, namespace, commitment string) ([]types.Proof, error)
Proofs - retrieves proofs in the given namespaces at the given height by commitment.
func (*Node) WithAuthToken ¶
func (*Node) WithJsonRpcVersion ¶
func (*Node) WithRateLimit ¶
func (*Node) WithStartId ¶
 Click to show internal directories. 
   Click to hide internal directories.