Prepares a method for usage by converting it into a prepared method object.
import { prepareMethod } from "thirdweb/utils";const method = "function transfer(address to, uint256 value)";const preparedMethod = prepareMethod(method);
function prepareMethod(method: TMethod): PreparedMethod<TMethod>;
The method to prepare.
let method: TMethod;
let returnType: PreparedMethod<TMethod>;
The prepared method object.