From 237453ec457392bab01cca6712f8080dccec04c4 Mon Sep 17 00:00:00 2001 From: yslcrypto Date: Mon, 8 Feb 2021 15:00:21 +0100 Subject: [PATCH] fix api error --- docs/the_nimbus_book/src/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/the_nimbus_book/src/api.md b/docs/the_nimbus_book/src/api.md index 165824944..3fd6ed913 100644 --- a/docs/the_nimbus_book/src/api.md +++ b/docs/the_nimbus_book/src/api.md @@ -58,7 +58,7 @@ curl -d '{"jsonrpc":"2.0","method":"get_v1_beacon_states_stateId_validators","pa ### [`get_v1_beacon_states_stateId_validators_validatorId`](https://ethereum.github.io/eth2.0-APIs/#/Beacon/getStateValidator) ``` -curl -d '{"jsonrpc":"2.0","method":"get_v1_beacon_states_stateId_validators","params":["finalized", "100167"],"id":1}' -H 'Content-Type: application/json' localhost:9190 -s | jq +curl -d '{"jsonrpc":"2.0","method":"get_v1_beacon_states_stateId_validators_validatorId","params":["finalized", "100167"],"id":1}' -H 'Content-Type: application/json' localhost:9190 -s | jq ``` ### [`get_v1_beacon_states_stateId_validator_balances`](https://ethereum.github.io/eth2.0-APIs/#/Beacon/getStateValidatorBalances)