Versions in this module Expand all Collapse all v0 v0.0.15 Feb 20, 2023 Changes in this version + var ErrIntegrityFailure = errors.New("received file that does not match hash") + func PPActivity(a []*chain.Activity) error + func PPInfo(info *chain.SpaceInfo) + func SignIssueRawTx(ctx context.Context, cli Client, utx chain.UnsignedTransaction, ...) (txID ids.ID, cost uint64, err error) + func SignIssueTx(ctx context.Context, cli Client, input *chain.Input, priv *ecdsa.PrivateKey, ...) (txID ids.ID, cost uint64, err error) + type Client interface + Accepted func(ctx context.Context) (ids.ID, error) + Balance func(ctx context.Context, addr common.Address) (bal uint64, err error) + Claimed func(ctx context.Context, space string) (bool, error) + Genesis func(ctx context.Context) (*chain.Genesis, error) + HasTx func(ctx context.Context, id ids.ID) (bool, error) + Info func(ctx context.Context, space string) (*chain.SpaceInfo, []*chain.KeyValueMeta, error) + IssueRawTx func(ctx context.Context, d []byte) (ids.ID, error) + IssueTx func(ctx context.Context, td *tdata.TypedData, sig []byte) (ids.ID, error) + Network func(ctx context.Context) (uint32, ids.ID, ids.ID, error) + Owned func(ctx context.Context, owner common.Address) ([]string, error) + Ping func(ctx context.Context) (bool, error) + PollTx func(ctx context.Context, txID ids.ID) (confirmed bool, err error) + RecentActivity func(ctx context.Context) ([]*chain.Activity, error) + Resolve func(ctx context.Context, path string) (exists bool, value []byte, valueMeta *chain.ValueMeta, err error) + SuggestedFee func(ctx context.Context, i *chain.Input) (*tdata.TypedData, uint64, error) + SuggestedRawFee func(ctx context.Context) (uint64, uint64, error) + func New(uri string, reqTimeout time.Duration) Client + type Op struct + type OpOption func(*Op) + func WithBalance() OpOption + func WithInfo(space string) OpOption + func WithPollTx() OpOption