You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Core/EthereumNetwork/Request/APIRequest.swift
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -67,14 +67,20 @@ public typealias TransactionHash = Hash // 64 chars length without 0x
67
67
/// This protocol is just utility one, which declares some convenient initializer which have both `Int` and `BigInt` types, but don’t have any common protocol which declares such requirement.
68
68
///
69
69
/// ### Utility types
70
-
/// - `struct RequestBody: Encodable` — just a request body that passes into request body.
71
-
/// - `public enum REST: String` — enum of REST methods. Only `POST` and `GET` presented yet.
72
-
/// - `enum RequestParameter` — this enum is a request composing helper. It make happened to encode request attribute as heterogeneous array.
73
-
/// - `protocol APIRequestParameterType: Encodable` — this type is part of the ``RequestParameter`` enum mechanism which purpose is to restrict types that can be passed as associated types within `RequestParameter` cases.
74
-
/// - `protocol APIRequestParameterElementType: Encodable` — this type purpose is the same as ``APIRequestParameterType` one except this one is made for `Element`s of an `Array` s when the latter is an associated type of a given `RequestParameter` case.
70
+
/// - `struct RequestBody: Encodable` — just a request body that passes into request body.
71
+
/// - `public enum REST: String` — enum of REST methods. Only `POST` and `GET` presented yet.
72
+
/// - `enum RequestParameter` — this enum is a request composing helper. It make happened to encode request attribute as heterogeneous array.
73
+
/// - `protocol APIRequestParameterType: Encodable` — this type is part of the ``RequestParameter`` enum mechanism which purpose is to restrict types that can be passed as associated types within `RequestParameter` cases.
74
+
/// - `protocol APIRequestParameterElementType: Encodable` — this type purpose is the same as ``APIRequestParameterType` one except this one is made for `Element`s of an `Array` s when the latter is an associated type of a given `RequestParameter` case.
75
+
///
76
+
/// ## Supported Namespaces
77
+
/// - eth Namespace - https://ethereum.org/en/developers/docs/apis/json-rpc/#json-rpc-methods
78
+
/// - personal Namespace - https://geth.ethereum.org/docs/rpc/ns-personal
0 commit comments