Skip to main content

Making requests

Requests to Coinbase Wallet can be made using the exported WalletMobileSDKEVMProvider. Supported RPC methods are listed in the API Reference.

const provider = new WalletMobileSDKEVMProvider({
jsonRpcUrl: JSON_RPC_URL,
});

const signature = await provider.request({
method: "personal_sign",
params: [
"0x686f6c61206d756e646f",
"0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
],
});

An example request is provided in our sample application.