Versions in this module Expand all Collapse all v1 v1.137.2 Nov 5, 2024 v1.137.1 Oct 24, 2024 Changes in this version + type Client struct + func NewClient(thorKeys *thorclient.Keys, cfg config.BifrostChainConfiguration, ...) (*Client, error) + func (c *Client) BroadcastTx(txOut stypes.TxOutItem, payload []byte) (string, error) + func (c *Client) ConfirmationCountReady(txIn types.TxIn) bool + func (c *Client) FetchMemPool(height int64) (types.TxIn, error) + func (c *Client) FetchTxs(height, chainHeight int64) (types.TxIn, error) + func (c *Client) GetAccount(pubkey common.PubKey, height *big.Int) (common.Account, error) + func (c *Client) GetAccountByAddress(address string, height *big.Int) (common.Account, error) + func (c *Client) GetAddress(pubkey common.PubKey) string + func (c *Client) GetBlockScannerHeight() (int64, error) + func (c *Client) GetChain() common.Chain + func (c *Client) GetConfig() config.BifrostChainConfiguration + func (c *Client) GetConfirmationCount(txIn types.TxIn) int64 + func (c *Client) GetHeight() (int64, error) + func (c *Client) GetLatestTxForVault(vault string) (string, string, error) + func (c *Client) IsBlockScannerHealthy() bool + func (c *Client) OnObservedTxIn(txIn types.TxInItem, blockHeight int64) + func (c *Client) RegisterPublicKey(pubkey common.PubKey) error + func (c *Client) ReportSolvency(height int64) error + func (c *Client) ShouldReportSolvency(height int64) bool + func (c *Client) SignTx(tx stypes.TxOutItem, thorchainHeight int64) ([]byte, []byte, *stypes.TxInItem, error) + func (c *Client) Start(globalTxsQueue chan types.TxIn, globalErrataQueue chan types.ErrataBlock, ...) + func (c *Client) Stop()