> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Web3dart Reference

The package allows integrating [web3dart](https://pub.dev/packages/web3dart) to our [client](/react-native/client).

## Extensions

### `class DynamicRpcService extends RpcService`

```
DynamicRpcService({required this.chainId, required this.requestChannel})
```

Provides a method to make an `ethRequest` through the DynamicSDK.

| Property | Type                                                        | Description                                  |
| -------- | ----------------------------------------------------------- | -------------------------------------------- |
| `call`   | `Future<RPCResponse> call(String function, [List? params])` | Make an `ethRequest` through the DynamicSDK. |

#### `class DynamicCredential extends CredentialsWithKnownAddress implements CustomTransactionSender`

```
DynamicCredential({required this.requestChannel, required String address})
```

Provides methods to sign methods and send transactions for web3 wallets.

| Property          | Type                                                       | Description                                            |
| ----------------- | ---------------------------------------------------------- | ------------------------------------------------------ |
| `signMessage`     | `Future<String> signMessage({required Uint8List payload})` | Signs a message with `EthRequestWithAddressParams`     |
| `sendTransaction` | `Future<String> sendTransaction(Transaction transaction)`  | Sends a transaction with `EthRequestWithAddressParams` |
