send

Rewrites the send method to use the account provider’s EIP-1193 compliant request method

Import

1import { EthersProviderAdapter } from "@aa-sdk/ethers";

Parameters

method

any

  • the RPC method to call

params

any[]

  • the params required by the RPC method

Returns

Promise<any> the result of the RPC call