corepay
Version:
A unified, secure and painless self-hosted cryptocurrency payments processor.
67 lines (51 loc) • 1.21 kB
Markdown
> Probes the connected RPC provider. Returns metadata like current block height.
<br />
-
- app ***[string]*** -> app name
- core ***[string]*** -> asset core name
-
```json
{}
```
-
```json
{
"pong": "[boolean] -> true if node was reachable",
"meta": "[object]? -> additional info about returned address"
}
```
<br />
-
Current block height of node.
-
Indicates that node is presently syncing new blocks.
-
Current block height of node.
<br />
-
`POST` http://127.0.0.1:8700/mycryptomall/ping/ethereum
```json
{}
```
-
- Success `200`
```json
{
"request": "/mycryptomall/ping/ethereum",
"error": null,
"result": {
"pong": true,
"meta": {
"network": "testnet",
"syncing": true,
"blockHeight": "8848099"
}
}
}
```