JSON-RPC
JSON-RPC 2.0. HTTP status is 200. vaga-node applies a per-IP rate limit (default 120 requests per 1000 ms) and an in-flight cap (default 256); those failures use error code -32005. Body size defaults to 262144 bytes. Write methods take optional signer_key, nonce, signature, issued_at, and expires_at, or the node flag --allow-local-autosign. vaga-rpc-compat blocks advance_blocks, create_account, fund_agent, and bridge_finalize_transfer (-32001), proxies a fixed Substrate method list, implements a small local subset, and returns -32601 for everything else. Each request alternative is a component schema named RpcCall_<method> with x-vaga-servers and x-vaga-result.
Request Body
Content-Type: application/json · RpcCall_system_health | RpcCall_get_consensus_status | RpcCall_system_state | RpcCall_verify_runtime_invariants | RpcCall_estimate_tps_capacity | RpcCall_get_state_commitment | RpcCall_get_account_proof | RpcCall_verify_account_proof | RpcCall_list_archive_blocks | RpcCall_register_agent | RpcCall_create_account | RpcCall_fund_agent | RpcCall_faucet | RpcCall_get_balance | RpcCall_transfer | RpcCall_transfer_tokens | RpcCall_transfer_many | RpcCall_execute_batch | RpcCall_transfer_batch | RpcCall_list_transfers | RpcCall_list_runtime_events | RpcCall_get_token_stats | RpcCall_deploy_contract | RpcCall_invoke_contract | RpcCall_get_contract | RpcCall_list_contracts | RpcCall_add_validator | RpcCall_register_validator | RpcCall_validator_request_unbond | RpcCall_request_validator_unbond | RpcCall_validator_complete_unbond | RpcCall_complete_validator_unbond | RpcCall_set_validator_bls_key | RpcCall_allow_enclave_measurement | RpcCall_revoke_enclave_measurement | RpcCall_allow_oidc_provider | RpcCall_allow_saml_entity | RpcCall_allow_vc_issuer | RpcCall_fim_register_identity | RpcCall_fim_suspend_identity | RpcCall_fim_reinstate_identity | RpcCall_fim_revoke_identity | RpcCall_fim_add_delegation | RpcCall_fim_revoke_delegation | RpcCall_fim_revoke_delegation_by_grant | RpcCall_revoke_delegation | RpcCall_bind_identity | RpcCall_revoke_auth_binding | RpcCall_add_credential_reference | RpcCall_present_credential | RpcCall_register_policy_bundle | RpcCall_set_multisig_policy | RpcCall_approve_multisig_intent | RpcCall_set_default_policy | RpcCall_rotate_controller | RpcCall_update_model | RpcCall_set_policy | RpcCall_create_sla | RpcCall_accept_sla | RpcCall_submit_receipt | RpcCall_confirm_output | RpcCall_verify_receipt | RpcCall_validator_verify_receipt | RpcCall_open_dispute | RpcCall_vote | RpcCall_vote_dispute | RpcCall_vote_finality | RpcCall_settle | RpcCall_settle_sla | RpcCall_upsert_profile | RpcCall_submit_governance_proposal | RpcCall_governance_submit | RpcCall_start_governance_voting | RpcCall_governance_start_voting | RpcCall_vote_governance_proposal | RpcCall_governance_vote | RpcCall_finalize_governance_proposal | RpcCall_governance_finalize | RpcCall_execute_governance_proposal | RpcCall_governance_execute | RpcCall_emergency_cancel_governance_proposal | RpcCall_governance_emergency_cancel | RpcCall_emergency_set_kill_switch_threshold | RpcCall_governance_emergency_kill_switch_threshold | RpcCall_get_governance_proposal | RpcCall_list_governance_proposals | RpcCall_get_dao | RpcCall_list_daos | RpcCall_bridge_lock_mint | RpcCall_bridge_burn_release | RpcCall_bridge_finalize_transfer | RpcCall_bridge_finalize_transfer_threshold | RpcCall_submit_market_cap_report_threshold | RpcCall_bridge_cancel_transfer | RpcCall_get_bridge_transfer | RpcCall_list_bridge_transfers | RpcCall_bridge_watch | RpcCall_validator_record_bridge_watch | RpcCall_register_groth16_verifier | RpcCall_get_zk_verifier | RpcCall_register_rollup | RpcCall_submit_rollup_batch | RpcCall_open_rollup_challenge | RpcCall_vote_rollup_challenge | RpcCall_resolve_rollup_challenge | RpcCall_finalize_rollup_batch | RpcCall_get_rollup | RpcCall_get_rollup_batch | RpcCall_get_rollup_challenge | RpcCall_list_rollup_batches | RpcCall_get_agent | RpcCall_get_policy | RpcCall_list_agents | RpcCall_get_authorization_challenge | RpcCall_get_validator_authorization_challenge | RpcCall_get_profile | RpcCall_list_profiles | RpcCall_get_federated_identity | RpcCall_list_auth_bindings | RpcCall_list_revocations | RpcCall_list_credential_references | RpcCall_list_credential_presentations | RpcCall_list_delegations | RpcCall_advance_blocks | RpcCall_chain_getBlock | RpcCall_chain_getHeader | RpcCall_chain_getFinalizedHead | RpcCall_state_getStorage | RpcCall_state_call | RpcCall_system_chain | RpcCall_system_name | RpcCall_system_version
Responses
| Status | Description | Schema |
|---|
200 | JSON-RPC envelope. Errors are in the body. | object |
WebSocket notifications
Upgrade to WebSocket. vaga-node sends WsWelcome, then WsNewBlock, WsRuntimeEvent, and WsLagged. A text frame of ping returns WsPong. vaga-rpc-compat polls the finalized head every 2 seconds and sends WsNewBlock with block_hash and chain_id.
Responses
| Status | Description | Schema |
|---|
101 | Switching Protocols. Subsequent text frames use the WebSocket message schemas. | WsWelcome | WsNewBlock | WsRuntimeEvent | WsLagged | WsPong |