encodeMintParams

Encodes the parameters for the "encodeBytesBeforeMintERC20" function.

Example

import { encodeEncodeBytesBeforeMintERC20Params } "thirdweb/extensions/modules";
const result = encodeEncodeBytesBeforeMintERC20Params({
params: ...,
});
function encodeMintParams(
options: EncodeBytesBeforeMintERC20Params,
): `0x${string}`;

Parameters

The options for the encodeBytesBeforeMintERC20 function.

Type

let options: EncodeBytesBeforeMintERC20Params;

Returns

let returnType: `0x${string}`;

The encoded ABI parameters.