net_version

연결된 Ethereum 네트워크의 네트워크 ID를 반환합니다. 네트워크 ID는 Ethereum의 다양한 네트워크(예: 메인넷, 테스트넷 등)를 구분하는 데 사용됩니다. 예를 들어, Ethereum 메인넷의 네트워크 ID는 1이고, Ropsten 테스트넷은 3, Rinkeby 테스트넷은 4입니다. 이 메소드는 주로 네트워크를 식별하고, 애플리케이션이 올바른 네트워크에 연결되어 있는지 확인하는 데 사용됩니다.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required
Defaults to 1
string
required
Defaults to 2.0
string
required
Defaults to net_version
Responses

Response body
json

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
English
Powered by Localize
한국어