# transportFromTransportConfig

```ts
function transportFromTransportConfig(__namedParameters): Transport;
```

Defined in: [packages/synapse-core/src/utils/viem.ts:31](https://github.com/FilOzone/synapse-sdk/blob/b006a8f0508ba111d0736f9a555fdb401c18990b/packages/synapse-core/src/utils/viem.ts#L31)

Create a Viem public client from a transport configuration

## Parameters

| Parameter | Type |
| ------ | ------ |
| `__namedParameters` | \{ `transportConfig?`: `TransportConfig`; \} |
| `__namedParameters.transportConfig?` | `TransportConfig` |

## Returns

`Transport`