json rpc qor
The qor_ namespace provides QoreChain-specific JSON-RPC methods for querying post-quantum cryptography status, AI analytics, cross-VM messaging, multi-layer state, bridge operations, tokenomics, rollup infrastructure, and reinforcement-learning consensus.
Connection
HTTP
http://localhost:8545
WebSocket
ws://localhost:8546
The qor_ namespace is served alongside eth_, web3_, net_, and txpool_ on the same ports. Enable it in app.toml:
[json-rpc]
api = "eth,web3,net,txpool,qor"Methods
qor_getPQCKeyStatus
address (string)
Returns PQC key registration status for an account
qor_getHybridSignatureMode
none
Returns current hybrid signature enforcement mode
qor_getAIStats
none
Returns aggregated AI module processing statistics
qor_getCrossVMMessage
messageId (string)
Retrieves a cross-VM message by its ID
qor_getReputationScore
validator (string)
Returns reputation score for a validator address
qor_getLayerInfo
layerId (string)
Returns metadata and status for a registered layer
qor_getBridgeStatus
chainId (string)
Returns bridge status and locked totals for a chain
qor_getRLAgentStatus
none
Returns current RL agent mode and operational status
qor_getRLObservation
none
Returns the latest RL observation vector
qor_getRLReward
none
Returns cumulative RL reward metrics
qor_getPoolClassification
validator (string)
Returns CPoS pool classification for a validator
qor_getBurnStats
none
Returns burn statistics across all channels
qor_getXQOREPosition
address (string)
Returns xQORE staking position for an address
qor_getInflationRate
none
Returns current annualized inflation rate
qor_getTokenomicsOverview
none
Returns combined burn, inflation, and supply overview
qor_getRollupStatus
rollupId (string)
Returns status and configuration for a specific rollup
qor_listRollups
none
Returns a list of all registered rollups
qor_getSettlementBatch
rollupId (string), batchIndex (int)
Returns a specific settlement batch for a rollup
qor_suggestRollupProfile
useCase (string)
AI-assisted rollup profile recommendation for a use case
qor_getDABlobStatus
rollupId (string), blobIndex (int)
Returns status of a specific DA blob
qor_getBTCStakingPosition
address (string)
Returns BTC staking position via the Babylon module
qor_getAbstractAccount
address (string)
Returns abstract account details and spending rules
qor_getFairBlockStatus
none
Returns FairBlock encryption status and configuration
qor_getGasAbstractionConfig
none
Returns accepted tokens and gas abstraction parameters
qor_getLaneConfiguration
none
Returns 5-lane TX prioritization configuration
Examples
qor_getBurnStats
Request:
Response:
qor_getRLAgentStatus
Request:
Response:
qor_getRollupStatus
Request:
Response:
Error Codes
-32600
Invalid Request
Malformed JSON-RPC request
-32601
Method not found
The method does not exist
-32602
Invalid params
Missing or invalid parameters
-32603
Internal error
Server-side processing error
-32000
Module disabled
The queried module is not enabled
-32001
Entity not found
The requested resource does not exist
