diff --git a/docs/developers/dapp-developer/native.md b/docs/developers/dapp-developer/native.md index fde03d39b4..84e69b84a9 100644 --- a/docs/developers/dapp-developer/native.md +++ b/docs/developers/dapp-developer/native.md @@ -62,7 +62,7 @@ _ = cl ### Interacting with the client {#interacting-with-a-client} -The client can now be used to handle requests to the Geth node using the full JSON-RPC API. For example, the function `BlockNumer()` wraps a call to the `eth_blockNumber` endpoint. The function `SendTransaction` wraps a call to `eth_sendTransaction`. The full list of client methods can be found [here](https://pkg.go.dev/github.com/ethereum/go-ethereum/ethclient#Client). +The client can now be used to handle requests to the Geth node using the full JSON-RPC API. For example, the function `BlockNumber()` wraps a call to the `eth_blockNumber` endpoint. The function `SendTransaction` wraps a call to `eth_sendTransaction`. The full list of client methods can be found [here](https://pkg.go.dev/github.com/ethereum/go-ethereum/ethclient#Client). Frequently, the functions take an instance of the `Context` type as their leading argument. This defines context about requests sent from the application such as deadlines, cancellation signals etc. More information on this can be found in the [Go documentation](https://pkg.go.dev/golang.org/x/net/context). An empty context instance can be created using `Context.Background()`.