RpcAttribute
RpcAttribute =
object
Defined in: src/types/rpcSchema.ts:12
An attribute as the node renders it: the name, the type tag (not the wire typeId), and the
value in the JSON encoding that type prescribes — a JSON number for i32, a 0x QUANTITY for
u64 and u256, a decimal string for dec, 0x DATA for the byte-shaped types, and a string for
str.
The encoding follows the declared type, never the magnitude, so a decoder dispatches on type
and never has to guess from the shape of the value.
Properties
Section titled “Properties”name:
string
Defined in: src/types/rpcSchema.ts:13
type:
string
Defined in: src/types/rpcSchema.ts:14
value:
unknown
Defined in: src/types/rpcSchema.ts:15