Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a HTTP provider, which is using the rpchttp.HTTP client under the hood. If no scheme is provided in the remote URL, http will be used by default. The 5s timeout is used for all requests.
func NewWithClient ¶
func NewWithClient(chainID string, client rpcclient.RemoteClient) provider.Provider
NewWithClient allows you to provide a custom client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.