request
Sends a POST request to the given signer route with the specified body and returns the response. Not intended to be used directly, use the specific methods instead on the client instead.
Import
import { BaseSignerClient } from "@account-kit/signer";
Parameters
route
SignerRoutes
The route to which the request should be sent
body
SignerBody<R>
The request body containing the data to be sent
Returns
Promise<SignerResponse<R>>
A promise that resolves to the response from the signer