prepareGaslessRequest

function prepareGaslessRequest(
Omit<TransactionResultWithMetadata<unknown>, "data">
>,
): Promise<
| {
body: string;
headers: { "Content-Type": string; "x-api-key": string };
method: string;
url: string;
}
| { body: string; method: string; url: string }
>;

Parameters

Type

let tx: Transaction<
Omit<TransactionResultWithMetadata<unknown>, "data">
>;

Returns

let returnType: Promise<
| {
body: string;
headers: { "Content-Type": string; "x-api-key": string };
method: string;
url: string;
}
| { body: string; method: string; url: string }
>;