Type Parameters
- TSmartAccount extends
| undefined
| object & Assign_<
SmartAccountImplementation<Abi, EntryPointVersion, object>,
{
address: `0x${string}`;
getNonce: (parameters?: { key?: bigint }) => Promise<bigint>;
isDeployed: () => Promise<boolean>;
type: "smart";
},
> & {
address: `0x${string}`;
getNonce: (parameters?: { key?: bigint }) => Promise<bigint>;
isDeployed: () => Promise<boolean>;
type: "smart";
}
Returns Promise<Call>
A Promise resolving to a Call object with the transaction data.
Generates transaction data for setting a new threshold on a smart account.
The threshold in a multi-signature wallet determines how many owners need to approve a transaction before it can be executed. This function prepares the transaction data needed to change this threshold, but does not actually send the transaction.