Documentation ¶
Index ¶
- type Client
- func (c *Client) BroadcastTransaction(ctx context.Context, rawTransaction string) error
- func (c *Client) GetBalances(ctx context.Context, addresses []string, blockNumber uint64) ([]*model.Balance, error)
- func (c *Client) GetBlock(ctx context.Context, blockNumber uint64) (*common_model.Block, error)
- func (c *Client) GetCounters(ctx context.Context, addresses []string) ([]*model.Counter, error)
- func (c *Client) GetEstimatedFee(ctx context.Context) (*model.Fees, error)
- func (c *Client) GetHeight(ctx context.Context) (*model.Height, error)
- func (c *Client) GetRawTransactionHash(ctx context.Context, rawTransaction string) (string, error)
- func (c *Client) GetTransactions(ctx context.Context, blockNumber uint64) ([]*model.Transaction, error)
- type ErrBroadcastRetryable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is tezos client.
func NewClient ¶
func NewClient(cfg config.NodeClient) (*Client, error)
NewClient returns a new tezos client.
func (*Client) BroadcastTransaction ¶
func (*Client) GetBalances ¶
func (*Client) GetCounters ¶
func (*Client) GetEstimatedFee ¶
func (*Client) GetRawTransactionHash ¶
func (*Client) GetTransactions ¶
type ErrBroadcastRetryable ¶
type ErrBroadcastRetryable struct {
// contains filtered or unexported fields
}
ErrBroadcastRetryable is a tempory error returned during transaction broadcast, e.g. mempool full.
func (*ErrBroadcastRetryable) Error ¶
func (e *ErrBroadcastRetryable) Error() string
Click to show internal directories.
Click to hide internal directories.