request method
Future
request({
- required String topic,
- required String chainId,
- required SessionRequestParams request,
override
Implementation
@override
Future request({
required String topic,
required String chainId,
required SessionRequestParams request,
}) async {
_checkInitialized();
await _isValidRequest(
topic,
chainId,
request,
);
return await core.pairing.sendRequest(
topic,
MethodConstants.WC_SESSION_REQUEST,
WcSessionRequestRequest(
chainId: chainId,
request: request,
),
);
}