PaymasterAPI
an API to external a UserOperation with paymaster info
class PaymasterAPI {}
function getPaymasterAndData( userOp: Partial<UserOperationStruct>,
let returnType: { callGasLimit?: bigint; preVerificationGas?: bigint; verificationGasLimit?: bigint;} & ( | { paymasterAndData: string } | { paymaster: string; paymasterData: string; paymasterPostOpGasLimit?: bigint; paymasterVerificationGasLimit?: bigint; });
the value to put into the PaymasterAndData, undefined to leave it empty