RequestId

Creates a RequestId instance using the provided string value.

Return

A RequestId instance of type StringId with the provided string value.

Parameters

value

The string representation of the request ID. This value is used to uniquely identify a request in the JSON-RPC context.


Creates a RequestId instance using the given numeric value.

Return

A RequestId.NumberId instance encapsulating the provided numeric value.

Parameters

value

The numeric value to be used for the RequestId. This should uniquely identify a request when represented as a NumberId.