x/params subspaces to the EVM, letting contracts read arbitrary module parameters by subspace and key. It is a read-only precompile deployed at a fixed address.
Address
The Params precompile is available at the following address:Interface
Params.sol
Methods
params
Returns the value of the parameter identified bysubspace and key. The value is returned as its JSON-encoded string representation.
subspace— the name of the params subspace to read from (e.g."staking").key— the parameter key within the subspace (e.g."MaxValidators").
value— the JSON-encoded value of the requested parameter.