Versions in this module Expand all Collapse all v0 v0.0.10 Mar 17, 2021 Changes in this version + type Client struct + func (_m *Client) GetPeers(_a0 context.Context) ([]*types.Peer, error) + func (_m *Client) GetRawTransaction(_a0 context.Context, _a1 string, _a2 string) (*defichain.Transaction, error) + func (_m *Client) RawMempool(_a0 context.Context) ([]string, error) + func (_m *Client) SendRawTransaction(_a0 context.Context, _a1 string) (string, error) + func (_m *Client) SuggestedFeeRate(_a0 context.Context, _a1 int64) (float64, error) + type Indexer struct + func (_m *Indexer) GetBalance(_a0 context.Context, _a1 *types.AccountIdentifier, _a2 *types.Currency, ...) (*types.Amount, *types.BlockIdentifier, error) + func (_m *Indexer) GetBlockLazy(_a0 context.Context, _a1 *types.PartialBlockIdentifier) (*types.BlockResponse, error) + func (_m *Indexer) GetBlockTransaction(_a0 context.Context, _a1 *types.BlockIdentifier, ...) (*types.Transaction, error) + func (_m *Indexer) GetCoins(_a0 context.Context, _a1 *types.AccountIdentifier) ([]*types.Coin, *types.BlockIdentifier, error) + func (_m *Indexer) GetScriptPubKeys(_a0 context.Context, _a1 []*types.Coin) ([]*defichain.ScriptPubKey, error)