Versions in this module Expand all Collapse all v1 v1.0.0 Jun 16, 2026 Changes in this version + func IsAPIError(e error) bool + type APIError struct + Code int64 + Message string + func (e APIError) Error() string + func (e APIError) IsValid() bool + type KeyManager interface + PrvKeyBytes func() []byte + PubKey func() gFp5.Element + PubKeyBytes func() [40]byte + func NewKeyManager(b []byte) (KeyManager, error) + type NonceManager interface + Fetch func(ctx context.Context) (int64, error) + func NewNonceManager(baseURL string, accountIndex int64, apiKeyIndex uint8) (NonceManager, error) + type Signer interface + CreateAuthToken func(accountIndex int64, keyIndex uint8, deadline time.Time) (string, error) + Sign func(message []byte, hFunc hash.Hash) ([]byte, error)