v1

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

func New

func New(baseUrl string, opts ...ApiOption) Api

func (Api) Changes

func (api Api) Changes(ctx context.Context, chainId string, opts ...celestials.ChangeOption) (changes celestials.Changes, err error)

type ApiOption

type ApiOption func(api *Api)

func WithRateLimit

func WithRateLimit(rps int) ApiOption

func WithTimeout

func WithTimeout(timeout time.Duration) ApiOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL