Instance Method
sendVoid(_:params:)
Sends an RPC expected to return null. If Bitcoin Core returns a non-null string, logs .warning — may indicate the RPC’s semantics changed in a newer Core version. Fixture tests are the primary detection mechanism; this log is a secondary signal for runtime visibility.
func sendVoid(_ method: String, params: [RPCParam] = []) async throws
Parameters
-
method
-
The RPC method name.
-
params
-
The parameters to pass to the RPC method.
Discussion
Throws
RPCError (server) or transport errors.