Skip to content

JSONRPCAPIClientRequest

bigearsenal edited this page May 17, 2022 · 1 revision

JSONRPCAPIClientRequest

public struct JSONRPCAPIClientRequest<Entity: Decodable>: APIClientRequest 

Inheritance

APIClientRequest

Initializers

init(method:params:)

public init(method: String, params: [Encodable]) 

Properties

id

public let id = UUID().uuidString

method

public let method: String

jsonrpc

public let jsonrpc = "2.0"

params

public let params: [Encodable]

Methods

encode(to:)

public func encode(to encoder: Encoder) throws 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally