getBlockHeight, RPC on carbium services: returns number. It costs 1 credit, and a JSON-RPC batch can hold it.
| param | type | ||
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt | minContextSlot is checked by the validator |
{"jsonrpc":"2.0","id":1,"method":"getBlockHeight","params":[]}answernumber