Node API
Get ledger info
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
curl -X GET "https://full.mainnet.movementinfra.xyz/v1"
{
"chain_id": 0,
"epoch": "32425224034",
"ledger_version": "32425224034",
"oldest_ledger_version": "32425224034",
"ledger_timestamp": "32425224034",
"node_role": "validator",
"oldest_block_height": "32425224034",
"block_height": "32425224034",
"git_hash": "string"
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}
{
"message": "string",
"error_code": "account_not_found",
"vm_error_code": 0
}