Сүлжээнд холбогдох
Сүлжээнд холбогдох Node
Өөрийн төхөөрөмж дээрээ корэкс блокчэйний node-ий програм ажиллуулж холбогдох.
Хэдийн ассан нээлттэй node ашиглах.
Node-тэй харьцах
Request:
curl --location --request POST 'https://node.teo.mn' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'
# эсвэл
curl --location --request POST 'http://localhost:18545' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'Response:
Last updated