Docs

Account

type Account = {
address: Address;
estimateGas?: (tx: PreparedTransaction) => Promise<bigint>;
sendBatchTransaction?: (
txs: Array<SendTransactionOption>,
) => Promise<SendTransactionResult>;
sendTransaction: (
tx: SendTransactionOption,
) => Promise<SendTransactionResult>;
signMessage: ({
message,
}: {
message: SignableMessage;
}) => Promise<Hex>;
signTransaction?: (tx: TransactionSerializable) => Promise<Hex>;
signTypedData: (
_typedData: TypedDataDefinition<typedData, primaryType>,
) => Promise<Hex>;
};