Primitives for substrate extrinsics.
A number type that can be serialized both as a number or a string that encodes a number in a
string.
RPC parameters, originally belonging to jsonrpsee:
https://github.com/paritytech/jsonrpsee
It is copied & pasted here to avoid std dependencies.
Re-defintion of substrate primitives that do not implement
(De)Serialization in no_std. They can be converted to
the original substrate types with From / Into.
This may be omitted, if substrate allows serde impls also in no_std: https://github.com/paritytech/substrate/issues/12994
Re-defintion of substrate primitives.
Needed because substrate pallets compile to wasm in no_std.