<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Bitcoin",
  "identifier" : "/documentation/Bitcoin/RPCClient/sendVoid(_:params:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Bitcoin"
    ],
    "preciseIdentifier" : "s:7Bitcoin9RPCClientC8sendVoid_6paramsySS_SayAA8RPCParamOGtYaKF"
  },
  "title" : "sendVoid(_:params:)"
}
-->

# 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.